Skip to content

Commit

Permalink
chain contract: ADDRESS_SIZE is not used anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
vsuharnikov committed Sep 17, 2024
1 parent 58667d8 commit e383bf7
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/test/resources/main.ride
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ let WAVES = 100_000_000
let MIN_BALANCE = 20_000 * WAVES
let SEP = ","
let BLOCK_HASH_SIZE = 32
let ADDRESS_SIZE = 26
let PUBLIC_KEY_HASH_SIZE = 20
let ROOT_HASH_SIZE = 32
let WITHDRAW_PROOFS_SIZE = 10
Expand All @@ -17,17 +16,17 @@ let MAX_CL_TO_EL_TRANSFERS = 16
# 1024 symbols
let zeroesStr = "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"

let thisEpochDataKey = "thisEpochData"
let allMinersKey = "allMiners"
let mainChainIdKey = "mainChainId"
let lastChainIdKey = "lastChainId"
let firstValidAltChainIdKey = "firstValidAltChainId"
let minerRewardKey = "minerReward" # In Gwei. Changing the value is unexpected and isn't held by code
let blockMetaK = "block_0x"
let finalizedBlockKey = "finalizedBlock"
let tokenIdKey = "tokenId"
let elBridgeAddressKey = "elBridgeAddress"
let nativeTransfersCountKey = "nativeTransfersCount"
let thisEpochDataKey = "thisEpochData"
let allMinersKey = "allMiners"
let mainChainIdKey = "mainChainId"
let lastChainIdKey = "lastChainId"
let firstValidAltChainIdKey = "firstValidAltChainId"
let minerRewardKey = "minerReward" # In Gwei. Changing the value is unexpected and isn't held by code
let blockMetaK = "block_0x"
let finalizedBlockKey = "finalizedBlock"
let tokenIdKey = "tokenId"
let elBridgeAddressKey = "elBridgeAddress"
let nativeTransfersCountKey = "nativeTransfersCount"

func pad(i: Int) = {
let s = i.toString()
Expand Down

0 comments on commit e383bf7

Please sign in to comment.