From ec7a0a621f5d81ae156486f57dde40a1f4a3d664 Mon Sep 17 00:00:00 2001 From: thiagodeev Date: Fri, 24 May 2024 09:10:37 -0300 Subject: [PATCH] Fixed TestCall --- rpc/call_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc/call_test.go b/rpc/call_test.go index 727982a7..d2d62572 100644 --- a/rpc/call_test.go +++ b/rpc/call_test.go @@ -60,12 +60,12 @@ func TestCall(t *testing.T) { "testnet": { { FunctionCall: FunctionCall{ - ContractAddress: utils.TestHexToFelt(t, "0x05C0f2F029693e7E3A5500710F740f59C5462bd617A48F0Ed14b6e2d57adC2E9"), - EntryPointSelector: utils.TestHexToFelt(t, "0x004c4fb1ab068f6039d5780c68dd0fa2f8742cceb3426d19667778ca7f3518a9"), + ContractAddress: utils.TestHexToFelt(t, "0x025633c6142D9CA4126e3fD1D522Faa6e9f745144aba728c0B3FEE38170DF9e7"), + EntryPointSelector: utils.GetSelectorFromNameFelt("name"), Calldata: []*felt.Felt{}, }, - BlockID: WithBlockNumber(57885), - ExpectedPatternResult: utils.TestHexToFelt(t, "0x12"), + BlockID: WithBlockTag("latest"), + ExpectedPatternResult: utils.TestHexToFelt(t, "0x506f736974696f6e"), }, }, "mainnet": {