-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Aptos Client #1
base: main
Are you sure you want to change the base?
Conversation
4d0f0e1
to
93a27bd
Compare
Cargo.toml
Outdated
@@ -17,6 +17,7 @@ members = [ | |||
"crates/primitives/state_update", | |||
"crates/primitives/utils", | |||
"crates/tests", | |||
"crates/client/aptos", |
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.
rearrange it to near crates/client
license.workspace = true | ||
|
||
[dependencies] | ||
alloy = { workspace = true} |
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.
why we need alloy here? on Aptos?
crates/client/aptos/src/client.rs
Outdated
l1_block_number: registry | ||
.register(Gauge::new("deoxys_l1_block_number", "Gauge for deoxys L1 block number")?)?, | ||
|
||
l1_gas_price_wei: registry.register(Gauge::new("deoxys_l1_gas_price", "Gauge for deoxys L1 gas price")?)?, |
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.
it should be l1_gas_price_octas? (minium unit in Aptos)
} | ||
} | ||
|
||
impl AptosClient { |
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.
maybe we should define trait for swapping out between many types of Client easier
@Tranduy1dol we need to add
to |
9c6c8b8
to
fe4bb74
Compare
a641c9e
to
ff84fd4
Compare
3892f0d
to
2739c9c
Compare
f05ecd9
to
4125ee2
Compare
00e459a
to
25f19ba
Compare
4024921
to
0060dab
Compare
0060dab
to
0f0be56
Compare
Pull Request type
Please add the labels corresponding to the type of changes your PR introduces:
What is the current behavior?
Resolves: #NA
What is the new behavior?
Does this introduce a breaking change?
Other information