Skip to content

Commit

Permalink
zilliqa change gas limit
Browse files Browse the repository at this point in the history
  • Loading branch information
a-novi committed Oct 23, 2023
1 parent eda141a commit a078213
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/blockchain/zilliqa/contracts/staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,11 @@ export class Staking {

// TODO: check this with ZILLIQA team
let gasLimitBasedOnCycles = 3450; // default value
if (nrCyclesPassed >= 365) {
if (nrCyclesPassed >= 1095) {
gasLimitBasedOnCycles = 300000;
} else if (nrCyclesPassed >= 730) {
gasLimitBasedOnCycles = 200000;
} else if (nrCyclesPassed >= 365) {
gasLimitBasedOnCycles = 100000;
} else if (nrCyclesPassed >= 180) {
gasLimitBasedOnCycles = 30000;
Expand Down

0 comments on commit a078213

Please sign in to comment.