Skip to content

Commit

Permalink
Merge pull request #524 from eco-stake/actually-add-dryrun-script
Browse files Browse the repository at this point in the history
Allow dryrun script in .gitignore
  • Loading branch information
tombeynon authored Jun 14, 2022
2 parents d77508f + 8e5c8c3 commit a9d53c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ scripts/*
!scripts/autostake.mjs
!scripts/base.mjs
!scripts/checkAuthz.mjs
!scripts/dryrun.mjs

# dependencies
/node_modules
Expand Down
5 changes: 5 additions & 0 deletions scripts/dryrun.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Autostake } from "./base.mjs";

const autostake = new Autostake({ dryRun: true });
const networkName = process.argv.slice(2, process.argv.length)
autostake.run(networkName)

0 comments on commit a9d53c6

Please sign in to comment.