Skip to content

Commit

Permalink
feat: update contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Nov 4, 2024
1 parent e3e1e94 commit e158fa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/UtuProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down
4 changes: 2 additions & 2 deletions src/tests/UtuProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
Expand Down

0 comments on commit e158fa3

Please sign in to comment.