diff --git a/packages/sc-deployer/src/utils/maxCoins.ts b/packages/sc-deployer/src/utils/maxCoins.ts index ea42a2d8..bb93270b 100644 --- a/packages/sc-deployer/src/utils/maxCoins.ts +++ b/packages/sc-deployer/src/utils/maxCoins.ts @@ -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. diff --git a/packages/sc-project-initializer/commands/init/src/deploy.ts b/packages/sc-project-initializer/commands/init/src/deploy.ts index 99506b5d..92e655e4 100644 --- a/packages/sc-project-initializer/commands/init/src/deploy.ts +++ b/packages/sc-project-initializer/commands/init/src/deploy.ts @@ -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)