Skip to content

Commit 8d0da2b

Browse files
feat(apollo_starknet_os_program): hex contract addresses in constants.cairo
1 parent 5eccbcd commit 8d0da2b

File tree

1 file changed

+3
-3
lines changed
  • crates/apollo_starknet_os_program/src/cairo/starkware/starknet/core/os

1 file changed

+3
-3
lines changed

crates/apollo_starknet_os_program/src/cairo/starkware/starknet/core/os/constants.cairo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ const DEFAULT_ENTRY_POINT_SELECTOR = 0x0;
5656
// OS reserved contract addresses.
5757

5858
// This contract stores the block number -> block hash mapping.
59-
const BLOCK_HASH_CONTRACT_ADDRESS = 1;
59+
const BLOCK_HASH_CONTRACT_ADDRESS = 0x1;
6060
// This contract stores the aliases mapping used for stateful compression.
61-
const ALIAS_CONTRACT_ADDRESS = 2;
61+
const ALIAS_CONTRACT_ADDRESS = 0x2;
6262
// Future reserved contract address.
63-
const RESERVED_CONTRACT_ADDRESS = 3;
63+
const RESERVED_CONTRACT_ADDRESS = 0x3;
6464
// The block number -> block hash mapping is written for the current block number minus this number.
6565
const STORED_BLOCK_HASH_BUFFER = 10;
6666

0 commit comments

Comments
 (0)