From e158fa3b61379e76d461e997ed3b507368700c81 Mon Sep 17 00:00:00 2001 From: Iris Devillars Date: Mon, 4 Nov 2024 14:01:06 +0000 Subject: [PATCH] feat: update contract address --- src/UtuProvider.ts | 2 +- src/tests/UtuProvider.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/UtuProvider.ts b/src/UtuProvider.ts index 313a703..b30b0d5 100644 --- a/src/UtuProvider.ts +++ b/src/UtuProvider.ts @@ -4,7 +4,7 @@ import { BlockHeader } from "./BitcoinTypes"; import { BigNumberish, byteArray, ByteArray } from "starknet"; const CONTRACT_ADDRESS = - "0x057E8e978742D4189D9c1e4171F92D7b2b533a747a4F1d1e7847D52e53464675"; + "0x064e21f88caa162294fdda7f73d67ad09b81419e97df3409a5eb13ba39b88c31"; // Helper function to convert to little-endian hex const toLittleEndianHex = (num: number): string => { diff --git a/src/tests/UtuProvider.test.ts b/src/tests/UtuProvider.test.ts index af9f02e..3e561cf 100644 --- a/src/tests/UtuProvider.test.ts +++ b/src/tests/UtuProvider.test.ts @@ -48,8 +48,8 @@ describe("UtuProvider", () => { expect(registerBlocksTx).toBeDefined(); expect(registerBlocksTx.contractAddress).toBe( - "0x034838129702a2f071cd8cf9277d2f2f2dac3284c2217d9e2e076624fb5afc2f" - ); // todo: eplace with actual contract address + "0x064e21f88caa162294fdda7f73d67ad09b81419e97df3409a5eb13ba39b88c31" + ); expect(registerBlocksTx.selector).toBe( "0x00afd92eeac2cdc892d6323dd051eaf871b8d21df8933ce111c596038eb3afd3" );