Skip to content

Commit

Permalink
test: disable hardening in icann lockup test
Browse files Browse the repository at this point in the history
  • Loading branch information
rithvikvibhu committed Aug 25, 2023
1 parent 02bb45d commit 99949f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/chain-icann-lockup-test.js
Expand Up @@ -1062,8 +1062,14 @@ async function mineBlock(node, opts = {}) {

const job = await miner.cpu.createJob(chain.tip);

// opt out of `hardening` as chain defaults to all opt-in
// and some domains in this test still use RSA-1024
job.attempt.version &= ~(1 << deployments['hardening'].bit);

if (setICANNLockup)
job.attempt.version |= (1 << deployments[SOFT_FORK_NAME].bit);
else
job.attempt.version &= ~(1 << deployments[SOFT_FORK_NAME].bit);

job.refresh();

Expand Down

0 comments on commit 99949f5

Please sign in to comment.