diff --git a/client/mock_client.go b/client/mock_client.go index e37a1ee0..46e8c9c6 100644 --- a/client/mock_client.go +++ b/client/mock_client.go @@ -593,26 +593,6 @@ func (mr *MockPChainClientMockRecorder) GetCurrentValidators(arg0, arg1, arg2 an return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentValidators", reflect.TypeOf((*MockPChainClient)(nil).GetCurrentValidators), varargs...) } -// GetFeeConfig mocks base method. -func (m *MockPChainClient) GetFeeConfig(arg0 context.Context, arg1 ...rpc.Option) (*gas.Config, error) { - m.ctrl.T.Helper() - varargs := []any{arg0} - for _, a := range arg1 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetFeeConfig", varargs...) - ret0, _ := ret[0].(*gas.Config) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetFeeConfig indicates an expected call of GetFeeConfig. -func (mr *MockPChainClientMockRecorder) GetFeeConfig(arg0 any, arg1 ...any) *gomock.Call { - mr.mock.ctrl.T.Helper() - varargs := append([]any{arg0}, arg1...) - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFeeConfig", reflect.TypeOf((*MockPChainClient)(nil).GetFeeConfig), varargs...) -} - // GetFeeState mocks base method. func (m *MockPChainClient) GetFeeState(arg0 context.Context, arg1 ...rpc.Option) (gas.State, gas.Price, time.Time, error) { m.ctrl.T.Helper() diff --git a/client/pchainclient.go b/client/pchainclient.go index 229bda5a..7cb7362f 100644 --- a/client/pchainclient.go +++ b/client/pchainclient.go @@ -63,7 +63,6 @@ type PChainClient interface { IssueTx(ctx context.Context, tx []byte, options ...rpc.Option) (ids.ID, error) GetStake(ctx context.Context, addrs []ids.ShortID, validatorsOnly bool, options ...rpc.Option) (map[ids.ID]uint64, [][]byte, error) GetCurrentValidators(ctx context.Context, subnetID ids.ID, nodeIDs []ids.NodeID, options ...rpc.Option) ([]platformvm.ClientPermissionlessValidator, error) - GetFeeConfig(ctx context.Context, options ...rpc.Option) (*gas.Config, error) GetFeeState(ctx context.Context, options ...rpc.Option) (gas.State, gas.Price, time.Time, error) // avm.Client methods diff --git a/go.mod b/go.mod index f683ee5b..a30fcab9 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.8 toolchain go1.22.9 require ( - github.com/ava-labs/avalanchego v1.12.0-fuji + github.com/ava-labs/avalanchego v1.12.0 github.com/ava-labs/coreth v0.13.9-rc.1 github.com/coinbase/rosetta-sdk-go v0.6.5 github.com/ethereum/go-ethereum v1.13.14 diff --git a/go.sum b/go.sum index 9256a6c4..c005d572 100644 --- a/go.sum +++ b/go.sum @@ -41,8 +41,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847/go.mod h1:D/tb0zPVXnP7fmsLZjtdUhSsumbK/ij54UXjjVgMGxQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/ava-labs/avalanchego v1.12.0-fuji h1:o/GbXrqW9CAXu2jX/a1dZtvFiiSVCWomJZyxF4hCQOA= -github.com/ava-labs/avalanchego v1.12.0-fuji/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0= +github.com/ava-labs/avalanchego v1.12.0 h1:NBx0vSOY1dCT0PeJzojIhNhx0NMQNem4GgTEN+v8Sx4= +github.com/ava-labs/avalanchego v1.12.0/go.mod h1:yhD5dpZyStIVbxQ550EDi5w5SL7DQ/xGE6TIxosb7U0= github.com/ava-labs/coreth v0.13.9-rc.1 h1:qIICpC/OZGYUP37QnLgIqqwGmxnLwLpZaUlqJNI85vU= github.com/ava-labs/coreth v0.13.9-rc.1/go.mod h1:7aMsRIo/3GBE44qWZMjnfqdqfcfZ5yShTTm2LObLaYo= github.com/aws/aws-sdk-go v1.25.48/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=