From e3898d503d9a9e00690d99796d8b58c11a4d18a2 Mon Sep 17 00:00:00 2001 From: perekopskiy Date: Thu, 14 Nov 2024 11:51:15 +0200 Subject: [PATCH] fix abi --- core/lib/contracts/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/contracts/src/lib.rs b/core/lib/contracts/src/lib.rs index f387f791be1..5626b704096 100644 --- a/core/lib/contracts/src/lib.rs +++ b/core/lib/contracts/src/lib.rs @@ -1442,7 +1442,7 @@ pub static POST_SHARED_BRIDGE_EXECUTE_FUNCTION: Lazy = Lazy::new(|| { // Temporary thing, should be removed when new contracts are merged. pub static MESSAGE_ROOT_CONTRACT: Lazy = Lazy::new(|| { let abi = r#" - { + [{ "inputs": [ { "internalType": "uint256", @@ -1460,6 +1460,6 @@ pub static MESSAGE_ROOT_CONTRACT: Lazy = Lazy::new(|| { ], "stateMutability": "view", "type": "function" - }"#; + }]"#; serde_json::from_str(abi).unwrap() });