Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion l1-contracts/test/builder/RollupBuilder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ contract RollupBuilder is Test {
}

if (address(config.coinIssuer) == address(0)) {
config.coinIssuer = new CoinIssuer(config.testERC20, 1e18, address(this));
config.coinIssuer = new CoinIssuer(config.testERC20, TestConstants.AZTEC_COIN_ISSUER_RATE, address(this));
}

if (address(config.gse) == address(0)) {
Expand Down
1 change: 1 addition & 0 deletions l1-contracts/test/harnesses/TestConstants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ library TestConstants {
uint256 internal constant AZTEC_ENTRY_QUEUE_MAX_FLUSH_SIZE = 480;
uint256 internal constant AZTEC_EXIT_DELAY_SECONDS = 2 * 24 * 60 * 60; // 2 days
EthValue internal constant AZTEC_PROVING_COST_PER_MANA = EthValue.wrap(100);
uint256 internal constant AZTEC_COIN_ISSUER_RATE = uint256(25_000_000_000e18) / uint256(60 * 60 * 24 * 365);

uint256 internal constant ACTIVATION_THRESHOLD = 100e18;
uint256 internal constant EJECTION_THRESHOLD = 50e18;
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 @@ -261,7 +261,7 @@ export const deploySharedContracts = async (

const coinIssuerAddress = await deployer.deploy(CoinIssuerArtifact, [
feeAssetAddress.toString(),
1_000_000n * 10n ** 18n, // @todo #8084
(25_000_000_000n * 10n ** 18n) / (60n * 60n * 24n * 365n),
l1Client.account.address,
]);
logger.verbose(`Deployed CoinIssuer at ${coinIssuerAddress}`);
Expand Down
Loading