Skip to content

fix: deploy script improvements - #10

Closed
bensprks wants to merge 2 commits into
deploy-scriptfrom
pr9-review-fixes
Closed

bensprks wants to merge 2 commits into
deploy-scriptfrom
pr9-review-fixes

Conversation

@bensprks

Copy link
Copy Markdown
Contributor

Summary

  • Use Script instead of Test as parent class for deploy script (semantically correct)
  • Update error message to reflect current env var naming
  • Reduce testnet deploy delay from 30s to 5s for faster iteration

- Use Script instead of Test as parent class for deploy script
- Update error message to reflect new env var names
- Reduce testnet deploy delay from 30s to 5s
@bensprks
bensprks requested a review from jj1980a January 13, 2026 08:41
shMonad = vm.envAddress("SHMONAD_ADDRESS_MAINNET");
}

require(shMonad != address(0), "SHMONAD_ADDRESS is not set");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SHMONAD_ADDRESS_MAINNET can also be wrong, it's depending on IS_TESTNET value.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah good point

Comment thread package.json
Comment on lines -8 to -9
"deploy-testnet": "source .env && IS_TESTNET=true forge script script/deploy_fastlaneAuctionHandler.s.sol:DeployFastLaneAuctionHandlerScript --rpc-url $MONAD_TESTNET_RPC_URL --legacy --broadcast --delay 30 --private-key $DEPLOYER_PRIVATE_KEY",
"deploy-testnet-ledger": "source .env && IS_TESTNET=true forge script script/deploy_fastlaneAuctionHandler.s.sol:DeployFastLaneAuctionHandlerScript --rpc-url $MONAD_TESTNET_RPC_URL --legacy --broadcast --delay 30 --sender $DEPLOYER_LEDGER --ledger",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel ok with 30...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay cool can leave as 30

@bensprks

Copy link
Copy Markdown
Contributor Author

Closing, none of these changes are needed.

@bensprks bensprks closed this Jan 13, 2026
@bensprks
bensprks deleted the pr9-review-fixes branch January 13, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants