-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make changes required by gmp api. #262
base: master
Are you sure you want to change the base?
Conversation
dvc94ch
commented
Oct 14, 2024
- mnemonic instead of keyfile
- balance takes an address
- static lifetime finalized block stream
- mnemonic instead of keyfile - balance takes an address - static lifetime finalized block stream
rosetta-client/src/lib.rs
Outdated
@@ -53,6 +58,8 @@ pub enum Blockchain { | |||
Avalanche, | |||
/// Base | |||
Base, | |||
/// Anvil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anvil is not a blockchain. I'd better leave the connector as is, and make required changes in evm backend, specifically here to pass in a private key
rosetta-client/src/client.rs
Outdated
| Blockchain::Avalanche => { | ||
let private_key = if blockchain == Blockchain::Anvil { | ||
Some(hex_literal::hex![ | ||
"ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no please dont