Skip to content

Commit bb1ce2e

Browse files
author
Darioush Jalali
committed
Merge branch 'master' of github.com:ava-labs/subnet-evm into geth-v1.13.14-sq
2 parents 0d29d81 + 21c0ba2 commit bb1ce2e

20 files changed

+276
-275
lines changed

.github/workflows/publish_docker.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@ name: Publish Docker Image
22

33
on:
44
workflow_dispatch:
5-
push:
6-
tags:
7-
- "*"
8-
branches:
9-
- master
10-
11-
workflow_call:
125
inputs:
136
vm_id:
147
description: 'The ID of the VM (binary dst in Docker image)'
158
default: ''
169
required: false
1710
type: string
1811

12+
push:
13+
tags:
14+
- "*"
15+
branches:
16+
- master
17+
1918
jobs:
2019
publish_docker_image:
2120
name: Publish Docker Image

.github/workflows/publish_docker_image.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ SUBNET_EVM_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd ../.. && pwd )
1616
source "$SUBNET_EVM_PATH"/scripts/versions.sh
1717

1818
# Set the vm id if provided
19-
VM_ID="mDtV8ES8wRL1j2m6Kvc1qRFAvnpq4kufhueAY1bwbzVhk336o" # dispatch vm id
2019
if [[ $# -eq 1 ]]; then
2120
VM_ID=$1
2221
fi

.golangci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ run:
88
skip-dirs-use-default: true
99
# Include non-test files tagged as test-only.
1010
# Context: https://github.com/ava-labs/avalanchego/pull/3173
11-
build-tags:
12-
- test
1311

1412
linters:
1513
disable-all: true

core/blockchain_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"os"
1010
"testing"
1111

12+
"github.com/ava-labs/avalanchego/upgrade"
1213
"github.com/ava-labs/subnet-evm/consensus/dummy"
1314
"github.com/ava-labs/subnet-evm/core/rawdb"
1415
"github.com/ava-labs/subnet-evm/core/state"
@@ -1016,7 +1017,7 @@ func TestEIP3651(t *testing.T) {
10161017
funds = new(big.Int).Mul(common.Big1, big.NewInt(params.Ether))
10171018
gspec = &Genesis{
10181019
Config: params.TestChainConfig,
1019-
Timestamp: uint64(params.DefaultGenesisTime.Unix()),
1020+
Timestamp: uint64(upgrade.InitiallyActiveTime.Unix()),
10201021
Alloc: types.GenesisAlloc{
10211022
addr1: {Balance: funds},
10221023
addr2: {Balance: funds},

core/state_processor_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
"math/big"
3232
"testing"
3333

34+
"github.com/ava-labs/avalanchego/upgrade"
3435
"github.com/ava-labs/subnet-evm/consensus"
3536
"github.com/ava-labs/subnet-evm/consensus/dummy"
3637
"github.com/ava-labs/subnet-evm/consensus/misc/eip4844"
@@ -111,9 +112,9 @@ func TestStateProcessorErrors(t *testing.T) {
111112
db = rawdb.NewMemoryDatabase()
112113
gspec = &Genesis{
113114
Config: config,
114-
Timestamp: uint64(params.DefaultGenesisTime.Unix()),
115+
Timestamp: uint64(upgrade.InitiallyActiveTime.Unix()),
115116
Alloc: types.GenesisAlloc{
116-
common.HexToAddress("0x71562b71999873DB5b286dF957af199Ec94617F7"): types.Account{
117+
common.HexToAddress("0x71562b71999873DB5b286dF957af199Ec94617F7"): GenesisAccount{
117118
Balance: big.NewInt(4000000000000000000), // 4 ether
118119
Nonce: 0,
119120
},

eth/backend.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ func New(
275275
log.Info("Unprotected transactions allowed")
276276
}
277277
gpoParams := config.GPO
278+
gpoParams.MinPrice = new(big.Int).SetUint64(config.TxPool.PriceLimit)
278279
eth.APIBackend.gpo, err = gasprice.NewOracle(eth.APIBackend, gpoParams)
279280
if err != nil {
280281
return nil, err

internal/ethapi/api_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import (
4141
"testing"
4242
"time"
4343

44+
"github.com/ava-labs/avalanchego/upgrade"
4445
"github.com/ava-labs/subnet-evm/accounts"
4546
"github.com/ava-labs/subnet-evm/accounts/keystore"
4647
"github.com/ava-labs/subnet-evm/commontype"
@@ -1797,7 +1798,7 @@ func setupReceiptBackend(t *testing.T, genBlocks int) (*testBackend, []common.Ha
17971798
Config: &config,
17981799
ExcessBlobGas: new(uint64),
17991800
BlobGasUsed: new(uint64),
1800-
Timestamp: uint64(params.DefaultGenesisTime.Unix()),
1801+
Timestamp: uint64(upgrade.InitiallyActiveTime.Unix()),
18011802
Alloc: types.GenesisAlloc{
18021803
acc1Addr: {Balance: big.NewInt(params.Ether)},
18031804
acc2Addr: {Balance: big.NewInt(params.Ether)},

0 commit comments

Comments
 (0)