Skip to content

Commit

Permalink
fix: update node params needed for fast withdrawal (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
TucksonDev authored Sep 10, 2024
1 parent 5fb2533 commit 15e0ddd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/setup-fast-withdrawal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,15 @@ async function main() {

// Batch poster configuration
const timeDelay = getTimeDelayFromNumberOfBlocks(parentChain.id, minimumAssertionPeriod);
console.log('Your batch poster has to run at least nitro v3.1.1');
console.log('Your batch poster has to run at least nitro v3.1.2');
console.log('Add the following parameter:');
console.log(`--node.batch-poster.max-delay=${timeDelay}`);
console.log('');

// Validator configuration
console.log('Your validators have to run at least nitro v3.1.1');
console.log('Your validators have to run at least nitro v3.1.2');
console.log('Add the following parameters:');
console.log(`--node.staker.enable-fast-confirmation=true`);
console.log(`--node.staker.fast-confirm-safe-address=${safeAddress}`);
console.log(`--node.staker.make-assertion-interval=${timeDelay}`);
console.log('');

Expand Down

0 comments on commit 15e0ddd

Please sign in to comment.