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

feat(pool): update pool to use alloy types #810

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion crates/pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ repository.workspace = true
publish = false

[dependencies]
rundler-contracts = { path = "../contracts" }
rundler-provider = { path = "../provider" }
rundler-sim = { path = "../sim" }
rundler-task = { path = "../task" }
rundler-types = { path = "../types" }
rundler-utils = { path = "../utils" }

alloy-primitives.workspace = true
alloy-sol-types.workspace = true

anyhow.workspace = true
async-stream = "0.3.5"
async-trait.workspace = true
ethers.workspace = true
futures.workspace = true
futures-util.workspace = true
itertools.workspace = true
Expand Down
8 changes: 6 additions & 2 deletions crates/pool/proto/op_pool/op_pool.proto
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ message GetStakeStatusSuccess {
}

message StakeInfo {
uint64 stake = 1;
bytes stake = 1;
uint32 unstake_delay_sec= 2;
}

Expand Down Expand Up @@ -708,7 +708,7 @@ message NotStaked {
bytes accessed_address = 4;
bytes slot = 5;
bytes min_stake = 6;
bytes min_unstake_delay = 7;
uint32 min_unstake_delay = 7;
}

message UnintendedRevert {
Expand Down Expand Up @@ -752,6 +752,7 @@ message ValidationRevert {
EntryPointRevert entry_point = 1;
OperationRevert operation = 2;
UnknownRevert unknown = 3;
PanicRevert panic = 4;
}
}
message EntryPointRevert {
Expand All @@ -765,6 +766,9 @@ message OperationRevert {
message UnknownRevert {
bytes revert_bytes = 1;
}
message PanicRevert {
bytes code = 1;
}

message AccessedUnsupportedContractType {
string contract_type = 1;
Expand Down
Loading
Loading