cargo update

Should fix the recent CI failures re: Ethereum as well.
This commit is contained in:
Luke Parker
2024-10-09 00:39:34 -04:00
parent 435f1d9ae1
commit 599b2dec8f
13 changed files with 426 additions and 355 deletions

View File

@@ -29,21 +29,21 @@ frost = { package = "modular-frost", path = "../../crypto/frost", default-featur
alloy-core = { version = "0.8", default-features = false }
alloy-sol-types = { version = "0.8", default-features = false, features = ["json"] }
alloy-consensus = { version = "0.3", default-features = false, features = ["k256"] }
alloy-network = { version = "0.3", default-features = false }
alloy-rpc-types-eth = { version = "0.3", default-features = false }
alloy-rpc-client = { version = "0.3", default-features = false }
alloy-consensus = { version = "0.4", default-features = false, features = ["k256"] }
alloy-network = { version = "0.4", default-features = false }
alloy-rpc-types-eth = { version = "0.4", default-features = false }
alloy-rpc-client = { version = "0.4", default-features = false }
alloy-simple-request-transport = { path = "./alloy-simple-request-transport", default-features = false }
alloy-provider = { version = "0.3", default-features = false }
alloy-provider = { version = "0.4", default-features = false }
alloy-node-bindings = { version = "0.3", default-features = false, optional = true }
alloy-node-bindings = { version = "0.4", default-features = false, optional = true }
[dev-dependencies]
frost = { package = "modular-frost", path = "../../crypto/frost", default-features = false, features = ["tests"] }
tokio = { version = "1", features = ["macros"] }
alloy-node-bindings = { version = "0.3", default-features = false }
alloy-node-bindings = { version = "0.4", default-features = false }
[features]
tests = ["alloy-node-bindings", "frost/tests"]

View File

@@ -16,13 +16,13 @@ rustdoc-args = ["--cfg", "docsrs"]
workspace = true
[dependencies]
tower = "0.4"
tower = "0.5"
serde_json = { version = "1", default-features = false }
simple-request = { path = "../../../common/request", default-features = false }
alloy-json-rpc = { version = "0.3", default-features = false }
alloy-transport = { version = "0.3", default-features = false }
alloy-json-rpc = { version = "0.4", default-features = false }
alloy-transport = { version = "0.4", default-features = false }
[features]
default = ["tls"]

View File

@@ -39,7 +39,7 @@ impl Deployer {
nonce: 0,
gas_price: 100_000_000_000u128,
// TODO: Use a more accurate gas limit
gas_limit: 1_000_000u128,
gas_limit: 1_000_000,
to: TxKind::Create,
value: U256::ZERO,
input: bytecode,

View File

@@ -226,7 +226,7 @@ impl Router {
to: TxKind::Call(self.1),
input: abi::executeCall::new((outs.to_vec(), sig.into())).abi_encode().into(),
// TODO
gas_limit: 100_000 + ((200_000 + 10_000) * u128::try_from(outs.len()).unwrap()),
gas_limit: 100_000 + ((200_000 + 10_000) * u64::try_from(outs.len()).unwrap()),
..Default::default()
}
}