Skip to content

Commit

Permalink
[AVAX] Post Merge fixes for Cortina 19 (v0.12.11-rc.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleonikos Kyriakis committed Mar 28, 2024
1 parent e430f89 commit 86f5535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion accounts/abi/bind/bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@ func golangBindings(t *testing.T, overload bool) {
if out, err := replacer.CombinedOutput(); err != nil {
t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)
}
replacer = exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/ava-labs/avalanchego@v0.0.0", "-replace", "github.com/ava-labs/avalanchego=github.com/chain4travel/caminogo@v1.1.18-rc0") // Repo root
replacer = exec.Command(gocmd, "mod", "edit", "-x", "-require", "github.com/ava-labs/avalanchego@v0.0.0", "-replace", "github.com/ava-labs/avalanchego=github.com/chain4travel/caminogo@v1.1.19-rc0") // Repo root
replacer.Dir = pkg
if out, err := replacer.CombinedOutput(); err != nil {
t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out)
Expand Down
4 changes: 2 additions & 2 deletions plugin/evm/camino_vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func DisabledTestSunrisePhase0OrphanBlock(t *testing.T) {
}

// Manually created Eth Block with a manually created header
emptyEthBlk := types.NewBlock(
emptyEthBlk := types.NewBlockWithExtData(
&types.Header{
Coinbase: common.Address{1},
ParentHash: blkAEthBlock.Hash(),
Expand Down Expand Up @@ -235,7 +235,7 @@ func DisabledTestSunrisePhase0OrphanBlock(t *testing.T) {
assert.ErrorIs(t, emptyBlock.Verify(context.TODO()), errEmptyBlock)

// Manually created Eth Block with a manually created header
orphanEthBlock := types.NewBlock(
orphanEthBlock := types.NewBlockWithExtData(
&types.Header{
ParentHash: common.Hash{},
Difficulty: math.BigPow(11, 11),
Expand Down

0 comments on commit 86f5535

Please sign in to comment.