From 2d08edb729dd3f5d0574f5b44ba6e80f682c41f5 Mon Sep 17 00:00:00 2001 From: zerosnacks Date: Mon, 10 Jun 2024 17:12:03 +0200 Subject: [PATCH 1/2] bump to 0.7.6, fix test --- Cargo.toml | 10 +++++----- crates/contract/src/call.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 77845b67f33..2daf39dc0c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,11 +62,11 @@ alloy-transport-ws = { version = "0.1.0", default-features = false, path = "crat test-utils = { version = "0.1.0", default-features = false, path = "crates/internal-test-utils", package = "alloy-internal-test-utils" } -alloy-core = { version = "0.7.2", default-features = false } -alloy-dyn-abi = { version = "0.7.2", default-features = false } -alloy-json-abi = { version = "0.7.2", default-features = false } -alloy-primitives = { version = "0.7.2", default-features = false } -alloy-sol-types = { version = "0.7.2", default-features = false } +alloy-core = { version = "0.7.6", default-features = false } +alloy-dyn-abi = { version = "0.7.6", default-features = false } +alloy-json-abi = { version = "0.7.6", default-features = false } +alloy-primitives = { version = "0.7.6", default-features = false } +alloy-sol-types = { version = "0.7.6", default-features = false } alloy-rlp = { version = "0.3", default-features = false } diff --git a/crates/contract/src/call.rs b/crates/contract/src/call.rs index da487a8d082..0b40a487089 100644 --- a/crates/contract/src/call.rs +++ b/crates/contract/src/call.rs @@ -718,7 +718,7 @@ mod tests { let my_state_builder = my_contract.myState(); assert_eq!(my_state_builder.calldata()[..], MyContract::myStateCall {}.abi_encode(),); let result: MyContract::myStateReturn = my_state_builder.call().await.unwrap(); - assert!(result._0); + assert!(result.myState); let do_stuff_builder = my_contract.doStuff(U256::from(0x69), true); assert_eq!( From 08fe9afd6a07143d5e7f1c762e34a565ec1dd1c3 Mon Sep 17 00:00:00 2001 From: zerosnacks Date: Mon, 10 Jun 2024 17:22:59 +0200 Subject: [PATCH 2/2] add Unicode-3.0 license as allowed --- deny.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/deny.toml b/deny.toml index 7d08a363263..c3c1bf96f03 100644 --- a/deny.toml +++ b/deny.toml @@ -22,6 +22,7 @@ allow = [ "BSD-3-Clause", "0BSD", "ISC", + "Unicode-3.0", "Unicode-DFS-2016", "Unlicense", "MPL-2.0",