Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move network upgrade code to file #1136

Merged
merged 3 commits into from
Mar 29, 2024
Merged

move network upgrade code to file #1136

merged 3 commits into from
Mar 29, 2024

Conversation

ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Mar 28, 2024

Why this should be merged

Moves network upgrade code to it's own file.

Fixes the Durango timestamp = 0 issue in ava-labs/avalanchego#2877

How this works

0 timestamps now defaults to the network defaults

How this was tested

Locally tested

How is this documented

@ceyonur ceyonur requested a review from darioush as a code owner March 28, 2024 17:24
darioush
darioush previously approved these changes Mar 28, 2024
}

// SetMappedUpgrades sets the mapped upgrades (usually Avalanche > EVM upgrades) for the chain config.
func (c *ChainConfig) SetMappedUpgrades() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Should we call this SetEVMUpgrades() or SetEthUpgrades?
Should we move it to params/config_extra.go?

params/network_upgrades.go Outdated Show resolved Hide resolved
Co-authored-by: Darioush Jalali <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>
darioush
darioush previously approved these changes Mar 28, 2024
@ceyonur ceyonur merged commit 8f9dbb6 into master Mar 29, 2024
9 checks passed
@ceyonur ceyonur deleted the move-network-upgrade-code branch March 29, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants