Skip to content

Commit

Permalink
Use proper hard coded gas limits (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenStueber authored Aug 19, 2024
1 parent 3b5be5b commit 6fff196
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/helpers/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ export const defaultWriteLimits: Limits = {
};

export const createWriteOptions = (api: ApiPromise, opts?: ContractOptions) => ({
gasLimit: api.createType('WeightV2', {
refTime: '18000000000',
proofSize: '1750000',
}),
gas: {
refTime: '130000000000',
proofSize: '1300000',
},
storageDepositLimit: null,
...opts,
});
Expand Down

0 comments on commit 6fff196

Please sign in to comment.