mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
141e8ac450
Also: - updates kvtool - adds helper comment to upgrade e2e file - adjusts e2e account funding logging - [testnets] enable eip712 signing of cosmos coin msgs - [testnets] enable cosmos coin conversion for HARD
19 lines
650 B
Go
19 lines
650 B
Go
package e2e_test
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// TestUpgradeHandler can be used to run tests post-upgrade. If an upgrade is enabled, all tests
|
|
// are run against the upgraded chain. However, this file is a good place to consolidate all
|
|
// acceptance tests for a given set of upgrade handlers.
|
|
func (suite *IntegrationTestSuite) TestUpgradeHandler() {
|
|
suite.SkipIfUpgradeDisabled()
|
|
fmt.Println("An upgrade has run!")
|
|
suite.True(true)
|
|
|
|
// Uncomment & use these contexts to compare chain state before & after the upgrade occurs.
|
|
// beforeUpgradeCtx := util.CtxAtHeight(suite.UpgradeHeight - 1)
|
|
// afterUpgradeCtx := util.CtxAtHeight(suite.UpgradeHeight)
|
|
}
|