From e218770d5f52bcee6c4c3c1d07f9769a2029b6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E7=BB=8F=E7=8C=AB?= Date: Thu, 26 Sep 2024 11:25:54 +0800 Subject: [PATCH] =?UTF-8?q?sqlite=E5=8C=85=E6=9B=B4=E6=8D=A2=EF=BC=8C?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_grpc.pb.go | 733 ++++++++++++++++++++++++++++------------- api/zksnark_grpc.pb.go | 28 +- gen-proto.bat | 8 +- go.mod | 70 ++-- go.sum | 556 ++++++++----------------------- main.go | 6 +- make.bat | 9 + make.sh | 1 - protocol | 2 +- trx/db.go | 4 +- 10 files changed, 727 insertions(+), 690 deletions(-) create mode 100644 make.bat diff --git a/api/api_grpc.pb.go b/api/api_grpc.pb.go index b8db277..bafe606 100644 --- a/api/api_grpc.pb.go +++ b/api/api_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.1 // source: api/api.proto @@ -16,8 +16,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( Wallet_GetAccount_FullMethodName = "/protocol.Wallet/GetAccount" @@ -371,8 +371,9 @@ func NewWalletClient(cc grpc.ClientConnInterface) WalletClient { } func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, Wallet_GetAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -380,8 +381,9 @@ func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts .. } func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, Wallet_GetAccountById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -389,8 +391,9 @@ func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opt } func (c *walletClient) GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AccountBalanceResponse) - err := c.cc.Invoke(ctx, Wallet_GetAccountBalance_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -398,8 +401,9 @@ func (c *walletClient) GetAccountBalance(ctx context.Context, in *core.AccountBa } func (c *walletClient) GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.BlockBalanceTrace) - err := c.cc.Invoke(ctx, Wallet_GetBlockBalanceTrace_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockBalanceTrace_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -407,8 +411,9 @@ func (c *walletClient) GetBlockBalanceTrace(ctx context.Context, in *core.BlockB } func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_CreateTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -416,8 +421,9 @@ func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferC } func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateTransaction2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateTransaction2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -425,8 +431,9 @@ func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.Transfer } func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Return) - err := c.cc.Invoke(ctx, Wallet_BroadcastTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_BroadcastTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -434,8 +441,9 @@ func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transa } func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_UpdateAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -443,8 +451,9 @@ func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdate } func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_SetAccountId_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_SetAccountId_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -452,8 +461,9 @@ func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdCo } func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UpdateAccount2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAccount2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -461,8 +471,9 @@ func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdat } func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_VoteWitnessAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_VoteWitnessAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -470,8 +481,9 @@ func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitn } func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UpdateSetting_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateSetting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -479,8 +491,9 @@ func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSetting } func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UpdateEnergyLimit_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateEnergyLimit_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -488,8 +501,9 @@ func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEne } func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_VoteWitnessAccount2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_VoteWitnessAccount2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -497,8 +511,9 @@ func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWit } func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_CreateAssetIssue_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAssetIssue_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -506,8 +521,9 @@ func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssue } func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateAssetIssue2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAssetIssue2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -515,8 +531,9 @@ func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssu } func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_UpdateWitness_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateWitness_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -524,8 +541,9 @@ func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdate } func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UpdateWitness2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateWitness2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -533,8 +551,9 @@ func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdat } func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_CreateAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -542,8 +561,9 @@ func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreate } func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateAccount2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAccount2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -551,8 +571,9 @@ func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreat } func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_CreateWitness_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateWitness_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -560,8 +581,9 @@ func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreate } func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateWitness2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateWitness2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -569,8 +591,9 @@ func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreat } func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_TransferAsset_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TransferAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -578,8 +601,9 @@ func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAsset } func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_TransferAsset2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TransferAsset2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -587,8 +611,9 @@ func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAsse } func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_ParticipateAssetIssue_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ParticipateAssetIssue_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -596,8 +621,9 @@ func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.Parti } func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ParticipateAssetIssue2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ParticipateAssetIssue2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -605,8 +631,9 @@ func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.Part } func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_FreezeBalance_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_FreezeBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -614,8 +641,9 @@ func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalance } func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_FreezeBalance2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_FreezeBalance2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -623,8 +651,9 @@ func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanc } func (c *walletClient) FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_FreezeBalanceV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_FreezeBalanceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -632,8 +661,9 @@ func (c *walletClient) FreezeBalanceV2(ctx context.Context, in *core.FreezeBalan } func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_UnfreezeBalance_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -641,8 +671,9 @@ func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBal } func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UnfreezeBalance2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeBalance2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -650,8 +681,9 @@ func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBa } func (c *walletClient) UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UnfreezeBalanceV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeBalanceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -659,8 +691,9 @@ func (c *walletClient) UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeB } func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_UnfreezeAsset_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -668,8 +701,9 @@ func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAsset } func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UnfreezeAsset2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeAsset2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -677,8 +711,9 @@ func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAsse } func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_WithdrawBalance_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_WithdrawBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -686,8 +721,9 @@ func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBal } func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_WithdrawBalance2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_WithdrawBalance2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -695,8 +731,9 @@ func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBa } func (c *walletClient) WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_WithdrawExpireUnfreeze_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_WithdrawExpireUnfreeze_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -704,8 +741,9 @@ func (c *walletClient) WithdrawExpireUnfreeze(ctx context.Context, in *core.With } func (c *walletClient) DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_DelegateResource_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_DelegateResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -713,8 +751,9 @@ func (c *walletClient) DelegateResource(ctx context.Context, in *core.DelegateRe } func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UnDelegateResource_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnDelegateResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -722,8 +761,9 @@ func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelega } func (c *walletClient) CancelAllUnfreezeV2(ctx context.Context, in *core.CancelAllUnfreezeV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CancelAllUnfreezeV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CancelAllUnfreezeV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -731,8 +771,9 @@ func (c *walletClient) CancelAllUnfreezeV2(ctx context.Context, in *core.CancelA } func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_UpdateAsset_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -740,8 +781,9 @@ func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetCont } func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UpdateAsset2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAsset2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -749,8 +791,9 @@ func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetCon } func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ProposalCreate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ProposalCreate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -758,8 +801,9 @@ func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCrea } func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ProposalApprove_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ProposalApprove_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -767,8 +811,9 @@ func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApp } func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ProposalDelete_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ProposalDelete_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -776,8 +821,9 @@ func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDele } func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_BuyStorage_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_BuyStorage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -785,8 +831,9 @@ func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContra } func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_BuyStorageBytes_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_BuyStorageBytes_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -794,8 +841,9 @@ func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageB } func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_SellStorage_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_SellStorage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -803,8 +851,9 @@ func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageCont } func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ExchangeCreate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeCreate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -812,8 +861,9 @@ func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCrea } func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ExchangeInject_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeInject_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -821,8 +871,9 @@ func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInje } func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ExchangeWithdraw_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeWithdraw_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -830,8 +881,9 @@ func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWi } func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ExchangeTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -839,8 +891,9 @@ func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.Exchang } func (c *walletClient) MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_MarketSellAsset_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_MarketSellAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -848,8 +901,9 @@ func (c *walletClient) MarketSellAsset(ctx context.Context, in *core.MarketSellA } func (c *walletClient) MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_MarketCancelOrder_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_MarketCancelOrder_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -857,8 +911,9 @@ func (c *walletClient) MarketCancelOrder(ctx context.Context, in *core.MarketCan } func (c *walletClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrder) - err := c.cc.Invoke(ctx, Wallet_GetMarketOrderById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketOrderById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -866,8 +921,9 @@ func (c *walletClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, } func (c *walletClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, Wallet_GetMarketOrderByAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketOrderByAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -875,8 +931,9 @@ func (c *walletClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMes } func (c *walletClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketPriceList) - err := c.cc.Invoke(ctx, Wallet_GetMarketPriceByPair_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketPriceByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -884,8 +941,9 @@ func (c *walletClient) GetMarketPriceByPair(ctx context.Context, in *core.Market } func (c *walletClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, Wallet_GetMarketOrderListByPair_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketOrderListByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -893,8 +951,9 @@ func (c *walletClient) GetMarketOrderListByPair(ctx context.Context, in *core.Ma } func (c *walletClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderPairList) - err := c.cc.Invoke(ctx, Wallet_GetMarketPairList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketPairList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -902,8 +961,9 @@ func (c *walletClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, } func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NodeList) - err := c.cc.Invoke(ctx, Wallet_ListNodes_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListNodes_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -911,8 +971,9 @@ func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ... } func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, Wallet_GetAssetIssueByAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueByAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -920,8 +981,9 @@ func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Acco } func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountNetMessage) - err := c.cc.Invoke(ctx, Wallet_GetAccountNet_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountNet_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -929,8 +991,9 @@ func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts } func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountResourceMessage) - err := c.cc.Invoke(ctx, Wallet_GetAccountResource_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -938,8 +1001,9 @@ func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, } func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, Wallet_GetAssetIssueByName_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -947,8 +1011,9 @@ func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage } func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, Wallet_GetAssetIssueListByName_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueListByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -956,8 +1021,9 @@ func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMes } func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, Wallet_GetAssetIssueById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -965,8 +1031,9 @@ func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, } func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, Wallet_GetNowBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNowBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -974,8 +1041,9 @@ func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts . } func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, Wallet_GetNowBlock2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNowBlock2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -983,8 +1051,9 @@ func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, Wallet_GetBlockByNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -992,8 +1061,9 @@ func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opt } func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, Wallet_GetBlockByNum2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByNum2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1001,8 +1071,9 @@ func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, op } func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_GetTransactionCountByBlockNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionCountByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1010,8 +1081,9 @@ func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *Nu } func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, Wallet_GetBlockById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1019,8 +1091,9 @@ func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockList) - err := c.cc.Invoke(ctx, Wallet_GetBlockByLimitNext_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLimitNext_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1028,8 +1101,9 @@ func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, } func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockListExtention) - err := c.cc.Invoke(ctx, Wallet_GetBlockByLimitNext2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLimitNext2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1037,8 +1111,9 @@ func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, } func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockList) - err := c.cc.Invoke(ctx, Wallet_GetBlockByLatestNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLatestNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1046,8 +1121,9 @@ func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessag } func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockListExtention) - err := c.cc.Invoke(ctx, Wallet_GetBlockByLatestNum2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLatestNum2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1055,8 +1131,9 @@ func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessa } func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_GetTransactionById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1064,8 +1141,9 @@ func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, } func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_DeployContract_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_DeployContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1073,8 +1151,9 @@ func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartC } func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.SmartContract) - err := c.cc.Invoke(ctx, Wallet_GetContract_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1082,8 +1161,9 @@ func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts . } func (c *walletClient) GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.SmartContractDataWrapper) - err := c.cc.Invoke(ctx, Wallet_GetContractInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetContractInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1091,8 +1171,9 @@ func (c *walletClient) GetContractInfo(ctx context.Context, in *BytesMessage, op } func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_TriggerContract_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TriggerContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1100,8 +1181,9 @@ func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmar } func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_TriggerConstantContract_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TriggerConstantContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1109,8 +1191,9 @@ func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.Tri } func (c *walletClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EstimateEnergyMessage) - err := c.cc.Invoke(ctx, Wallet_EstimateEnergy_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_EstimateEnergy_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1118,8 +1201,9 @@ func (c *walletClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmart } func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_ClearContractABI_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ClearContractABI_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1127,8 +1211,9 @@ func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABICo } func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(WitnessList) - err := c.cc.Invoke(ctx, Wallet_ListWitnesses_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListWitnesses_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1136,8 +1221,9 @@ func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, Wallet_GetDelegatedResource_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1145,8 +1231,9 @@ func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedRe } func (c *walletClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1154,8 +1241,9 @@ func (c *walletClient) GetDelegatedResourceV2(ctx context.Context, in *Delegated } func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceAccountIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceAccountIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1163,8 +1251,9 @@ func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in } func (c *walletClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceAccountIndexV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceAccountIndexV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1172,8 +1261,9 @@ func (c *walletClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, i } func (c *walletClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanDelegatedMaxSizeResponseMessage) - err := c.cc.Invoke(ctx, Wallet_GetCanDelegatedMaxSize_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetCanDelegatedMaxSize_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1181,8 +1271,9 @@ func (c *walletClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelega } func (c *walletClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAvailableUnfreezeCountResponseMessage) - err := c.cc.Invoke(ctx, Wallet_GetAvailableUnfreezeCount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAvailableUnfreezeCount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1190,8 +1281,9 @@ func (c *walletClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAva } func (c *walletClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanWithdrawUnfreezeAmountResponseMessage) - err := c.cc.Invoke(ctx, Wallet_GetCanWithdrawUnfreezeAmount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetCanWithdrawUnfreezeAmount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1199,8 +1291,9 @@ func (c *walletClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *Can } func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProposalList) - err := c.cc.Invoke(ctx, Wallet_ListProposals_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListProposals_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1208,8 +1301,9 @@ func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProposalList) - err := c.cc.Invoke(ctx, Wallet_GetPaginatedProposalList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPaginatedProposalList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1217,8 +1311,9 @@ func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *Paginat } func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Proposal) - err := c.cc.Invoke(ctx, Wallet_GetProposalById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetProposalById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1226,8 +1321,9 @@ func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, op } func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExchangeList) - err := c.cc.Invoke(ctx, Wallet_ListExchanges_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListExchanges_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1235,8 +1331,9 @@ func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExchangeList) - err := c.cc.Invoke(ctx, Wallet_GetPaginatedExchangeList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPaginatedExchangeList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1244,8 +1341,9 @@ func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *Paginat } func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Exchange) - err := c.cc.Invoke(ctx, Wallet_GetExchangeById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetExchangeById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1253,8 +1351,9 @@ func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, op } func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.ChainParameters) - err := c.cc.Invoke(ctx, Wallet_GetChainParameters_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetChainParameters_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1262,8 +1361,9 @@ func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, } func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, Wallet_GetAssetIssueList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1271,8 +1371,9 @@ func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, } func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, Wallet_GetPaginatedAssetIssueList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPaginatedAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1280,8 +1381,9 @@ func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *Pagin } func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_TotalTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TotalTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1289,8 +1391,9 @@ func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, o } func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_GetNextMaintenanceTime_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNextMaintenanceTime_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1298,8 +1401,9 @@ func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMess } func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.TransactionInfo) - err := c.cc.Invoke(ctx, Wallet_GetTransactionInfoById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionInfoById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1307,8 +1411,9 @@ func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMess } func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_AccountPermissionUpdate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_AccountPermissionUpdate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1316,8 +1421,9 @@ func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.Acc } func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionSignWeight) - err := c.cc.Invoke(ctx, Wallet_GetTransactionSignWeight_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionSignWeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1325,8 +1431,9 @@ func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Tr } func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionApprovedList) - err := c.cc.Invoke(ctx, Wallet_GetTransactionApprovedList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionApprovedList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1334,8 +1441,9 @@ func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core. } func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.NodeInfo) - err := c.cc.Invoke(ctx, Wallet_GetNodeInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNodeInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1343,8 +1451,9 @@ func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts . } func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_GetRewardInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetRewardInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1352,8 +1461,9 @@ func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_GetBrokerageInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBrokerageInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1361,8 +1471,9 @@ func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, o } func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_UpdateBrokerage_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateBrokerage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1370,8 +1481,9 @@ func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBroke } func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateShieldedTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1379,8 +1491,9 @@ func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *Privat } func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.IncrementalMerkleVoucherInfo) - err := c.cc.Invoke(ctx, Wallet_GetMerkleTreeVoucherInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMerkleTreeVoucherInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1388,8 +1501,9 @@ func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.Ou } func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, Wallet_ScanNoteByIvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1397,8 +1511,9 @@ func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParamete } func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesMarked) - err := c.cc.Invoke(ctx, Wallet_ScanAndMarkNoteByIvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanAndMarkNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1406,8 +1521,9 @@ func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptA } func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, Wallet_ScanNoteByOvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanNoteByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1415,8 +1531,9 @@ func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParamete } func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_GetSpendingKey_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetSpendingKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1424,8 +1541,9 @@ func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opt } func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExpandedSpendingKeyMessage) - err := c.cc.Invoke(ctx, Wallet_GetExpandedSpendingKey_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetExpandedSpendingKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1433,8 +1551,9 @@ func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMess } func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_GetAkFromAsk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAkFromAsk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1442,8 +1561,9 @@ func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_GetNkFromNsk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNkFromNsk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1451,8 +1571,9 @@ func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(IncomingViewingKeyMessage) - err := c.cc.Invoke(ctx, Wallet_GetIncomingViewingKey_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetIncomingViewingKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1460,8 +1581,9 @@ func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKey } func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DiversifierMessage) - err := c.cc.Invoke(ctx, Wallet_GetDiversifier_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDiversifier_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1469,8 +1591,9 @@ func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opt } func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShieldedAddressInfo) - err := c.cc.Invoke(ctx, Wallet_GetNewShieldedAddress_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNewShieldedAddress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1478,8 +1601,9 @@ func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessa } func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PaymentAddressMessage) - err := c.cc.Invoke(ctx, Wallet_GetZenPaymentAddress_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetZenPaymentAddress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1487,8 +1611,9 @@ func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingVie } func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_GetRcm_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetRcm_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1496,8 +1621,9 @@ func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grp } func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SpendResult) - err := c.cc.Invoke(ctx, Wallet_IsSpend_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_IsSpend_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1505,8 +1631,9 @@ func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ... } func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateShieldedTransactionWithoutSpendAuthSig_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedTransactionWithoutSpendAuthSig_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1514,8 +1641,9 @@ func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context. } func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_GetShieldTransactionHash_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetShieldTransactionHash_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1523,8 +1651,9 @@ func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Tr } func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_CreateSpendAuthSig_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateSpendAuthSig_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1532,8 +1661,9 @@ func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigP } func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_CreateShieldNullifier_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldNullifier_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1541,8 +1671,9 @@ func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParamete } func (c *walletClient) CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShieldedTRC20Parameters) - err := c.cc.Invoke(ctx, Wallet_CreateShieldedContractParameters_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedContractParameters_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1550,8 +1681,9 @@ func (c *walletClient) CreateShieldedContractParameters(ctx context.Context, in } func (c *walletClient) CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShieldedTRC20Parameters) - err := c.cc.Invoke(ctx, Wallet_CreateShieldedContractParametersWithoutAsk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedContractParametersWithoutAsk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1559,8 +1691,9 @@ func (c *walletClient) CreateShieldedContractParametersWithoutAsk(ctx context.Co } func (c *walletClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, Wallet_ScanShieldedTRC20NotesByIvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanShieldedTRC20NotesByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1568,8 +1701,9 @@ func (c *walletClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkD } func (c *walletClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, Wallet_ScanShieldedTRC20NotesByOvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanShieldedTRC20NotesByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1577,8 +1711,9 @@ func (c *walletClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkD } func (c *walletClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NullifierResult) - err := c.cc.Invoke(ctx, Wallet_IsShieldedTRC20ContractNoteSpent_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_IsShieldedTRC20ContractNoteSpent_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1586,8 +1721,9 @@ func (c *walletClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in } func (c *walletClient) GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, Wallet_GetTriggerInputForShieldedTRC20Contract_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTriggerInputForShieldedTRC20Contract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1595,8 +1731,9 @@ func (c *walletClient) GetTriggerInputForShieldedTRC20Contract(ctx context.Conte } func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, Wallet_CreateCommonTransaction_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateCommonTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1604,8 +1741,9 @@ func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Tra } func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionInfoList) - err := c.cc.Invoke(ctx, Wallet_GetTransactionInfoByBlockNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionInfoByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1613,8 +1751,9 @@ func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *Num } func (c *walletClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_GetBurnTrx_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBurnTrx_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1622,8 +1761,9 @@ func (c *walletClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts .. } func (c *walletClient) GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, Wallet_GetTransactionFromPending_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionFromPending_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1631,8 +1771,9 @@ func (c *walletClient) GetTransactionFromPending(ctx context.Context, in *BytesM } func (c *walletClient) GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionIdList) - err := c.cc.Invoke(ctx, Wallet_GetTransactionListFromPending_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionListFromPending_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1640,8 +1781,9 @@ func (c *walletClient) GetTransactionListFromPending(ctx context.Context, in *Em } func (c *walletClient) GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, Wallet_GetPendingSize_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPendingSize_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1649,8 +1791,9 @@ func (c *walletClient) GetPendingSize(ctx context.Context, in *EmptyMessage, opt } func (c *walletClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, Wallet_GetBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1658,8 +1801,9 @@ func (c *walletClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc. } func (c *walletClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PricesResponseMessage) - err := c.cc.Invoke(ctx, Wallet_GetBandwidthPrices_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBandwidthPrices_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1667,8 +1811,9 @@ func (c *walletClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, } func (c *walletClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PricesResponseMessage) - err := c.cc.Invoke(ctx, Wallet_GetEnergyPrices_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetEnergyPrices_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1676,8 +1821,9 @@ func (c *walletClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, op } func (c *walletClient) GetMemoFee(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PricesResponseMessage) - err := c.cc.Invoke(ctx, Wallet_GetMemoFee_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMemoFee_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1686,7 +1832,7 @@ func (c *walletClient) GetMemoFee(ctx context.Context, in *EmptyMessage, opts .. // WalletServer is the server API for Wallet service. // All implementations must embed UnimplementedWalletServer -// for forward compatibility +// for forward compatibility. type WalletServer interface { GetAccount(context.Context, *core.Account) (*core.Account, error) GetAccountById(context.Context, *core.Account) (*core.Account, error) @@ -1879,9 +2025,12 @@ type WalletServer interface { mustEmbedUnimplementedWalletServer() } -// UnimplementedWalletServer must be embedded to have forward compatible implementations. -type UnimplementedWalletServer struct { -} +// UnimplementedWalletServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedWalletServer struct{} func (UnimplementedWalletServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") @@ -2322,6 +2471,7 @@ func (UnimplementedWalletServer) GetMemoFee(context.Context, *EmptyMessage) (*Pr return nil, status.Errorf(codes.Unimplemented, "method GetMemoFee not implemented") } func (UnimplementedWalletServer) mustEmbedUnimplementedWalletServer() {} +func (UnimplementedWalletServer) testEmbeddedByValue() {} // UnsafeWalletServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to WalletServer will @@ -2331,6 +2481,13 @@ type UnsafeWalletServer interface { } func RegisterWalletServer(s grpc.ServiceRegistrar, srv WalletServer) { + // If the following call pancis, it indicates UnimplementedWalletServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&Wallet_ServiceDesc, srv) } @@ -5672,8 +5829,9 @@ func NewWalletSolidityClient(cc grpc.ClientConnInterface) WalletSolidityClient { } func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, WalletSolidity_GetAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5681,8 +5839,9 @@ func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, } func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, WalletSolidity_GetAccountById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAccountById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5690,8 +5849,9 @@ func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Acco } func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(WitnessList) - err := c.cc.Invoke(ctx, WalletSolidity_ListWitnesses_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ListWitnesses_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5699,8 +5859,9 @@ func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessa } func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5708,8 +5869,9 @@ func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyM } func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, WalletSolidity_GetPaginatedAssetIssueList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetPaginatedAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5717,8 +5879,9 @@ func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, i } func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueByName_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5726,8 +5889,9 @@ func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *Byte } func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueListByName_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueListByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5735,8 +5899,9 @@ func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in * } func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5744,8 +5909,9 @@ func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesM } func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, WalletSolidity_GetNowBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetNowBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5753,8 +5919,9 @@ func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage } func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, WalletSolidity_GetNowBlock2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetNowBlock2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5762,8 +5929,9 @@ func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessag } func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, WalletSolidity_GetBlockByNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBlockByNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5771,8 +5939,9 @@ func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMess } func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, WalletSolidity_GetBlockByNum2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBlockByNum2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5780,8 +5949,9 @@ func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMes } func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionCountByBlockNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionCountByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5789,8 +5959,9 @@ func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context } func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResource_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5798,8 +5969,9 @@ func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *Del } func (c *walletSolidityClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5807,8 +5979,9 @@ func (c *walletSolidityClient) GetDelegatedResourceV2(ctx context.Context, in *D } func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceAccountIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceAccountIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5816,8 +5989,9 @@ func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Cont } func (c *walletSolidityClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceAccountIndexV2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceAccountIndexV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5825,8 +5999,9 @@ func (c *walletSolidityClient) GetDelegatedResourceAccountIndexV2(ctx context.Co } func (c *walletSolidityClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanDelegatedMaxSizeResponseMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetCanDelegatedMaxSize_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetCanDelegatedMaxSize_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5834,8 +6009,9 @@ func (c *walletSolidityClient) GetCanDelegatedMaxSize(ctx context.Context, in *C } func (c *walletSolidityClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAvailableUnfreezeCountResponseMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetAvailableUnfreezeCount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAvailableUnfreezeCount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5843,8 +6019,9 @@ func (c *walletSolidityClient) GetAvailableUnfreezeCount(ctx context.Context, in } func (c *walletSolidityClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanWithdrawUnfreezeAmountResponseMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetCanWithdrawUnfreezeAmount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetCanWithdrawUnfreezeAmount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5852,8 +6029,9 @@ func (c *walletSolidityClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, } func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Exchange) - err := c.cc.Invoke(ctx, WalletSolidity_GetExchangeById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetExchangeById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5861,8 +6039,9 @@ func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMes } func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExchangeList) - err := c.cc.Invoke(ctx, WalletSolidity_ListExchanges_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ListExchanges_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5870,8 +6049,9 @@ func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessa } func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5879,8 +6059,9 @@ func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *Bytes } func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.TransactionInfo) - err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionInfoById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionInfoById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5888,8 +6069,9 @@ func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *B } func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.IncrementalMerkleVoucherInfo) - err := c.cc.Invoke(ctx, WalletSolidity_GetMerkleTreeVoucherInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMerkleTreeVoucherInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5897,8 +6079,9 @@ func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in } func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, WalletSolidity_ScanNoteByIvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5906,8 +6089,9 @@ func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecrypt } func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesMarked) - err := c.cc.Invoke(ctx, WalletSolidity_ScanAndMarkNoteByIvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanAndMarkNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5915,8 +6099,9 @@ func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *Ivk } func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, WalletSolidity_ScanNoteByOvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanNoteByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5924,8 +6109,9 @@ func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecrypt } func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SpendResult) - err := c.cc.Invoke(ctx, WalletSolidity_IsSpend_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_IsSpend_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5933,8 +6119,9 @@ func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, } func (c *walletSolidityClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, WalletSolidity_ScanShieldedTRC20NotesByIvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanShieldedTRC20NotesByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5942,8 +6129,9 @@ func (c *walletSolidityClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, } func (c *walletSolidityClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, WalletSolidity_ScanShieldedTRC20NotesByOvk_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanShieldedTRC20NotesByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5951,8 +6139,9 @@ func (c *walletSolidityClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, } func (c *walletSolidityClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NullifierResult) - err := c.cc.Invoke(ctx, WalletSolidity_IsShieldedTRC20ContractNoteSpent_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_IsShieldedTRC20ContractNoteSpent_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5960,8 +6149,9 @@ func (c *walletSolidityClient) IsShieldedTRC20ContractNoteSpent(ctx context.Cont } func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetRewardInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetRewardInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5969,8 +6159,9 @@ func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessa } func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetBrokerageInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBrokerageInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5978,8 +6169,9 @@ func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMe } func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, WalletSolidity_TriggerConstantContract_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_TriggerConstantContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5987,8 +6179,9 @@ func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in * } func (c *walletSolidityClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EstimateEnergyMessage) - err := c.cc.Invoke(ctx, WalletSolidity_EstimateEnergy_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_EstimateEnergy_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5996,8 +6189,9 @@ func (c *walletSolidityClient) EstimateEnergy(ctx context.Context, in *core.Trig } func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionInfoList) - err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionInfoByBlockNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionInfoByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6005,8 +6199,9 @@ func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, } func (c *walletSolidityClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrder) - err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderById_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6014,8 +6209,9 @@ func (c *walletSolidityClient) GetMarketOrderById(ctx context.Context, in *Bytes } func (c *walletSolidityClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderByAccount_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderByAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6023,8 +6219,9 @@ func (c *walletSolidityClient) GetMarketOrderByAccount(ctx context.Context, in * } func (c *walletSolidityClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketPriceList) - err := c.cc.Invoke(ctx, WalletSolidity_GetMarketPriceByPair_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketPriceByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6032,8 +6229,9 @@ func (c *walletSolidityClient) GetMarketPriceByPair(ctx context.Context, in *cor } func (c *walletSolidityClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderListByPair_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderListByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6041,8 +6239,9 @@ func (c *walletSolidityClient) GetMarketOrderListByPair(ctx context.Context, in } func (c *walletSolidityClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderPairList) - err := c.cc.Invoke(ctx, WalletSolidity_GetMarketPairList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketPairList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6050,8 +6249,9 @@ func (c *walletSolidityClient) GetMarketPairList(ctx context.Context, in *EmptyM } func (c *walletSolidityClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetBurnTrx_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBurnTrx_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6059,8 +6259,9 @@ func (c *walletSolidityClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, } func (c *walletSolidityClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, WalletSolidity_GetBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6068,8 +6269,9 @@ func (c *walletSolidityClient) GetBlock(ctx context.Context, in *BlockReq, opts } func (c *walletSolidityClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PricesResponseMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetBandwidthPrices_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBandwidthPrices_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6077,8 +6279,9 @@ func (c *walletSolidityClient) GetBandwidthPrices(ctx context.Context, in *Empty } func (c *walletSolidityClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PricesResponseMessage) - err := c.cc.Invoke(ctx, WalletSolidity_GetEnergyPrices_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetEnergyPrices_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6087,7 +6290,7 @@ func (c *walletSolidityClient) GetEnergyPrices(ctx context.Context, in *EmptyMes // WalletSolidityServer is the server API for WalletSolidity service. // All implementations must embed UnimplementedWalletSolidityServer -// for forward compatibility +// for forward compatibility. type WalletSolidityServer interface { GetAccount(context.Context, *core.Account) (*core.Account, error) GetAccountById(context.Context, *core.Account) (*core.Account, error) @@ -6142,9 +6345,12 @@ type WalletSolidityServer interface { mustEmbedUnimplementedWalletSolidityServer() } -// UnimplementedWalletSolidityServer must be embedded to have forward compatible implementations. -type UnimplementedWalletSolidityServer struct { -} +// UnimplementedWalletSolidityServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedWalletSolidityServer struct{} func (UnimplementedWalletSolidityServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") @@ -6285,6 +6491,7 @@ func (UnimplementedWalletSolidityServer) GetEnergyPrices(context.Context, *Empty return nil, status.Errorf(codes.Unimplemented, "method GetEnergyPrices not implemented") } func (UnimplementedWalletSolidityServer) mustEmbedUnimplementedWalletSolidityServer() {} +func (UnimplementedWalletSolidityServer) testEmbeddedByValue() {} // UnsafeWalletSolidityServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to WalletSolidityServer will @@ -6294,6 +6501,13 @@ type UnsafeWalletSolidityServer interface { } func RegisterWalletSolidityServer(s grpc.ServiceRegistrar, srv WalletSolidityServer) { + // If the following call pancis, it indicates UnimplementedWalletSolidityServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&WalletSolidity_ServiceDesc, srv) } @@ -7351,8 +7565,9 @@ func NewWalletExtensionClient(cc grpc.ClientConnInterface) WalletExtensionClient } func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionList) - err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsFromThis_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsFromThis_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7360,8 +7575,9 @@ func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in } func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionListExtention) - err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsFromThis2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsFromThis2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7369,8 +7585,9 @@ func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in } func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionList) - err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsToThis_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsToThis_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7378,8 +7595,9 @@ func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *A } func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionListExtention) - err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsToThis2_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsToThis2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7388,7 +7606,7 @@ func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in * // WalletExtensionServer is the server API for WalletExtension service. // All implementations must embed UnimplementedWalletExtensionServer -// for forward compatibility +// for forward compatibility. type WalletExtensionServer interface { // Please use GetTransactionsFromThis2 instead of this function. GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) @@ -7401,9 +7619,12 @@ type WalletExtensionServer interface { mustEmbedUnimplementedWalletExtensionServer() } -// UnimplementedWalletExtensionServer must be embedded to have forward compatible implementations. -type UnimplementedWalletExtensionServer struct { -} +// UnimplementedWalletExtensionServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedWalletExtensionServer struct{} func (UnimplementedWalletExtensionServer) GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis not implemented") @@ -7418,6 +7639,7 @@ func (UnimplementedWalletExtensionServer) GetTransactionsToThis2(context.Context return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis2 not implemented") } func (UnimplementedWalletExtensionServer) mustEmbedUnimplementedWalletExtensionServer() {} +func (UnimplementedWalletExtensionServer) testEmbeddedByValue() {} // UnsafeWalletExtensionServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to WalletExtensionServer will @@ -7427,6 +7649,13 @@ type UnsafeWalletExtensionServer interface { } func RegisterWalletExtensionServer(s grpc.ServiceRegistrar, srv WalletExtensionServer) { + // If the following call pancis, it indicates UnimplementedWalletExtensionServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&WalletExtension_ServiceDesc, srv) } @@ -7540,6 +7769,8 @@ const ( // DatabaseClient is the client API for Database service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// the api of tron's db type DatabaseClient interface { // for tapos GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) @@ -7557,8 +7788,9 @@ func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient { } func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockReference) - err := c.cc.Invoke(ctx, Database_GetBlockReference_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetBlockReference_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7566,8 +7798,9 @@ func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage } func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DynamicProperties) - err := c.cc.Invoke(ctx, Database_GetDynamicProperties_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetDynamicProperties_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7575,8 +7808,9 @@ func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMess } func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, Database_GetNowBlock_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetNowBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7584,8 +7818,9 @@ func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts } func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, Database_GetBlockByNum_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetBlockByNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7594,7 +7829,9 @@ func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, o // DatabaseServer is the server API for Database service. // All implementations must embed UnimplementedDatabaseServer -// for forward compatibility +// for forward compatibility. +// +// the api of tron's db type DatabaseServer interface { // for tapos GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) @@ -7604,9 +7841,12 @@ type DatabaseServer interface { mustEmbedUnimplementedDatabaseServer() } -// UnimplementedDatabaseServer must be embedded to have forward compatible implementations. -type UnimplementedDatabaseServer struct { -} +// UnimplementedDatabaseServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedDatabaseServer struct{} func (UnimplementedDatabaseServer) GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlockReference not implemented") @@ -7621,6 +7861,7 @@ func (UnimplementedDatabaseServer) GetBlockByNum(context.Context, *NumberMessage return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") } func (UnimplementedDatabaseServer) mustEmbedUnimplementedDatabaseServer() {} +func (UnimplementedDatabaseServer) testEmbeddedByValue() {} // UnsafeDatabaseServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to DatabaseServer will @@ -7630,6 +7871,13 @@ type UnsafeDatabaseServer interface { } func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer) { + // If the following call pancis, it indicates UnimplementedDatabaseServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&Database_ServiceDesc, srv) } @@ -7753,8 +8001,9 @@ func NewMonitorClient(cc grpc.ClientConnInterface) MonitorClient { } func (c *monitorClient) GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MetricsInfo) - err := c.cc.Invoke(ctx, Monitor_GetStatsInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Monitor_GetStatsInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7763,20 +8012,24 @@ func (c *monitorClient) GetStatsInfo(ctx context.Context, in *EmptyMessage, opts // MonitorServer is the server API for Monitor service. // All implementations must embed UnimplementedMonitorServer -// for forward compatibility +// for forward compatibility. type MonitorServer interface { GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) mustEmbedUnimplementedMonitorServer() } -// UnimplementedMonitorServer must be embedded to have forward compatible implementations. -type UnimplementedMonitorServer struct { -} +// UnimplementedMonitorServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedMonitorServer struct{} func (UnimplementedMonitorServer) GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetStatsInfo not implemented") } func (UnimplementedMonitorServer) mustEmbedUnimplementedMonitorServer() {} +func (UnimplementedMonitorServer) testEmbeddedByValue() {} // UnsafeMonitorServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to MonitorServer will @@ -7786,6 +8039,13 @@ type UnsafeMonitorServer interface { } func RegisterMonitorServer(s grpc.ServiceRegistrar, srv MonitorServer) { + // If the following call pancis, it indicates UnimplementedMonitorServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&Monitor_ServiceDesc, srv) } @@ -7823,11 +8083,11 @@ var Monitor_ServiceDesc = grpc.ServiceDesc{ Metadata: "api/api.proto", } -const () - // NetworkClient is the client API for Network service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// the api of tron's network such as node list. type NetworkClient interface { } @@ -7841,16 +8101,22 @@ func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient { // NetworkServer is the server API for Network service. // All implementations must embed UnimplementedNetworkServer -// for forward compatibility +// for forward compatibility. +// +// the api of tron's network such as node list. type NetworkServer interface { mustEmbedUnimplementedNetworkServer() } -// UnimplementedNetworkServer must be embedded to have forward compatible implementations. -type UnimplementedNetworkServer struct { -} +// UnimplementedNetworkServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedNetworkServer struct{} func (UnimplementedNetworkServer) mustEmbedUnimplementedNetworkServer() {} +func (UnimplementedNetworkServer) testEmbeddedByValue() {} // UnsafeNetworkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to NetworkServer will @@ -7860,6 +8126,13 @@ type UnsafeNetworkServer interface { } func RegisterNetworkServer(s grpc.ServiceRegistrar, srv NetworkServer) { + // If the following call pancis, it indicates UnimplementedNetworkServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&Network_ServiceDesc, srv) } diff --git a/api/zksnark_grpc.pb.go b/api/zksnark_grpc.pb.go index f98a722..34843be 100644 --- a/api/zksnark_grpc.pb.go +++ b/api/zksnark_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v4.25.1 // source: api/zksnark.proto @@ -15,8 +15,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( TronZksnark_CheckZksnarkProof_FullMethodName = "/protocol.TronZksnark/CheckZksnarkProof" @@ -38,8 +38,9 @@ func NewTronZksnarkClient(cc grpc.ClientConnInterface) TronZksnarkClient { } func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ZksnarkResponse) - err := c.cc.Invoke(ctx, TronZksnark_CheckZksnarkProof_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, TronZksnark_CheckZksnarkProof_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -48,20 +49,24 @@ func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRe // TronZksnarkServer is the server API for TronZksnark service. // All implementations must embed UnimplementedTronZksnarkServer -// for forward compatibility +// for forward compatibility. type TronZksnarkServer interface { CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) mustEmbedUnimplementedTronZksnarkServer() } -// UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations. -type UnimplementedTronZksnarkServer struct { -} +// UnimplementedTronZksnarkServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedTronZksnarkServer struct{} func (UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented") } func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {} +func (UnimplementedTronZksnarkServer) testEmbeddedByValue() {} // UnsafeTronZksnarkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to TronZksnarkServer will @@ -71,6 +76,13 @@ type UnsafeTronZksnarkServer interface { } func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer) { + // If the following call pancis, it indicates UnimplementedTronZksnarkServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&TronZksnark_ServiceDesc, srv) } diff --git a/gen-proto.bat b/gen-proto.bat index c3417d8..f6e18cd 100644 --- a/gen-proto.bat +++ b/gen-proto.bat @@ -1,7 +1,7 @@ - +go install google.golang.org/protobuf/cmd/protoc-gen-go@latest go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest -protoc -I=./protocol -I./third_party/googleapis --go_out=. --go-grpc_out=. ./protocol/api/*.proto -protoc -I=./protocol -I./third_party/googleapis --go_out=. --go-grpc_out=. ./protocol/core/*.proto -protoc -I=./protocol -I./third_party/googleapis --go_out=. --go-grpc_out=. ./protocol/core/contract/*.proto \ No newline at end of file +protoc -I./protocol -I./third_party/googleapis --go_out=. --go-grpc_out=. ./protocol/api/*.proto +protoc -I./protocol -I./third_party/googleapis --go_out=. --go-grpc_out=. ./protocol/core/*.proto +protoc -I./protocol -I./third_party/googleapis --go_out=. --go-grpc_out=. ./protocol/core/contract/*.proto diff --git a/go.mod b/go.mod index 1d37c9b..8ba75fb 100644 --- a/go.mod +++ b/go.mod @@ -1,46 +1,62 @@ module tron -go 1.20 +go 1.23 require ( github.com/BurntSushi/toml v1.3.2 - github.com/ethereum/go-ethereum v1.13.11 + github.com/ethereum/go-ethereum v1.14.9 github.com/go-sql-driver/mysql v1.7.1 - github.com/mattn/go-sqlite3 v1.14.21 github.com/semrush/zenrpc/v2 v2.1.1 github.com/shopspring/decimal v1.3.1 github.com/smirkcat/hdwallet v0.0.0-20240202015538-b4b7e122f82e github.com/takama/daemon v1.0.0 go.uber.org/zap v1.26.0 - golang.org/x/crypto v0.18.0 - google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe // indirect - google.golang.org/grpc v1.61.0 - google.golang.org/protobuf v1.32.0 + golang.org/x/crypto v0.27.0 // indirect + google.golang.org/grpc v1.67.0 + google.golang.org/protobuf v1.34.2 gopkg.in/natefinch/lumberjack.v2 v2.2.1 xorm.io/xorm v1.3.7 ) -require google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe +require google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 + +require ( + github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9 // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/ncruces/go-strftime v0.1.9 // indirect + github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect + golang.org/x/net v0.29.0 // indirect + golang.org/x/tools v0.25.0 // indirect + modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect + modernc.org/libc v1.55.3 // indirect + modernc.org/mathutil v1.6.0 // indirect + modernc.org/memory v1.8.0 // indirect + modernc.org/strutil v1.2.0 // indirect + modernc.org/token v1.1.0 // indirect +) require ( github.com/beorn7/perks v1.0.1 // indirect - github.com/bits-and-blooms/bitset v1.13.0 // indirect - github.com/btcsuite/btcd v0.24.0 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect - github.com/btcsuite/btcd/btcutil v1.1.5 // indirect + github.com/bits-and-blooms/bitset v1.14.3 // indirect + github.com/btcsuite/btcd v0.24.2 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect + github.com/btcsuite/btcd/btcutil v1.1.6 // indirect github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/consensys/bavard v0.1.13 // indirect - github.com/consensys/gnark-crypto v0.12.1 // indirect - github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect - github.com/ethereum/c-kzg-4844 v0.4.0 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect + github.com/consensys/bavard v0.1.17 // indirect + github.com/consensys/gnark-crypto v0.14.0 // indirect + github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect + github.com/ethereum/c-kzg-4844 v1.0.3 // indirect github.com/goccy/go-json v0.10.2 // indirect github.com/gofrs/uuid v4.4.0+incompatible // indirect - github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect github.com/gorilla/websocket v1.5.1 // indirect - github.com/holiman/uint256 v1.2.4 // indirect + github.com/holiman/uint256 v1.3.1 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/mmcloughlin/addchain v0.4.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect @@ -50,16 +66,16 @@ require ( github.com/prometheus/common v0.46.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect github.com/shengdoushi/base58 v1.0.0 // indirect - github.com/supranational/blst v0.3.11 // indirect + github.com/supranational/blst v0.3.13 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect github.com/tyler-smith/go-bip39 v1.1.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect - golang.org/x/net v0.20.0 // indirect - golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect + golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 // indirect + modernc.org/sqlite v1.33.1 rsc.io/tmplfunc v0.0.3 // indirect xorm.io/builder v0.3.13 // indirect ) diff --git a/go.sum b/go.sum index a4e2cba..f95441f 100644 --- a/go.sum +++ b/go.sum @@ -1,70 +1,38 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s= gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:EXuID2Zs0pAQhH8yz+DNjUbjppKQzKFAn28TMYPB6IU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ= +github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA= -github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= +github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= +github.com/VictoriaMetrics/fastcache v1.12.2 h1:N0y9ASrJ0F6h0QaC3o6uJb3NIZ9VKLjCM7NQbSmF7WI= +github.com/VictoriaMetrics/fastcache v1.12.2/go.mod h1:AmC+Nzz1+3G2eCPapF6UcsnkThDcMsQicp4xDukwJYI= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bits-and-blooms/bitset v1.13.0 h1:bAQ9OPNFYbGHV6Nez0tmNI0RiEu7/hxlYJRUA0wFAVE= -github.com/bits-and-blooms/bitset v1.13.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= +github.com/bits-and-blooms/bitset v1.14.3 h1:Gd2c8lSNf9pKXom5JtD7AaKO8o7fGQ2LtFj1436qilA= +github.com/bits-and-blooms/bitset v1.14.3/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c/go.mod h1:tjmYdS6MLJ5/s0Fj4DbLgSbDHbEqLJrtnHecBFkdz5M= github.com/btcsuite/btcd v0.23.5-0.20231215221805-96c9fd8078fd/go.mod h1:nm3Bko6zh6bWP60UxwoT5LzdGJsQJaPo6HjduXq9p6A= -github.com/btcsuite/btcd v0.24.0 h1:gL3uHE/IaFj6fcZSu03SvqPMSx7s/dPzfpG/atRwWdo= -github.com/btcsuite/btcd v0.24.0/go.mod h1:K4IDc1593s8jKXIF7yS7yCTSxrknB9z0STzc2j6XgE4= +github.com/btcsuite/btcd v0.24.2 h1:aLmxPguqxza+4ag8R1I2nnJjSu2iFn/kqtHTIImswcY= +github.com/btcsuite/btcd v0.24.2/go.mod h1:5C8ChTkl5ejr3WHj8tkQSCmydiMEPB0ZhQhehpq7Dgg= github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA= github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= -github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U= -github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= +github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ= +github.com/btcsuite/btcd/btcec/v2 v2.3.4/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= github.com/btcsuite/btcd/btcutil v1.0.0/go.mod h1:Uoxwv0pqYWhD//tfTiipkxNfdhG9UrLwaeswfjfdF0A= github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE= -github.com/btcsuite/btcd/btcutil v1.1.5 h1:+wER79R5670vs/ZusMTF1yTcRYE5GUsFbdjdisflzM8= github.com/btcsuite/btcd/btcutil v1.1.5/go.mod h1:PSZZ4UitpLBWzxGd5VGOrLnmOjtPP/a6HaFo12zMs00= +github.com/btcsuite/btcd/btcutil v1.1.6 h1:zFL2+c3Lb9gEgqKNzowKUPQNb8jV7v5Oaodi/AYFd6c= +github.com/btcsuite/btcd/btcutil v1.1.6/go.mod h1:9dFymx8HpuLqBnsPELrImQeTQfKBQqzqGbbV3jK55aE= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 h1:59Kx4K6lzOW5w6nFlA0v5+lk/6sjybR934QNHSJZPTQ= @@ -78,63 +46,64 @@ github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cockroachdb/errors v1.8.1 h1:A5+txlVZfOqFBDa4mGz2bUWSp0aHElvHX2bKkdbQu+Y= -github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f h1:o/kfcElHqOiXqcou5a3rIlMc7oJbMQkeLk0VQJ7zgqY= -github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593 h1:aPEJyR4rPBvDmeyi+l/FS/VtA00IWvjeFvjen1m1l1A= -github.com/cockroachdb/redact v1.0.8 h1:8QG/764wK+vmEYoOlfobpe12EQcS81ukx/a4hdVMxNw= -github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2 h1:IKgmqgMQlVJIZj19CdocBeSfSaiCbEBZGKODaixqtHM= +github.com/cockroachdb/errors v1.11.3 h1:5bA+k2Y6r+oz/6Z/RFlNeVCesGARKuC6YymtcDrbC/I= +github.com/cockroachdb/errors v1.11.3/go.mod h1:m4UIW4CDjx+R5cybPsNrRbreomiFqt8o1h1wUVazSd8= +github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce h1:giXvy4KSc/6g/esnpM7Geqxka4WSqI1SZc7sMJFd3y4= +github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce/go.mod h1:9/y3cnZ5GKakj/H4y9r9GTjCvAFta7KLgSHPJJYc52M= +github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= +github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= +github.com/cockroachdb/pebble v1.1.2 h1:CUh2IPtR4swHlEj48Rhfzw6l/d0qA31fItcIszQVIsA= +github.com/cockroachdb/pebble v1.1.2/go.mod h1:4exszw1r40423ZsmkG/09AFEG83I0uDgfujJdbL6kYU= +github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= +github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= -github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/YjhQ= -github.com/consensys/bavard v0.1.13/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= -github.com/consensys/gnark-crypto v0.12.1 h1:lHH39WuuFgVHONRl3J0LRBtuYdQTumFSDtJF7HpyG8M= -github.com/consensys/gnark-crypto v0.12.1/go.mod h1:v2Gy7L/4ZRosZ7Ivs+9SfUDr0f5UlG+EM5t7MPHiLuY= -github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 h1:d28BXYi+wUpz1KBmiF9bWrjEMacUEREV6MBi2ODnrfQ= -github.com/crate-crypto/go-kzg-4844 v0.7.0 h1:C0vgZRk4q4EZ/JgPfzuSoxdCq3C3mOZMBShovmncxvA= -github.com/crate-crypto/go-kzg-4844 v0.7.0/go.mod h1:1kMhvPgI0Ky3yIa+9lFySEBUBXkYxeOi8ZF1sYioxhc= +github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= +github.com/consensys/bavard v0.1.17 h1:53CdY/g35YSH9oRoa/b29tZinaiOEJYBmf9vydozPpE= +github.com/consensys/bavard v0.1.17/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= +github.com/consensys/gnark-crypto v0.14.0 h1:DDBdl4HaBtdQsq/wfMwJvZNE80sHidrK3Nfrefatm0E= +github.com/consensys/gnark-crypto v0.14.0/go.mod h1:CU4UijNPsHawiVGNxe9co07FkzCeWHHrb1li/n1XoU0= +github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a h1:W8mUrRp6NOVl3J+MYp5kPMoUZPp7aOYHtaua31lwRHg= +github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a/go.mod h1:sTwzHBvIzm2RfVCGNEBZgRyjwK40bVoun3ZnGOCafNM= +github.com/crate-crypto/go-kzg-4844 v1.1.0 h1:EN/u9k2TF6OWSHrCCDBBU6GLNMq88OspHHlMnHfoyU4= +github.com/crate-crypto/go-kzg-4844 v1.1.0/go.mod h1:JolLjpSff1tCCJKaJx4psrlEdlXuJEC996PL3tTAFks= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y= +github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnNEcHYvcCuK6dPZSg= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/c-kzg-4844 v0.4.0 h1:3MS1s4JtA868KpJxroZoepdV0ZKBp3u/O5HcZ7R3nlY= -github.com/ethereum/c-kzg-4844 v0.4.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= -github.com/ethereum/go-ethereum v1.13.11 h1:b51Dsm+rEg7anFRUMGB8hODXHvNfcRKzz9vcj8wSdUs= -github.com/ethereum/go-ethereum v1.13.11/go.mod h1:gFtlVORuUcT+UUIcJ/veCNjkuOSujCi338uSHJrYAew= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= +github.com/ethereum/c-kzg-4844 v1.0.3 h1:IEnbOHwjixW2cTvKRUlAAUOeleV7nNM/umJR+qy4WDs= +github.com/ethereum/c-kzg-4844 v1.0.3/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= +github.com/ethereum/go-ethereum v1.14.9 h1:J7iwXDrtUyE9FUjUYbd4c9tyzwMh6dTJsKzo9i6SrwA= +github.com/ethereum/go-ethereum v1.14.9/go.mod h1:QeW+MtTpRdBEm2pUFoonByee8zfHv7kGp0wK0odvU1I= +github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9 h1:8NfxH2iXvJ60YRB8ChToFTUzl8awsc3cJ8CbLjGIl/A= +github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46 h1:BAIP2GihuqhwdILrV+7GJel5lyPV3u1+PgzrWLc0TkE= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/getsentry/sentry-go v0.27.0 h1:Pv98CIbtB3LkMWmXi4Joa5OOcwbmnX88sF5qbK3r3Ps= +github.com/getsentry/sentry-go v0.27.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= +github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= @@ -142,120 +111,82 @@ github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg78 github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= +github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA= github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb h1:PBC98N2aIaM3XXiurYmW7fx4GZkL8feAMVq7nEjURHk= github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd h1:gbpYu9NMq8jhDVbvlGkMFWCjLFlqqEZjEmObmhUy6Vo= +github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= -github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/holiman/uint256 v1.2.4 h1:jUc4Nk8fm9jZabQuqr2JzednajVmBpC+oiTiXZJEApU= -github.com/holiman/uint256 v1.2.4/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E= +github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= +github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= +github.com/holiman/uint256 v1.3.1 h1:JfTzmih28bittyHM8z360dCjIA9dbPIBlcTI6lmctQs= +github.com/holiman/uint256 v1.3.1/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= -github.com/klauspost/compress v1.15.15 h1:EF27CXIuDsYJ6mmvtBRlEuB2UVOqHG1tAXgZ7yIO+lw= +github.com/klauspost/compress v1.16.0 h1:iULayQNOReoYUe+1qtKOqw9CwJv3aNQu8ivo7lw1HU4= +github.com/klauspost/compress v1.16.0/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= -github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/leanovate/gopter v0.2.11 h1:vRjThO1EKPb/1NsDXuDrzldR28RLkBflWYcU9CvzWu4= +github.com/leanovate/gopter v0.2.11/go.mod h1:aK3tzZP/C+p1m3SPRE4SYZFGP7jjkuSI4f7Xvpt0S9c= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-sqlite3 v1.14.21 h1:IXocQLOykluc3xPE0Lvy8FtggMz1G+U3mEjg+0zGizc= -github.com/mattn/go-sqlite3 v1.14.21/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= +github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= +github.com/mattn/go-sqlite3 v1.14.16/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/mmcloughlin/addchain v0.4.0 h1:SobOdjm2xLj1KkXN5/n0xTIWyZA2+s99UCY1iPfkHRY= github.com/mmcloughlin/addchain v0.4.0/go.mod h1:A86O+tHqZLMNO4w6ZZ4FlVQEadcoqkyU72HC5wJ4RlU= github.com/mmcloughlin/profile v0.1.1/go.mod h1:IhHD7q1ooxgwTgjxQYkACGA77oFTDdFVejUS1/tS/qU= @@ -267,11 +198,13 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= +github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= @@ -296,64 +229,60 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.0 h1:C+UIj/QWtmqY13Arb8kwMt5j34/0Z2iKamrJ+ryC0Gg= -github.com/prometheus/client_golang v1.12.0/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a h1:CmF68hwI0XsOQ5UwlBopMi2Ow4Pbg32akc4KIVCOm+Y= -github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y= github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 h1:OdAsTTz6OkFY5QxjkYwrChwuRruF69c169dPK26NUlk= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/semrush/zenrpc/v2 v2.1.1 h1:LhtvR6tkqwPUXbIfM2Qc0ouKig8h8WFcohEZ//LgG0I= github.com/semrush/zenrpc/v2 v2.1.1/go.mod h1:+o94fyVC+TvYuT5ULLyBmql+ezicEFKtsieIXSeWBqg= github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs= github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I= github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU= +github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smirkcat/hdwallet v0.0.0-20240202015538-b4b7e122f82e h1:BV/QAVTliaUogub8s3gWdo95KLksUBMVzMst33EJ1Ro= github.com/smirkcat/hdwallet v0.0.0-20240202015538-b4b7e122f82e/go.mod h1:VNAFk5nc5ybmypEWiXIP3K7UJNqRklvHIbVRudNLIDU= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/supranational/blst v0.3.11 h1:LyU6FolezeWAhvQk0k6O/d49jqgO52MSDDfYgbeoEm4= -github.com/supranational/blst v0.3.11/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/supranational/blst v0.3.13 h1:AYeSxdOMacwu7FBmpfloBz5pbFXDmJL33RuwnKtmTjk= +github.com/supranational/blst v0.3.13/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a h1:1ur3QoCqvE5fl+nylMaIr9PVV1w343YRDtsy+Rwu7XI= github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48= @@ -361,21 +290,15 @@ github.com/takama/daemon v1.0.0 h1:XS3VLnFKmqw2Z7fQ/dHRarrVjdir9G3z7BEP8osjizQ= github.com/takama/daemon v1.0.0/go.mod h1:gKlhcjbqtBODg5v9H1nj5dU1a2j2GemtuWSNLD5rxOE= github.com/thoas/go-funk v0.6.0/go.mod h1:+IWnUfUmFO1+WVYQWQtIJHeRRdaIyyYglZN7xzUPe4Q= github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU= +github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= +github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8= github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= -go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= -go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= @@ -383,306 +306,107 @@ go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20240119083558-1b970713d09a h1:Q8/wZp0KX97QFTc2ywcOE0YRjZPVIx+MXInMzdvQqcA= -golang.org/x/exp v0.0.0-20240119083558-1b970713d09a/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= +golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= +golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk= +golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= +golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200722175500-76b94024e4b6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200729173947-1c30660f9f89/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= +golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE= +golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe h1:USL2DhxfgRchafRvt/wYyyQNzwgL7ZiURcozOE/Pkvo= -google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro= -google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe h1:0poefMBYvYbs7g5UkjS6HcxBPaTRAmznle9jnxYoAI8= -google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe h1:bQnxqljG/wqi4NTXu2+DJ3n7APcEA882QZ1JvhQAq9o= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0= -google.golang.org/grpc v1.61.0/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= +google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 h1:wKguEg1hsxI2/L3hUYrpo1RVi48K+uTyzKqprwLXsb8= +google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142/go.mod h1:d6be+8HhtEtucleCbxpPW9PA9XwISACu8nvpPqF0BVo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 h1:N9BgCIAUvn/M+p4NJccWPWb3BWh88+zyL0ll9HgbEeM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= +google.golang.org/grpc v1.67.0 h1:IdH9y6PF5MPSdAntIcpjQ+tXO41pcQsfZV2RxtQgVcw= +google.golang.org/grpc v1.67.0/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= -google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= @@ -698,30 +422,34 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -lukechampine.com/uint128 v1.2.0 h1:mBi/5l91vocEN8otkC5bDLhi2KdCticRiwbdB0O+rjI= -modernc.org/cc/v3 v3.40.0 h1:P3g79IUS/93SYhtoeaHW+kRCIrYaxJ27MFPv+7kaTOw= -modernc.org/ccgo/v3 v3.16.13 h1:Mkgdzl46i5F/CNR/Kj80Ri59hC8TKAhZrYSaqvkwzUw= -modernc.org/libc v1.22.2 h1:4U7v51GyhlWqQmwCHj28Rdq2Yzwk55ovjFrdPjs8Hb0= -modernc.org/mathutil v1.5.0 h1:rV0Ko/6SfM+8G+yKiyI830l3Wuz1zRutdslNoQ0kfiQ= -modernc.org/memory v1.4.0 h1:crykUfNSnMAXaOJnnxcSzbUGMqkLWjklJKkBK2nwZwk= +modernc.org/cc/v4 v4.21.4 h1:3Be/Rdo1fpr8GrQ7IVw9OHtplU4gWbb+wNgeoBMmGLQ= +modernc.org/cc/v4 v4.21.4/go.mod h1:HM7VJTZbUCR3rV8EYBi9wxnJ0ZBRiGE5OeGXNA0IsLQ= +modernc.org/ccgo/v4 v4.19.2 h1:lwQZgvboKD0jBwdaeVCTouxhxAyN6iawF3STraAal8Y= +modernc.org/ccgo/v4 v4.19.2/go.mod h1:ysS3mxiMV38XGRTTcgo0DQTeTmAO4oCmJl1nX9VFI3s= +modernc.org/fileutil v1.3.0 h1:gQ5SIzK3H9kdfai/5x41oQiKValumqNTDXMvKo62HvE= +modernc.org/fileutil v1.3.0/go.mod h1:XatxS8fZi3pS8/hKG2GH/ArUogfxjpEKs3Ku3aK4JyQ= +modernc.org/gc/v2 v2.4.1 h1:9cNzOqPyMJBvrUipmynX0ZohMhcxPtMccYgGOJdOiBw= +modernc.org/gc/v2 v2.4.1/go.mod h1:wzN5dK1AzVGoH6XOzc3YZ+ey/jPgYHLuVckd62P0GYU= +modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 h1:5D53IMaUuA5InSeMu9eJtlQXS2NxAhyWQvkKEgXZhHI= +modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6/go.mod h1:Qz0X07sNOR1jWYCrJMEnbW/X55x206Q7Vt4mz6/wHp4= +modernc.org/libc v1.55.3 h1:AzcW1mhlPNrRtjS5sS+eW2ISCgSOLLNyFzRh/V3Qj/U= +modernc.org/libc v1.55.3/go.mod h1:qFXepLhz+JjFThQ4kzwzOjA/y/artDeg+pcYnY+Q83w= +modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= +modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= +modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E= +modernc.org/memory v1.8.0/go.mod h1:XPZ936zp5OMKGWPqbD3JShgd/ZoQ7899TUuQqxY+peU= modernc.org/opt v0.1.3 h1:3XOZf2yznlhC+ibLltsDGzABUGVx8J6pnFMS3E4dcq4= -modernc.org/sqlite v1.20.4 h1:J8+m2trkN+KKoE7jglyHYYYiaq5xmz2HoHJIiBlRzbE= -modernc.org/strutil v1.1.3 h1:fNMm+oJklMGYfU9Ylcywl0CO5O6nTfaowNsh2wpPjzY= -modernc.org/token v1.0.1 h1:A3qvTqOwexpfZZeyI0FeGPDlSWX5pjZu9hF4lU+EKWg= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= +modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sortutil v1.2.0 h1:jQiD3PfS2REGJNzNCMMaLSp/wdMNieTbKX920Cqdgqc= +modernc.org/sortutil v1.2.0/go.mod h1:TKU2s7kJMf1AE84OoiGppNHJwvB753OYfNl2WRb++Ss= +modernc.org/sqlite v1.33.1 h1:trb6Z3YYoeM9eDL1O8do81kP+0ejv+YzgyFo+Gwy0nM= +modernc.org/sqlite v1.33.1/go.mod h1:pXV2xHxhzXZsgT/RtTFAPY6JJDEvOTcTdwADQCCWD4k= +modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= +modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= +modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= +modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= rsc.io/tmplfunc v0.0.3 h1:53XFQh69AfOa8Tw0Jm7t+GV7KZhOi6jzsCzTtKbMvzU= rsc.io/tmplfunc v0.0.3/go.mod h1:AG3sTPzElb1Io3Yg4voV9AGZJuleGAwaVRxL9M49PhA= -xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978 h1:bvLlAPW1ZMTWA32LuZMBEGHAUOcATZjzHcotf3SWweM= -xorm.io/builder v0.3.11-0.20220531020008-1bd24a7dc978/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE= xorm.io/builder v0.3.13 h1:a3jmiVVL19psGeXx8GIurTp7p0IIgqeDmwhcR6BAOAo= xorm.io/builder v0.3.13/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE= xorm.io/xorm v1.3.7 h1:mLceAGu0b87r9pD4qXyxGHxifOXIIrAdVcA6k95/osw= diff --git a/main.go b/main.go index 5845108..33bda9b 100644 --- a/main.go +++ b/main.go @@ -29,14 +29,14 @@ func main() { <-exit } -// go build -ldflags "-X \"main.BuildDate=%BUILD_DATE%\"" +// go build -ldflags "-X \"main.BuildVersion=%COMMIT_HASH%\" -X \"main.BuildDate=%BUILD_DATE%\"" var ( BuildVersion string BuildDate string ) // Version . -const Version = "tronrpc version --v1.0.0" +const Version = "tronrpc version --v1.1.0" func timePrint() string { return time.Now().Local().Format("2006-01-02T15:04:05.000Z07:00") @@ -52,7 +52,7 @@ func sufFun() { fmt.Printf("tronrpc exit, time=%s\n", timePrint()) } -//显示版本信息 +// 显示版本信息 func showVersion() { if len(os.Args) < 2 { return diff --git a/make.bat b/make.bat new file mode 100644 index 0000000..40774dc --- /dev/null +++ b/make.bat @@ -0,0 +1,9 @@ +@echo off +set time_hh=%time:~0,2% +if /i %time_hh% LSS 10 (set time_hh=0%time:~1,1%) +set BUILD_DATE=%date:~,4%-%date:~5,2%-%date:~8,2% %time_hh%:%time:~3,2%:%time:~6,2% + +for /F %%i in ('git rev-parse HEAD') do ( set COMMIT_HASH=%%i) + + +go build -trimpath -ldflags "-w -s" -ldflags "-X \"main.BuildVersion=%COMMIT_HASH%\" -X \"main.BuildDate=%BUILD_DATE%\"" \ No newline at end of file diff --git a/make.sh b/make.sh index d69b5c3..84fda92 100644 --- a/make.sh +++ b/make.sh @@ -1,5 +1,4 @@ #!/bin/sh COMMIT_HASH=`git rev-parse HEAD 2>/dev/null` BUILD_DATE=`(date "+%Y-%m-%d %H:%M:%S")` -# export GOPROXY="https://goproxy.io" go build -trimpath -ldflags "-w -s" -ldflags "-X \"main.BuildVersion=${COMMIT_HASH}\" -X \"main.BuildDate=${BUILD_DATE}\"" \ No newline at end of file diff --git a/protocol b/protocol index 961d063..2a67893 160000 --- a/protocol +++ b/protocol @@ -1 +1 @@ -Subproject commit 961d0632b67971762dc5a8eefab50ed08d5c8673 +Subproject commit 2a678934da3992b1a67f975769bbb2d31989451f diff --git a/trx/db.go b/trx/db.go index 839b39c..21bec14 100644 --- a/trx/db.go +++ b/trx/db.go @@ -3,7 +3,7 @@ package trx import ( "strconv" - _ "github.com/mattn/go-sqlite3" + _ "modernc.org/sqlite" "xorm.io/xorm" ) @@ -87,7 +87,7 @@ func (db *DB) Session() *xorm.Session { // NewDB 初始化数据库 func NewDB(url string) (*DB, error) { - engine, err := xorm.NewEngine("sqlite3", url) + engine, err := xorm.NewEngine("sqlite", url) return &DB{ Engine: engine, }, err