Skip to content

Commit

Permalink
feat: add hederaReserve test
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel_LZPF <[email protected]>
  • Loading branch information
MiguelLZPF committed Feb 5, 2025
1 parent 2b45461 commit 5fdebd3
Show file tree
Hide file tree
Showing 4 changed files with 411 additions and 392 deletions.
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"test:wipeable": "npx hardhat test test/wipeable.test.ts",
"test:stableCoinFactory": "npx hardhat test test/stableCoinFactory.ts",
"test:reserve": "npx hardhat test test/reserve.ts",
"test:hederaReserve": "npx hardhat test test/hederaReserve.ts",
"test:hederaReserve": "npx hardhat test test/hederaReserve.test.ts",
"clean": "npx hardhat clean",
"clean:all": "rimraf artifacts cache coverage node_modules build typechain-types && npm run clean",
"size": "npx hardhat size-contracts",
Expand Down
10 changes: 10 additions & 0 deletions contracts/scripts/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ export const GAS_LIMIT = {
proxyAdmin: {
upgrade: 150_000n,
},
hederaReserve: {
initialize: 130_000n,
setAdmin: 1_800_000n,
setAmount: 60_000n,
// Read
latestRoundData: 60_000n,
decimals: 60_000n,
description: 60_000n,
version: 60_000n,
},
}

export const RESCUE_HBAR_GAS = 70000
Expand Down
Loading

0 comments on commit 5fdebd3

Please sign in to comment.