Skip to content

Commit

Permalink
chore: Increase initial fee juice mint (#11369)
Browse files Browse the repository at this point in the history
Increases the initial mint by 3 orders of magnitude.
  • Loading branch information
spalladino authored Jan 21, 2025
1 parent 94012b5 commit bca7052
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l1-contracts/src/core/libraries/ConstantsGen.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ library Constants {
20646204262468251631976884937192820660867507115079672078981654411421834866549;
uint256 internal constant GENESIS_ARCHIVE_ROOT =
1002640778211850180189505934749257244705296832326768971348723156503780793518;
uint256 internal constant FEE_JUICE_INITIAL_MINT = 200000000000000000000;
uint256 internal constant FEE_JUICE_INITIAL_MINT = 200000000000000000000000;
uint256 internal constant PUBLIC_DISPATCH_SELECTOR = 3578010381;
uint256 internal constant MAX_PACKED_PUBLIC_BYTECODE_SIZE_IN_FIELDS = 3000;
uint256 internal constant MAX_PACKED_BYTECODE_SIZE_PER_PRIVATE_FUNCTION_IN_FIELDS = 3000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub global GENESIS_ARCHIVE_ROOT: Field =
0x0237797d6a2c04d20d4fa06b74482bd970ccd51a43d9b05b57e9b91fa1ae1cae;
// The following and the value in `deploy_l1_contracts` must match. We should not have the code both places, but
// we are running into circular dependency issues. #3342
pub global FEE_JUICE_INITIAL_MINT: Field = 200000000000000000000;
pub global FEE_JUICE_INITIAL_MINT: Field = 200000000000000000000000;
// Last 4 bytes of the Poseidon2 hash of 'public_dispatch(Field)'.
pub global PUBLIC_DISPATCH_SELECTOR: Field = 0xd5441b0d;

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/circuits.js/src/constants.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const PRIVATE_LOG_SIZE_IN_FIELDS = 18;
export const AZTEC_MAX_EPOCH_DURATION = 48;
export const GENESIS_BLOCK_HASH = 20646204262468251631976884937192820660867507115079672078981654411421834866549n;
export const GENESIS_ARCHIVE_ROOT = 1002640778211850180189505934749257244705296832326768971348723156503780793518n;
export const FEE_JUICE_INITIAL_MINT = 200000000000000000000n;
export const FEE_JUICE_INITIAL_MINT = 200000000000000000000000n;
export const PUBLIC_DISPATCH_SELECTOR = 3578010381;
export const MAX_PACKED_PUBLIC_BYTECODE_SIZE_IN_FIELDS = 3000;
export const MAX_PACKED_BYTECODE_SIZE_PER_PRIVATE_FUNCTION_IN_FIELDS = 3000;
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/ethereum/src/deploy_l1_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export const deployL1Contracts = async (
// because there is circular dependency hell. This is a temporary solution. #3342
// @todo #8084
// fund the portal contract with Fee Juice
const FEE_JUICE_INITIAL_MINT = 200000000000000000000n;
const FEE_JUICE_INITIAL_MINT = 200000000000000000000000n;
const mintTxHash = await feeAsset.write.mint([feeJuicePortalAddress.toString(), FEE_JUICE_INITIAL_MINT], {} as any);

// @note This is used to ensure we fully wait for the transaction when running against a real chain
Expand Down

0 comments on commit bca7052

Please sign in to comment.