From f69be7ac731290aa7ece5ebb6493e0a49d076262 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 4 Nov 2023 09:18:33 +0100 Subject: [PATCH 1/2] chore: bump alloy --- Cargo.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0b06e1417b46..404ae71b8d07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -79,7 +79,7 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "alloy-dyn-abi" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -99,7 +99,7 @@ dependencies = [ [[package]] name = "alloy-json-abi" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -110,7 +110,7 @@ dependencies = [ [[package]] name = "alloy-primitives" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "alloy-rlp", "arbitrary", @@ -156,7 +156,7 @@ dependencies = [ [[package]] name = "alloy-sol-macro" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "const-hex", "dunce", @@ -173,7 +173,7 @@ dependencies = [ [[package]] name = "alloy-sol-type-parser" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "winnow", ] @@ -181,7 +181,7 @@ dependencies = [ [[package]] name = "alloy-sol-types" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "alloy-primitives", "alloy-sol-macro", @@ -6815,7 +6815,7 @@ dependencies = [ [[package]] name = "syn-solidity" version = "0.4.2" -source = "git+https://github.com/alloy-rs/core/#919a338fd452f6fbbf83193a1ba240961efd12c5" +source = "git+https://github.com/alloy-rs/core/#e76158bb83644e042c4e55c4a382aeb389ae748b" dependencies = [ "paste", "proc-macro2", From 3d0cc7615e3a82b05a24853816d4447f4cec6199 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 4 Nov 2023 09:38:29 +0100 Subject: [PATCH 2/2] update tests --- crates/cast/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/cast/src/lib.rs b/crates/cast/src/lib.rs index eff98be4eae2..376ad966d9c7 100644 --- a/crates/cast/src/lib.rs +++ b/crates/cast/src/lib.rs @@ -1594,8 +1594,8 @@ impl SimpleCast { /// use cast::SimpleCast as Cast; /// /// assert_eq!( - /// "0x693c61390000000000000000000000000000000000000000000000000000000000000001", - /// Cast::calldata_encode("f(uint a)", &["1"]).unwrap().as_str() + /// "0xb3de648b0000000000000000000000000000000000000000000000000000000000000001", + /// Cast::calldata_encode("f(uint256 a)", &["1"]).unwrap().as_str() /// ); /// # Ok::<_, eyre::Report>(()) /// ``` @@ -2015,8 +2015,8 @@ mod tests { #[test] fn calldata_uint() { assert_eq!( - "0x693c61390000000000000000000000000000000000000000000000000000000000000001", - Cast::calldata_encode("f(uint a)", &["1"]).unwrap().as_str() + "0xb3de648b0000000000000000000000000000000000000000000000000000000000000001", + Cast::calldata_encode("f(uint256 a)", &["1"]).unwrap().as_str() ); }