From 7e7d0208f1bc52fdb7f5e4c50a3e98ceafe0af0f Mon Sep 17 00:00:00 2001 From: zerosnacks <95942363+zerosnacks@users.noreply.github.com> Date: Mon, 10 Jun 2024 17:35:44 +0200 Subject: [PATCH] chore(deps): bump `alloy-core` to `0.7.6` (latest), fix broken test and violated deny (#862) * bump to 0.7.6, fix test * add Unicode-3.0 license as allowed --- Cargo.toml | 10 +++++----- crates/contract/src/call.rs | 2 +- deny.toml | 1 + 3 files changed, 7 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 8cf55563087..a47517ecbf1 100644 --- a/crates/contract/src/call.rs +++ b/crates/contract/src/call.rs @@ -805,7 +805,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!( 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",