Skip to content

Commit

Permalink
feat(pool): update pool to use alloy types
Browse files Browse the repository at this point in the history
  • Loading branch information
dancoombs committed Sep 24, 2024
1 parent 3a40a12 commit c5adf2d
Show file tree
Hide file tree
Showing 21 changed files with 702 additions and 595 deletions.
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

0 comments on commit c5adf2d

Please sign in to comment.