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

@@ -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()
}
}