Skip to content

Do deploy scripts cost ETH? #2563

Answered by onbjerg
dino-rodriguez asked this question in Help
Discussion options

You must be logged in to vote

The script itself is run on an in-process EVM. The only thing that incur transaction fees are transactions that are broadcasted, so any external call or deployment affected by vm.broadcast or vm.startBroadcast

So no, internal state such as arrays or mappings in your script do not affect transaction costs :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dino-rodriguez
Comment options

Answer selected by onbjerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants