Skip to content

Commit

Permalink
Update max_gas and max_coins for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Nov 15, 2023
1 parent bfaa77f commit 4d148bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/sc-deployer/src/utils/maxCoins.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { fromMAS } from '@massalabs/massa-web3';
import { ISCData } from '../interfaces';

const BASE_ACOUNT_CREATION_COST = fromMAS(0.01);
const PRICE_PER_BYTE = fromMAS(0.001);
const BASE_ACOUNT_CREATION_COST = fromMAS(0.001);
const PRICE_PER_BYTE = fromMAS(0.0001);

/**
* Estimates the value of the maxCoins maximum number of coins to that should be used while deploying a smart contract.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const __dirname = path.dirname(path.dirname(__filename));
// Additional smart contracts can be added here for deployment
],
0n, // fees for deployment
4_200_000_000n, // max gas for deployment
3_980_167_295n, // max gas for deployment
true, // if true, waits for the first event before returning
);
process.exit(0); // terminate the process after deployment(s)
Expand Down

0 comments on commit 4d148bd

Please sign in to comment.