Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

@Tofel
Copy link
Contributor

@Tofel Tofel commented Feb 26, 2024

add switch to control whether deployed contracts addresses should be saved to file

}

// ShoulSaveDeployedContractMap returns true if the contract map should be saved (i.e. not a simulated network and functionality is enabled)
func (c *Config) ShoulSaveDeployedContractMap() bool {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We do not include some functionality for simulated networks but we use it all the time with static/real networks, for example keyfile.toml is required if we are not in ephemeral mode. Maybe we can use ephemeral flag for this case too?
It doesn't make sense to save any data for ephemeral networks since we can always run it fast from block zero, but it always makes sense to have as much info as possible with a static network, wdyt? @Tofel

@skudasov skudasov self-requested a review February 26, 2024 16:00
@Tofel Tofel merged commit c57b781 into master Feb 26, 2024
Tofel added a commit that referenced this pull request May 15, 2024
# This is the 1st commit message:

print also gas estimation/key split result that's TOML-ready

# This is the commit message #2:

read keyfile from base64-ed env var or file

# This is the commit message #3:

fix couple of nil pointers, generate address to satisfy validations when estimating gas, read keyfile either from base64-ed env var or file

# This is the commit message #4:

fix npe, read root buffer from cmd line, zero ephemeral addresses by default

# This is the commit message #5:

fix tests, const with keyfile env var

# This is the commit message #6:

split fund returns and keyfile update
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants