Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(hotfix) fix conversion price #156

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

shreifabdallah
Copy link
Contributor

@shreifabdallah shreifabdallah commented Aug 16, 2024

What changed? Why?

  • Correcting the conversion price function to not divide by 100

Testing notes

  • tested locally via make repl

Results show correct conversion price for ETH

USD value: 0.361e1, Conversion price: 0.2971e4, Conversion time: 2024-05-02 00:09:00 UTC
USD value: 0.203e1, Conversion price: 0.2984e4, Conversion time: 2024-05-03 00:09:00 UTC
USD value: 0.226e1, Conversion price: 0.3103e4, Conversion time: 2024-05-04 00:09:00 UTC
USD value: 0.213e1, Conversion price: 0.3116e4, Conversion time: 2024-05-05 00:09:00 UTC

Qualified Impact

@shreifabdallah shreifabdallah merged commit fb5aa64 into v0.1.0 Aug 19, 2024
8 checks passed
@shreifabdallah shreifabdallah deleted the hotfix-usd-conversion branch August 19, 2024 13:01
@alex-stone alex-stone mentioned this pull request Aug 22, 2024
alex-stone added a commit that referenced this pull request Aug 22, 2024
### What changed? Why?

## [0.1.0] - 2024-08-22

- Add support for listing historical balances for a wallet, defaulting
to the
historical_balances function for wallet: listing historical balances for
default address of the wallet.
- Expose all networks as constants, e.g.
`Coinbase::Network::ETHEREUM_MAINNET`
- Add support for managing Webhooks.
- Add support for listing smart contract events.
- Add support for Dedicated ETH Staking for wallet addresses

### Breaking Changes
- All method signatures that took a `network_id` now take a `network`
that can be either a network constant (e.g.
`Coinbase::Network::BASE_MAINNET`) or a network ID (e.g.
`:base_mainnet`)

### Added

- Add to_address_id method to Transaction class
- Remove "pending" status from staking operation status

#148
#140
#154
#149
#156
#136
#150
#153
#138
#158
#155
#161
#157

#### Qualified Impact
<!-- Please evaluate what components could be affected and what the
impact would be if there was an
error. How would this error be resolved, e.g. rollback a deploy, push a
new fix, disable a feature
flag, etc... -->

---------

Co-authored-by: Chaoya Ji <chaoya.ji@coinbase.com>
Co-authored-by: xinyu-li-cb <142266583+xinyu-li-cb@users.noreply.github.com>
Co-authored-by: Rohit Durvasula <rohit.durvasula@coinbase.com>
Co-authored-by: Rohit Durvasula <88731568+drohit-cb@users.noreply.github.com>
Co-authored-by: CJ_Andy <109100734+chaoyaji-cb@users.noreply.github.com>
Co-authored-by: Shreif Abdallah <shreif.abdallah@coinbase.com>
Co-authored-by: shreifabdallah <129977880+shreifabdallah@users.noreply.github.com>
Co-authored-by: jinghanx <jinghanx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants