diff --git a/CHANGELOG.md b/CHANGELOG.md index 73fa6b346..6ebeb799c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## V1.6.0 +This release introduces the Serengeti upgrade. + +Features: +* [#580](https://github.com/bnb-chain/greenfield/pull/580) feat: remove create object & bucket approval +* [#581](https://github.com/bnb-chain/greenfield/pull/581) feat: allow SP to create/update object for delegator + + ## v1.5.0 This release introduces the Pawnee upgrade to Testnet and Mainnet diff --git a/app/upgrade.go b/app/upgrade.go index 0e663f5c0..4a78de172 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -230,7 +230,6 @@ func (app *App) registerSerengetiUpgradeHandler() { app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgDelegateCreateObject{}), 1.2e3)) app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgDelegateUpdateObjectContent{}), 1.2e3)) app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgSealObjectV2{}), 1.2e2)) - app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgSetBucketFlowRateLimit{}), 1.2e3)) return app.mm.RunMigrations(ctx, app.configurator, fromVM) }) diff --git a/deployment/localup/localup.sh b/deployment/localup/localup.sh index 5553b9ea1..bbdc9d9bd 100644 --- a/deployment/localup/localup.sh +++ b/deployment/localup/localup.sh @@ -179,6 +179,7 @@ function generate_genesis() { echo -e '[[upgrade]]\nname = "Ural"\nheight = 22\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml echo -e '[[upgrade]]\nname = "Pawnee"\nheight = 23\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml echo -e '[[upgrade]]\nname = "Serengeti"\nheight = 24\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml + echo -e '[[upgrade]]\nname = "Erdos"\nheight = 25\ninfo = ""' >> ${workspace}/.local/validator${i}/config/app.toml done # enable swagger API for validator0 diff --git a/e2e/tests/permission_test.go b/e2e/tests/permission_test.go index a0654501d..26722a695 100644 --- a/e2e/tests/permission_test.go +++ b/e2e/tests/permission_test.go @@ -471,7 +471,7 @@ func (s *StorageTestSuite) TestCreateObjectByOthersExpiration() { s.Require().Equal(queryPolicyForAccountResp.Policy.ResourceType, resource.RESOURCE_TYPE_BUCKET) s.Require().Equal(queryPolicyForAccountResp.Policy.ResourceId, queryHeadBucketResponse.BucketInfo.Id) - time.Sleep(5 * time.Second) + time.Sleep(6 * time.Second) // CreateObject objectName := storageutil.GenRandomObjectName() // create test buffer diff --git a/e2e/tests/storage_rate_limit_test.go b/e2e/tests/storage_rate_limit_test.go index e2e01bd8d..15c0c4d10 100644 --- a/e2e/tests/storage_rate_limit_test.go +++ b/e2e/tests/storage_rate_limit_test.go @@ -5,14 +5,85 @@ import ( "context" "fmt" "math" + "strconv" + "time" sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + gashubtypes "github.com/cosmos/cosmos-sdk/x/gashub/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govtypesv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + "github.com/prysmaticlabs/prysm/crypto/bls" + + "github.com/bnb-chain/greenfield/e2e/core" + "github.com/bnb-chain/greenfield/sdk/keys" + types2 "github.com/bnb-chain/greenfield/sdk/types" storageutils "github.com/bnb-chain/greenfield/testutil/storage" storagetypes "github.com/bnb-chain/greenfield/x/storage/types" + virtualgrouptypes "github.com/bnb-chain/greenfield/x/virtualgroup/types" ) +func (s *StorageTestSuite) enableMessage() { + msgSetBucketFlowRateLimit := sdk.MsgTypeURL(&storagetypes.MsgSetBucketFlowRateLimit{}) + msgMigrateBuketGasParams := gashubtypes.NewMsgGasParamsWithFixedGas(msgSetBucketFlowRateLimit, 1.2e3) + + msgUpdateGasParams := gashubtypes.NewMsgSetMsgGasParams(authtypes.NewModuleAddress(govtypes.ModuleName).String(), []*gashubtypes.MsgGasParams{msgMigrateBuketGasParams}, nil) + + var err error + validator := s.Validator.GetAddr() + + ctx := context.Background() + + msgProposal, err := govtypesv1.NewMsgSubmitProposal( + []sdk.Msg{msgUpdateGasParams}, + sdk.Coins{sdk.NewCoin(s.BaseSuite.Config.Denom, types2.NewIntFromInt64WithDecimal(100, types2.DecimalBNB))}, + validator.String(), + "test", "test", "test", + ) + s.Require().NoError(err) + + txRes := s.SendTxBlock(s.Validator, msgProposal) + s.Require().Equal(txRes.Code, uint32(0)) + + // 3. query proposal and get proposal ID + var proposalId uint64 + for _, event := range txRes.Logs[0].Events { + if event.Type == "submit_proposal" { + for _, attr := range event.Attributes { + if attr.Key == "proposal_id" { + proposalId, err = strconv.ParseUint(attr.Value, 10, 0) + s.Require().NoError(err) + break + } + } + break + } + } + s.Require().True(proposalId != 0) + + queryProposal := &govtypesv1.QueryProposalRequest{ProposalId: proposalId} + _, err = s.Client.GovQueryClientV1.Proposal(ctx, queryProposal) + s.Require().NoError(err) + + // 4. submit MsgVote and wait the proposal exec + msgVote := govtypesv1.NewMsgVote(validator, proposalId, govtypesv1.OptionYes, "test") + txRes = s.SendTxBlock(s.Validator, msgVote) + s.Require().Equal(txRes.Code, uint32(0)) + + queryVoteParamsReq := govtypesv1.QueryParamsRequest{ParamsType: "voting"} + queryVoteParamsResp, err := s.Client.GovQueryClientV1.Params(ctx, &queryVoteParamsReq) + s.Require().NoError(err) + + // 5. wait a voting period and confirm that the proposal success. + s.T().Logf("voting period %s", *queryVoteParamsResp.Params.VotingPeriod) + time.Sleep(*queryVoteParamsResp.Params.VotingPeriod) + time.Sleep(1 * time.Second) + proposalRes, err := s.Client.GovQueryClientV1.Proposal(ctx, queryProposal) + s.Require().NoError(err) + s.Require().Equal(proposalRes.Proposal.Status, govtypesv1.ProposalStatus_PROPOSAL_STATUS_PASSED) +} + func (s *StorageTestSuite) TestSetBucketRateLimitToZero() { var err error sp := s.BaseSuite.PickStorageProvider() @@ -93,6 +164,8 @@ func (s *StorageTestSuite) TestSetBucketRateLimitToZero() { // 6. the payment account set the rate limit to a positive number // 7. user create an object in the bucket and it should pass func (s *StorageTestSuite) TestNotOwnerSetBucketRateLimit_Object() { + s.enableMessage() + var err error sp := s.BaseSuite.PickStorageProvider() gvg, found := sp.GetFirstGlobalVirtualGroup() @@ -185,6 +258,7 @@ func (s *StorageTestSuite) TestNotOwnerSetBucketRateLimit_Object() { // 6. the payment account set the rate limit to a positive number // 7. user update the read quota to a positive number and it should pass func (s *StorageTestSuite) TestNotOwnerSetBucketRateLimit_Bucket() { + s.enableMessage() var err error sp := s.BaseSuite.PickStorageProvider() gvg, found := sp.GetFirstGlobalVirtualGroup() @@ -404,3 +478,158 @@ func (s *StorageTestSuite) TestQueryBucketRateLimit() { s.Require().Equal(queryBucketRateLimitResponse.IsSet, true) s.Require().Equal(queryBucketRateLimitResponse.FlowRateLimit, sdkmath.NewInt(100000000000000)) } + +func (s *StorageTestSuite) TestSetBucketFlowRateLimit_Discontinue() { + sp, user, bucketName, _, _, _ := s.createObjectWithNewGvg(storagetypes.VISIBILITY_TYPE_PRIVATE) + + // SetBucketRateLimit + msgSetBucketRateLimit := storagetypes.NewMsgSetBucketFlowRateLimit(user.GetAddr(), user.GetAddr(), user.GetAddr(), bucketName, sdkmath.NewInt(0)) + s.SendTxBlock(user, msgSetBucketRateLimit) + + queryHeadBucketRequest := storagetypes.QueryHeadBucketRequest{ + BucketName: bucketName, + } + queryHeadBucketResponse, err := s.Client.HeadBucket(context.Background(), &queryHeadBucketRequest) + s.Require().NoError(err) + + s.Require().Equal(queryHeadBucketResponse.ExtraInfo.IsRateLimited, true) + + msgDiscontinueBucket := storagetypes.NewMsgDiscontinueBucket(sp.GcKey.GetAddr(), bucketName, "test") + txRes1 := s.SendTxBlock(sp.GcKey, msgDiscontinueBucket) + deleteAt1 := filterDiscontinueBucketEventFromTx(txRes1).DeleteAt + + for { + time.Sleep(200 * time.Millisecond) + statusRes, err := s.TmClient.TmClient.Status(context.Background()) + s.Require().NoError(err) + blockTime := statusRes.SyncInfo.LatestBlockTime.Unix() + + s.T().Logf("current blockTime: %d, delete blockTime: %d", blockTime, deleteAt1) + + if blockTime >= deleteAt1 { + break + } + } +} + +func (s *StorageTestSuite) createObjectWithNewGvg(v storagetypes.VisibilityType) (*core.StorageProvider, keys.KeyManager, string, storagetypes.Uint, string, storagetypes.Uint) { + var err error + // CreateBucket + sp := s.BaseSuite.PickStorageProvider() + + _, secondarySps := s.GetSecondarySP(sp) + gvgID, _ := s.BaseSuite.CreateGlobalVirtualGroup(sp, 0, secondarySps, 1) + gvgResp, err := s.Client.VirtualGroupQueryClient.GlobalVirtualGroup(context.Background(), &virtualgrouptypes.QueryGlobalVirtualGroupRequest{ + GlobalVirtualGroupId: gvgID, + }) + s.Require().NoError(err) + gvg := gvgResp.GlobalVirtualGroup + + user := s.GenAndChargeAccounts(1, 1000000)[0] + bucketName := storageutils.GenRandomBucketName() + msgCreateBucket := storagetypes.NewMsgCreateBucket( + user.GetAddr(), bucketName, v, sp.OperatorKey.GetAddr(), + nil, math.MaxUint, nil, 0) + msgCreateBucket.PrimarySpApproval.GlobalVirtualGroupFamilyId = gvg.FamilyId + msgCreateBucket.PrimarySpApproval.Sig, err = sp.ApprovalKey.Sign(msgCreateBucket.GetApprovalBytes()) + s.Require().NoError(err) + s.SendTxBlock(user, msgCreateBucket) + + // HeadBucket + ctx := context.Background() + queryHeadBucketRequest := storagetypes.QueryHeadBucketRequest{ + BucketName: bucketName, + } + queryHeadBucketResponse, err := s.Client.HeadBucket(ctx, &queryHeadBucketRequest) + s.Require().NoError(err) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.BucketName, bucketName) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.Owner, user.GetAddr().String()) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.GlobalVirtualGroupFamilyId, gvg.FamilyId) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.PaymentAddress, user.GetAddr().String()) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.Visibility, v) + s.Require().Equal(queryHeadBucketResponse.BucketInfo.SourceType, storagetypes.SOURCE_TYPE_ORIGIN) + + // CreateObject + objectName := storageutils.GenRandomObjectName() + // create test buffer + var buffer bytes.Buffer + line := `1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890, + 1234567890,1234567890,1234567890,123` + // Create 1MiB content where each line contains 1024 characters. + for i := 0; i < 1024; i++ { + buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line)) + } + payloadSize := buffer.Len() + checksum := sdk.Keccak256(buffer.Bytes()) + expectChecksum := [][]byte{checksum, checksum, checksum, checksum, checksum, checksum, checksum} + contextType := "text/event-stream" + msgCreateObject := storagetypes.NewMsgCreateObject(user.GetAddr(), bucketName, objectName, uint64(payloadSize), v, expectChecksum, contextType, storagetypes.REDUNDANCY_EC_TYPE, math.MaxUint, nil) + msgCreateObject.PrimarySpApproval.Sig, err = sp.ApprovalKey.Sign(msgCreateObject.GetApprovalBytes()) + s.Require().NoError(err) + s.SendTxBlock(user, msgCreateObject) + + // HeadObject + queryHeadObjectRequest := storagetypes.QueryHeadObjectRequest{ + BucketName: bucketName, + ObjectName: objectName, + } + queryHeadObjectResponse, err := s.Client.HeadObject(ctx, &queryHeadObjectRequest) + s.Require().NoError(err) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.ObjectName, objectName) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.BucketName, bucketName) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.PayloadSize, uint64(payloadSize)) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.Visibility, v) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.ObjectStatus, storagetypes.OBJECT_STATUS_CREATED) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.Owner, user.GetAddr().String()) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.Checksums, expectChecksum) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.SourceType, storagetypes.SOURCE_TYPE_ORIGIN) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.RedundancyType, storagetypes.REDUNDANCY_EC_TYPE) + s.Require().Equal(queryHeadObjectResponse.ObjectInfo.ContentType, contextType) + + // SealObject + gvgId := gvg.Id + msgSealObject := storagetypes.NewMsgSealObject(sp.SealKey.GetAddr(), bucketName, objectName, gvgId, nil) + + secondarySigs := make([][]byte, 0) + secondarySPBlsPubKeys := make([]bls.PublicKey, 0) + blsSignHash := storagetypes.NewSecondarySpSealObjectSignDoc(s.GetChainID(), gvgId, queryHeadObjectResponse.ObjectInfo.Id, storagetypes.GenerateHash(queryHeadObjectResponse.ObjectInfo.Checksums[:])).GetBlsSignHash() + // every secondary sp signs the checksums + for _, spID := range gvg.SecondarySpIds { + sig, err := core.BlsSignAndVerify(s.StorageProviders[spID], blsSignHash) + s.Require().NoError(err) + secondarySigs = append(secondarySigs, sig) + pk, err := bls.PublicKeyFromBytes(s.StorageProviders[spID].BlsKey.PubKey().Bytes()) + s.Require().NoError(err) + secondarySPBlsPubKeys = append(secondarySPBlsPubKeys, pk) + } + aggBlsSig, err := core.BlsAggregateAndVerify(secondarySPBlsPubKeys, blsSignHash, secondarySigs) + s.Require().NoError(err) + msgSealObject.SecondarySpBlsAggSignatures = aggBlsSig + + s.T().Logf("msg %s", msgSealObject.String()) + s.SendTxBlock(sp.SealKey, msgSealObject) + + // ListBuckets + queryListBucketsRequest := storagetypes.QueryListBucketsRequest{} + queryListBucketResponse, err := s.Client.ListBuckets(ctx, &queryListBucketsRequest) + s.Require().NoError(err) + s.Require().Greater(len(queryListBucketResponse.BucketInfos), 0) + + // ListObject + queryListObjectsRequest := storagetypes.QueryListObjectsRequest{ + BucketName: bucketName, + } + queryListObjectsResponse, err := s.Client.ListObjects(ctx, &queryListObjectsRequest) + s.Require().NoError(err) + s.Require().Equal(len(queryListObjectsResponse.ObjectInfos), 1) + s.Require().Equal(queryListObjectsResponse.ObjectInfos[0].ObjectName, objectName) + return sp, user, bucketName, queryHeadBucketResponse.BucketInfo.Id, objectName, queryListObjectsResponse.ObjectInfos[0].Id +} diff --git a/e2e/tests/storage_test.go b/e2e/tests/storage_test.go index 63ee84549..edf571650 100644 --- a/e2e/tests/storage_test.go +++ b/e2e/tests/storage_test.go @@ -985,6 +985,29 @@ func (s *StorageTestSuite) TestDiscontinueBucket_UserDeleted() { s.Require().True(statusRes.SyncInfo.LatestBlockHeight > heightAfter) } +func (s *StorageTestSuite) GetSecondarySP(sps ...*core.StorageProvider) ([]*core.StorageProvider, []uint32) { + var secondarySPs []*core.StorageProvider + var secondarySPIDs []uint32 + + for _, ssp := range s.StorageProviders { + isSecondSP := true + for _, sp := range sps { + if ssp.Info.Id == sp.Info.Id { + isSecondSP = false + break + } + } + if isSecondSP { + secondarySPIDs = append(secondarySPIDs, ssp.Info.Id) + secondarySPs = append(secondarySPs, ssp) + } + if len(secondarySPIDs) == 6 { + break + } + } + return secondarySPs, secondarySPIDs +} + // createObject with default VISIBILITY_TYPE_PRIVATE func (s *StorageTestSuite) createObject() (*core.StorageProvider, keys.KeyManager, string, storagetypes.Uint, string, storagetypes.Uint) { return s.createObjectWithVisibility(storagetypes.VISIBILITY_TYPE_PRIVATE) diff --git a/go.mod b/go.mod index 4ea71f476..191b048e5 100644 --- a/go.mod +++ b/go.mod @@ -176,7 +176,7 @@ replace ( github.com/cometbft/cometbft => github.com/bnb-chain/greenfield-cometbft v0.0.0-20240402065323-40677309d454 github.com/cometbft/cometbft-db => github.com/bnb-chain/greenfield-cometbft-db v0.8.1-alpha.1 github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 - github.com/cosmos/cosmos-sdk => github.com/bnb-chain/greenfield-cosmos-sdk v1.5.1-0.20240402084406-e0a150a3560b + github.com/cosmos/cosmos-sdk => github.com/bnb-chain/greenfield-cosmos-sdk v1.6.1-0.20240408055344-9b8b942c1b1a github.com/cosmos/iavl => github.com/bnb-chain/greenfield-iavl v0.20.1 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/wercker/journalhook => github.com/wercker/journalhook v0.0.0-20230927020745-64542ffa4117 diff --git a/go.sum b/go.sum index 49b873d07..704b5eeee 100644 --- a/go.sum +++ b/go.sum @@ -163,8 +163,8 @@ github.com/bnb-chain/greenfield-cometbft v0.0.0-20240402065323-40677309d454 h1:m github.com/bnb-chain/greenfield-cometbft v0.0.0-20240402065323-40677309d454/go.mod h1:q9/nqW19iXvxyma5XgcZfxL/OkWI9s5e7yX9ecePz8A= github.com/bnb-chain/greenfield-cometbft-db v0.8.1-alpha.1 h1:XcWulGacHVRiSCx90Q8Y//ajOrLNBQWR/KDB89dy3cU= github.com/bnb-chain/greenfield-cometbft-db v0.8.1-alpha.1/go.mod h1:ey1CiK4bYo1RBNJLRiVbYr5CMdSxci9S/AZRINLtppI= -github.com/bnb-chain/greenfield-cosmos-sdk v1.5.1-0.20240402084406-e0a150a3560b h1:z396+z91HVC26OXxeuwtgBKM940dKMmiSxhJPOo4sDk= -github.com/bnb-chain/greenfield-cosmos-sdk v1.5.1-0.20240402084406-e0a150a3560b/go.mod h1:Vr1w2wnY2BZu8+61/tApisJounytBGxi8Jhp515oZB8= +github.com/bnb-chain/greenfield-cosmos-sdk v1.6.1-0.20240408055344-9b8b942c1b1a h1:/gZArTCLMgoS/QZGiaDWDOJ7Zal0V0+NbJt/VtH+E78= +github.com/bnb-chain/greenfield-cosmos-sdk v1.6.1-0.20240408055344-9b8b942c1b1a/go.mod h1:Vr1w2wnY2BZu8+61/tApisJounytBGxi8Jhp515oZB8= github.com/bnb-chain/greenfield-cosmos-sdk/api v0.0.0-20230816082903-b48770f5e210 h1:GHPbV2bC+gmuO6/sG0Tm8oGal3KKSRlyE+zPscDjlA8= github.com/bnb-chain/greenfield-cosmos-sdk/api v0.0.0-20230816082903-b48770f5e210/go.mod h1:vhsZxXE9tYJeYB5JR4hPhd6Pc/uPf7j1T8IJ7p9FdeM= github.com/bnb-chain/greenfield-cosmos-sdk/math v0.0.0-20230816082903-b48770f5e210 h1:FLVOn4+OVbsKi2+YJX5kmD27/4dRu4FW7xCXFhzDO5s= diff --git a/proto/greenfield/storage/events.proto b/proto/greenfield/storage/events.proto index e3f5149fa..5dec8203f 100644 --- a/proto/greenfield/storage/events.proto +++ b/proto/greenfield/storage/events.proto @@ -654,4 +654,23 @@ message EventBucketFlowRateLimitStatus { string bucket_name = 1; // is_limited define the status of the bucket flow rate limit bool is_limited = 2; + // bucket_id is the unique u256 for bucket. Not global, only unique in buckets. + string bucket_id = 3 [ + (cosmos_proto.scalar) = "cosmos.Uint", + (gogoproto.customtype) = "Uint", + (gogoproto.nullable) = false + ]; +} + +message EventToggleSPAsDelegatedAgent { + // bucket_name define the name of the bucket + string bucket_name = 1; + // bucket_id is the unique u256 for bucket. Not global, only unique in buckets. + string bucket_id = 2 [ + (cosmos_proto.scalar) = "cosmos.Uint", + (gogoproto.customtype) = "Uint", + (gogoproto.nullable) = false + ]; + // sp_as_delegated_agent_disabled indicates that whether bucket owner disable SP as the upload agent. + bool sp_as_delegated_agent_disabled = 3; } diff --git a/x/storage/keeper/bucket_rate_limit.go b/x/storage/keeper/bucket_rate_limit.go index 0ba90e3a9..cc792311a 100644 --- a/x/storage/keeper/bucket_rate_limit.go +++ b/x/storage/keeper/bucket_rate_limit.go @@ -81,7 +81,7 @@ func getTotalOutFlowRate(flows []paymenttypes.OutFlow) sdkmath.Int { // unChargeAndLimitBucket uncharges the bucket and limits the bucket func (k Keeper) unChargeAndLimitBucket(ctx sdk.Context, bucketInfo *types.BucketInfo, paymentAccount sdk.AccAddress, bucketName string) error { - k.setBucketFlowRateLimitStatus(ctx, bucketName, &types.BucketFlowRateLimitStatus{ + k.setBucketFlowRateLimitStatus(ctx, bucketName, bucketInfo.Id, &types.BucketFlowRateLimitStatus{ IsBucketLimited: true, PaymentAddress: paymentAccount.String(), }) @@ -120,7 +120,7 @@ func (k Keeper) setFlowRateLimit(ctx sdk.Context, bucketInfo *types.BucketInfo, if err != nil { return fmt.Errorf("charge bucket failed: %s %s", bucketInfo.BucketName, err.Error()) } - k.deleteBucketFlowRateLimitStatus(ctx, bucketName) + k.deleteBucketFlowRateLimitStatus(ctx, bucketName, bucketInfo.Id) return nil } @@ -165,7 +165,7 @@ func (k Keeper) setBucketFlowRateLimit(ctx sdk.Context, paymentAccount, bucketOw } // setBucketFlowRateLimitStatus sets the flow rate limit status of the bucket to the store -func (k Keeper) setBucketFlowRateLimitStatus(ctx sdk.Context, bucketName string, status *types.BucketFlowRateLimitStatus) { +func (k Keeper) setBucketFlowRateLimitStatus(ctx sdk.Context, bucketName string, bucketId sdkmath.Uint, status *types.BucketFlowRateLimitStatus) { store := ctx.KVStore(k.storeKey) bz := k.cdc.MustMarshal(status) @@ -194,13 +194,14 @@ func (k Keeper) getBucketFlowRateLimitStatus(ctx sdk.Context, bucketName string) } // deleteBucketFlowRateLimitStatus deletes the flow rate limit status of the bucket from the store -func (k Keeper) deleteBucketFlowRateLimitStatus(ctx sdk.Context, bucketName string) { +func (k Keeper) deleteBucketFlowRateLimitStatus(ctx sdk.Context, bucketName string, bucketId sdkmath.Uint) { store := ctx.KVStore(k.storeKey) store.Delete(types.GetBucketFlowRateLimitStatusKey(bucketName)) if err := ctx.EventManager().EmitTypedEvents(&types.EventBucketFlowRateLimitStatus{ BucketName: bucketName, IsLimited: false, + BucketId: bucketId, }); err != nil { panic(err) } diff --git a/x/storage/keeper/keeper.go b/x/storage/keeper/keeper.go index cbdc9ddee..3b30ff330 100644 --- a/x/storage/keeper/keeper.go +++ b/x/storage/keeper/keeper.go @@ -6,6 +6,14 @@ import ( "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" + "github.com/cometbft/cometbft/libs/log" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/store/prefix" + storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/cosmos/gogoproto/proto" + "github.com/bnb-chain/greenfield/internal/sequence" gnfdtypes "github.com/bnb-chain/greenfield/types" types2 "github.com/bnb-chain/greenfield/types" @@ -18,13 +26,6 @@ import ( sptypes "github.com/bnb-chain/greenfield/x/sp/types" "github.com/bnb-chain/greenfield/x/storage/types" virtualgroupmoduletypes "github.com/bnb-chain/greenfield/x/virtualgroup/types" - "github.com/cometbft/cometbft/libs/log" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/cosmos/gogoproto/proto" ) type ( @@ -242,8 +243,9 @@ func (k Keeper) doDeleteBucket(ctx sdk.Context, operator sdk.AccAddress, bucketI store.Delete(types.GetQuotaKey(bucketInfo.Id)) store.Delete(types.GetInternalBucketInfoKey(bucketInfo.Id)) store.Delete(types.GetMigrationBucketKey(bucketInfo.Id)) - store.Delete(types.GetLockedObjectCountKey(bucketInfo.Id)) - + if ctx.IsUpgraded(upgradetypes.Pawnee) { + store.Delete(types.GetLockedObjectCountKey(bucketInfo.Id)) + } err := k.appendResourceIdForGarbageCollection(ctx, resource.RESOURCE_TYPE_BUCKET, bucketInfo.Id) if err != nil { return err @@ -268,8 +270,10 @@ func (k Keeper) doDeleteBucket(ctx sdk.Context, operator sdk.AccAddress, bucketI } } - // delete bucket flow rate limit status - k.deleteBucketFlowRateLimitStatus(ctx, bucketInfo.BucketName) + if ctx.IsUpgraded(upgradetypes.Erdos) { + // delete bucket flow rate limit status + k.deleteBucketFlowRateLimitStatus(ctx, bucketInfo.BucketName, bucketInfo.Id) + } return nil } diff --git a/x/storage/keeper/msg_server.go b/x/storage/keeper/msg_server.go index 3c2dcf3f3..57dad2b1e 100644 --- a/x/storage/keeper/msg_server.go +++ b/x/storage/keeper/msg_server.go @@ -113,8 +113,14 @@ func (k msgServer) ToggleSPAsDelegatedAgent(goCtx context.Context, msg *storaget } bucketInfo.SpAsDelegatedAgentDisabled = !bucketInfo.SpAsDelegatedAgentDisabled k.SetBucketInfo(ctx, bucketInfo) + if err := ctx.EventManager().EmitTypedEvents(&types.EventToggleSPAsDelegatedAgent{ + BucketName: bucketInfo.BucketName, + BucketId: bucketInfo.Id, + SpAsDelegatedAgentDisabled: bucketInfo.SpAsDelegatedAgentDisabled, + }); err != nil { + return nil, err + } return &types.MsgToggleSPAsDelegatedAgentResponse{}, nil - } func (k msgServer) CreateObject(goCtx context.Context, msg *types.MsgCreateObject) (*types.MsgCreateObjectResponse, error) { diff --git a/x/storage/keeper/payment.go b/x/storage/keeper/payment.go index 9fb44c8c2..462359a3f 100644 --- a/x/storage/keeper/payment.go +++ b/x/storage/keeper/payment.go @@ -25,7 +25,7 @@ func (k Keeper) ChargeBucketReadFee(ctx sdk.Context, bucketInfo *storagetypes.Bu return fmt.Errorf("charge bucket read fee failed, get bucket bill failed: %s %s", bucketInfo.BucketName, err.Error()) } - if ctx.IsUpgraded(upgradetypes.Serengeti) { + if ctx.IsUpgraded(upgradetypes.Erdos) { err := k.isBucketFlowRateUnderLimit(ctx, sdk.MustAccAddressFromHex(bucketInfo.PaymentAddress), sdk.MustAccAddressFromHex(bucketInfo.Owner), bucketInfo.BucketName, bill) if err != nil { return err @@ -46,7 +46,7 @@ func (k Keeper) UnChargeBucketReadFee(ctx sdk.Context, bucketInfo *storagetypes. return fmt.Errorf("unexpected total store charge size: %s, %d", bucketInfo.BucketName, internalBucketInfo.TotalChargeSize) } - if ctx.IsUpgraded(upgradetypes.Serengeti) { + if ctx.IsUpgraded(upgradetypes.Erdos) { // if the bucket's flow rate limit is set to zero, no need to uncharge, since the bucket is already uncharged if k.IsBucketRateLimited(ctx, bucketInfo.BucketName) { return nil @@ -145,7 +145,7 @@ func (k Keeper) lockObjectStoreFee(ctx sdk.Context, bucketInfo *storagetypes.Buc }) } - if ctx.IsUpgraded(upgradetypes.Serengeti) && k.shouldCheckRateLimit(ctx, paymentAddr, sdk.MustAccAddressFromHex(bucketInfo.Owner), bucketInfo.BucketName) { + if ctx.IsUpgraded(upgradetypes.Erdos) && k.shouldCheckRateLimit(ctx, paymentAddr, sdk.MustAccAddressFromHex(bucketInfo.Owner), bucketInfo.BucketName) { internalBucketInfo := k.MustGetInternalBucketInfo(ctx, bucketInfo.Id) internalBucketInfo.PriceTime = timestamp nextBill, err := k.GetBucketReadStoreBill(ctx, bucketInfo, internalBucketInfo) @@ -346,7 +346,7 @@ func (k Keeper) ChargeViaBucketChange(ctx sdk.Context, bucketInfo *storagetypes. return fmt.Errorf("get new bucket bill failed: %s %w", bucketInfo.BucketName, err) } - if ctx.IsUpgraded(upgradetypes.Serengeti) { + if ctx.IsUpgraded(upgradetypes.Erdos) { isPreviousBucketLimited := k.IsBucketRateLimited(ctx, bucketInfo.BucketName) if prevPaymentAccount == bucketInfo.PaymentAddress && isPreviousBucketLimited { @@ -365,7 +365,7 @@ func (k Keeper) ChargeViaBucketChange(ctx sdk.Context, bucketInfo *storagetypes. ctx.Logger().Error("charge via bucket change failed", "bucket", bucketInfo.BucketName, "err", err.Error()) return err } - k.deleteBucketFlowRateLimitStatus(ctx, bucketInfo.BucketName) + k.deleteBucketFlowRateLimitStatus(ctx, bucketInfo.BucketName, bucketInfo.Id) } else { err = k.ApplyBillChanges(ctx, &prevBill, &newBill) if err != nil { @@ -434,24 +434,46 @@ func (k Keeper) ChargeViaObjectChange(ctx sdk.Context, bucketInfo *storagetypes. userFlows.Flows = append(userFlows.Flows, getNegFlows(preOutFlows)...) userFlows.Flows = append(userFlows.Flows, newOutFlows...) - if ctx.IsUpgraded(upgradetypes.Serengeti) { - currentBill, err := k.GetBucketReadStoreBill(ctx, bucketInfo, internalBucketInfo) - if err != nil { - return nil, fmt.Errorf("get bucket bill failed: %s %w", bucketInfo.BucketName, err) + if ctx.IsUpgraded(upgradetypes.Erdos) { + var shouldApplyFlowRate = true + forced, _ := ctx.Value(types.ForceUpdateStreamRecordKey).(bool) + if forced { + isRateLimited := k.IsBucketRateLimited(ctx, bucketInfo.BucketName) + if isRateLimited { + // if the bucket is rate limited, no need to apply the flow rate since + // the bucket is already uncharged + shouldApplyFlowRate = false + } + } else { + // we should only check the flow rate limit when is not forced + currentBill, err := k.GetBucketReadStoreBill(ctx, bucketInfo, internalBucketInfo) + if err != nil { + return nil, fmt.Errorf("get bucket bill failed: %s %w", bucketInfo.BucketName, err) + } + + err = k.isBucketFlowRateUnderLimit(ctx, sdk.MustAccAddressFromHex(bucketInfo.PaymentAddress), sdk.MustAccAddressFromHex(bucketInfo.Owner), bucketInfo.BucketName, currentBill) + if err != nil { + return nil, err + } } - err = k.isBucketFlowRateUnderLimit(ctx, sdk.MustAccAddressFromHex(bucketInfo.PaymentAddress), sdk.MustAccAddressFromHex(bucketInfo.Owner), bucketInfo.BucketName, currentBill) + if shouldApplyFlowRate { + err = k.paymentKeeper.ApplyUserFlowsList(ctx, []types.UserFlows{userFlows}) + if err != nil { + ctx.Logger().Error("charge object store fee failed", "bucket", bucketInfo.BucketName, + "object", objectInfo.ObjectName, "err", err.Error()) + return nil, err + } + } + } else { + err = k.paymentKeeper.ApplyUserFlowsList(ctx, []types.UserFlows{userFlows}) if err != nil { + ctx.Logger().Error("charge object store fee failed", "bucket", bucketInfo.BucketName, + "object", objectInfo.ObjectName, "err", err.Error()) return nil, err } } - err = k.paymentKeeper.ApplyUserFlowsList(ctx, []types.UserFlows{userFlows}) - if err != nil { - ctx.Logger().Error("charge object store fee failed", "bucket", bucketInfo.BucketName, - "object", objectInfo.ObjectName, "err", err.Error()) - return nil, err - } // merge outflows for early deletion usage return k.paymentKeeper.MergeOutFlows(userFlows.Flows), nil } @@ -548,7 +570,7 @@ func (k Keeper) GetBucketReadStoreBill(ctx sdk.Context, bucketInfo *storagetypes func (k Keeper) UnChargeBucketReadStoreFee(ctx sdk.Context, bucketInfo *storagetypes.BucketInfo, internalBucketInfo *storagetypes.InternalBucketInfo) error { - if ctx.IsUpgraded(upgradetypes.Serengeti) { + if ctx.IsUpgraded(upgradetypes.Erdos) { // if the bucket's flow rate limit is set to zero, no need to uncharge, since the bucket is already uncharged if k.IsBucketRateLimited(ctx, bucketInfo.BucketName) { return nil @@ -575,7 +597,7 @@ func (k Keeper) ChargeBucketReadStoreFee(ctx sdk.Context, bucketInfo *storagetyp return fmt.Errorf("get bucket bill failed: %s %s", bucketInfo.BucketName, err.Error()) } - if ctx.IsUpgraded(upgradetypes.Serengeti) { + if ctx.IsUpgraded(upgradetypes.Erdos) { err := k.isBucketFlowRateUnderLimit(ctx, sdk.MustAccAddressFromHex(bucketInfo.PaymentAddress), sdk.MustAccAddressFromHex(bucketInfo.Owner), bucketInfo.BucketName, bill) if err != nil { return err diff --git a/x/storage/keeper/verify.go b/x/storage/keeper/verify.go index 36f5072ee..2b4dd7001 100644 --- a/x/storage/keeper/verify.go +++ b/x/storage/keeper/verify.go @@ -16,7 +16,7 @@ func (k Keeper) VerifyPaymentAccount(ctx sdk.Context, paymentAddress string, own } // don't check if the payment account is owned by the owner account - if !ctx.IsUpgraded(upgradetypes.Serengeti) { + if !ctx.IsUpgraded(upgradetypes.Erdos) { if !k.paymentKeeper.IsPaymentAccountOwner(ctx, paymentAcc, ownerAcc) { return nil, paymenttypes.ErrNotPaymentAccountOwner } diff --git a/x/storage/types/events.pb.go b/x/storage/types/events.pb.go index 06c527247..eaa5bd872 100644 --- a/x/storage/types/events.pb.go +++ b/x/storage/types/events.pb.go @@ -2757,6 +2757,8 @@ type EventBucketFlowRateLimitStatus struct { BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` // is_limited define the status of the bucket flow rate limit IsLimited bool `protobuf:"varint,2,opt,name=is_limited,json=isLimited,proto3" json:"is_limited,omitempty"` + // bucket_id is the unique u256 for bucket. Not global, only unique in buckets. + BucketId Uint `protobuf:"bytes,3,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` } func (m *EventBucketFlowRateLimitStatus) Reset() { *m = EventBucketFlowRateLimitStatus{} } @@ -2806,6 +2808,62 @@ func (m *EventBucketFlowRateLimitStatus) GetIsLimited() bool { return false } +type EventToggleSPAsDelegatedAgent struct { + // bucket_name define the name of the bucket + BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + // bucket_id is the unique u256 for bucket. Not global, only unique in buckets. + BucketId Uint `protobuf:"bytes,2,opt,name=bucket_id,json=bucketId,proto3,customtype=Uint" json:"bucket_id"` + // sp_as_delegated_agent_disabled indicates that whether bucket owner disable SP as the upload agent. + SpAsDelegatedAgentDisabled bool `protobuf:"varint,3,opt,name=sp_as_delegated_agent_disabled,json=spAsDelegatedAgentDisabled,proto3" json:"sp_as_delegated_agent_disabled,omitempty"` +} + +func (m *EventToggleSPAsDelegatedAgent) Reset() { *m = EventToggleSPAsDelegatedAgent{} } +func (m *EventToggleSPAsDelegatedAgent) String() string { return proto.CompactTextString(m) } +func (*EventToggleSPAsDelegatedAgent) ProtoMessage() {} +func (*EventToggleSPAsDelegatedAgent) Descriptor() ([]byte, []int) { + return fileDescriptor_946dcba4f763ddc4, []int{36} +} +func (m *EventToggleSPAsDelegatedAgent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventToggleSPAsDelegatedAgent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventToggleSPAsDelegatedAgent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventToggleSPAsDelegatedAgent) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventToggleSPAsDelegatedAgent.Merge(m, src) +} +func (m *EventToggleSPAsDelegatedAgent) XXX_Size() int { + return m.Size() +} +func (m *EventToggleSPAsDelegatedAgent) XXX_DiscardUnknown() { + xxx_messageInfo_EventToggleSPAsDelegatedAgent.DiscardUnknown(m) +} + +var xxx_messageInfo_EventToggleSPAsDelegatedAgent proto.InternalMessageInfo + +func (m *EventToggleSPAsDelegatedAgent) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +func (m *EventToggleSPAsDelegatedAgent) GetSpAsDelegatedAgentDisabled() bool { + if m != nil { + return m.SpAsDelegatedAgentDisabled + } + return false +} + func init() { proto.RegisterType((*EventCreateBucket)(nil), "greenfield.storage.EventCreateBucket") proto.RegisterType((*EventDeleteBucket)(nil), "greenfield.storage.EventDeleteBucket") @@ -2843,138 +2901,143 @@ func init() { proto.RegisterType((*EventCancelUpdateObjectContent)(nil), "greenfield.storage.EventCancelUpdateObjectContent") proto.RegisterType((*EventSetBucketFlowRateLimit)(nil), "greenfield.storage.EventSetBucketFlowRateLimit") proto.RegisterType((*EventBucketFlowRateLimitStatus)(nil), "greenfield.storage.EventBucketFlowRateLimitStatus") + proto.RegisterType((*EventToggleSPAsDelegatedAgent)(nil), "greenfield.storage.EventToggleSPAsDelegatedAgent") } func init() { proto.RegisterFile("greenfield/storage/events.proto", fileDescriptor_946dcba4f763ddc4) } var fileDescriptor_946dcba4f763ddc4 = []byte{ - // 2015 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcd, 0x8f, 0x1b, 0x49, - 0x15, 0x4f, 0xfb, 0x6b, 0xec, 0xe7, 0xb1, 0x9d, 0x69, 0x86, 0xac, 0x99, 0x6c, 0x3c, 0xde, 0x46, - 0x84, 0xd9, 0x15, 0xf1, 0xa0, 0xec, 0x82, 0x22, 0x81, 0x14, 0xcd, 0x4c, 0x76, 0x91, 0x45, 0x76, - 0x13, 0xda, 0xd9, 0x3d, 0x70, 0x69, 0xca, 0xdd, 0x65, 0xa7, 0x49, 0xbb, 0xcb, 0x74, 0x95, 0x67, - 0xe2, 0xfd, 0x07, 0x38, 0x21, 0xad, 0x84, 0x90, 0xe0, 0xb2, 0x57, 0x90, 0x10, 0x12, 0x87, 0xbd, - 0x72, 0xcf, 0x71, 0x37, 0x5c, 0x60, 0x91, 0x16, 0x94, 0x5c, 0x00, 0x09, 0xc1, 0x99, 0x13, 0xaa, - 0x8f, 0x6e, 0x77, 0xbb, 0x3d, 0xf1, 0xb4, 0xb3, 0xb3, 0x33, 0xe1, 0x34, 0xd3, 0xcf, 0xaf, 0xaa, - 0xdf, 0xc7, 0xef, 0x7d, 0xd4, 0xab, 0x86, 0xed, 0x61, 0x80, 0xb1, 0x3f, 0x70, 0xb1, 0xe7, 0xec, - 0x52, 0x46, 0x02, 0x34, 0xc4, 0xbb, 0xf8, 0x10, 0xfb, 0x8c, 0x76, 0xc6, 0x01, 0x61, 0x44, 0xd7, - 0x67, 0x0c, 0x1d, 0xc5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 0x69, 0x69, 0x1f, 0x3c, 0x6d, 0x5d, 0xf8, - 0xf8, 0x69, 0xeb, 0xc2, 0x9f, 0x9e, 0xb6, 0x2e, 0xfc, 0x70, 0x37, 0xa6, 0x40, 0xdf, 0xef, 0x5f, - 0x13, 0x4d, 0xe0, 0x6e, 0xec, 0x9b, 0xaf, 0x87, 0xc9, 0xaf, 0xbe, 0xfa, 0x25, 0x71, 0x98, 0x7f, - 0xfd, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x66, 0xb1, 0x47, 0xe1, 0x26, 0x00, 0x00, + // 2079 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcd, 0x8f, 0x23, 0x47, + 0xd9, 0xdf, 0xf6, 0xd7, 0xd8, 0xe5, 0xb1, 0xbd, 0xd3, 0xef, 0xbc, 0x1b, 0x33, 0x9b, 0xf5, 0x38, + 0x8d, 0x58, 0x26, 0x11, 0xeb, 0x41, 0x9b, 0x80, 0x56, 0x02, 0x69, 0x35, 0x1f, 0x09, 0xb2, 0xd8, + 0x64, 0x87, 0xf6, 0x24, 0x07, 0x2e, 0xad, 0x72, 0x77, 0xb9, 0xb7, 0xd9, 0x76, 0x57, 0xd3, 0x55, + 0x9e, 0x59, 0xe7, 0x1f, 0xe0, 0x84, 0x14, 0x09, 0x21, 0x01, 0x87, 0x5c, 0x41, 0x42, 0x48, 0x1c, + 0x72, 0x85, 0xf3, 0x1e, 0x93, 0xe5, 0x02, 0x41, 0x0a, 0x68, 0xf7, 0x02, 0x48, 0x08, 0xce, 0x9c, + 0x50, 0x7d, 0x74, 0xbb, 0xdb, 0xdd, 0xb3, 0x9e, 0xf6, 0x64, 0x32, 0xb3, 0x9c, 0x66, 0xfa, 0xf1, + 0x53, 0xd5, 0xcf, 0xc7, 0xef, 0xf9, 0xa8, 0xa7, 0x1a, 0x6c, 0xda, 0x01, 0x42, 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 0x37, 0x46, 0x70, 0xec, 0xb8, 0x53, 0xb6, + 0x08, 0xf0, 0x45, 0x1b, 0x82, 0xeb, 0x3d, 0xc1, 0xf4, 0x1d, 0xc6, 0xf3, 0x16, 0x67, 0xe9, 0x5b, + 0xea, 0x1d, 0x50, 0x21, 0x14, 0xd2, 0x09, 0x69, 0xd7, 0xb9, 0x51, 0xba, 0x59, 0x46, 0x11, 0x88, + 0x19, 0x70, 0x3e, 0x5d, 0xf2, 0x6b, 0x3f, 0x2b, 0x48, 0x54, 0xed, 0x23, 0x17, 0x45, 0xa8, 0x7a, + 0x03, 0x54, 0xb1, 0x8f, 0x02, 0x48, 0xf1, 0x62, 0x60, 0x45, 0x9c, 0x33, 0x2c, 0x16, 0x96, 0xc2, + 0x62, 0x31, 0x85, 0xc5, 0x04, 0x54, 0x4a, 0x79, 0xa0, 0xb2, 0xd8, 0xa8, 0xe5, 0x45, 0x46, 0xd5, + 0x7e, 0x54, 0x04, 0xff, 0xcf, 0x4d, 0xf3, 0xae, 0x6f, 0x45, 0x01, 0xd7, 0xf7, 0x46, 0x78, 0x49, + 0xf3, 0x2c, 0x0c, 0xbd, 0x84, 0xba, 0xc5, 0x3c, 0xea, 0x66, 0x03, 0xbb, 0x74, 0x02, 0xb0, 0xbf, + 0x9a, 0x06, 0x36, 0x8f, 0xc3, 0x14, 0x7c, 0x93, 0xb9, 0xa0, 0xb2, 0x54, 0x2e, 0x58, 0xec, 0x89, + 0x95, 0x85, 0x9e, 0xf8, 0x95, 0x02, 0xae, 0x09, 0x90, 0x3a, 0xc4, 0xc4, 0x1e, 0x75, 0xbc, 0x49, + 0x88, 0xd4, 0x84, 0xcd, 0x94, 0x3c, 0x36, 0x5b, 0xe8, 0x8e, 0x6b, 0xa0, 0x12, 0x20, 0x48, 0xb0, + 0x27, 0x91, 0x29, 0x9f, 0x58, 0x76, 0xb3, 0x78, 0xb0, 0xc4, 0xb2, 0x9b, 0x20, 0xec, 0x50, 0xed, + 0x27, 0x95, 0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x30, 0x40, 0xc8, 0x8b, 0x2e, 0xab, 0xb4, 0x1f, 0x16, 0xc0, 0xcb, 0x72, 0xb0, + 0x36, 0xf6, 0x19, 0x90, 0x2e, 0x3d, 0x74, 0x16, 0xdf, 0x45, 0x95, 0x16, 0x5e, 0xb5, 0xbe, 0x0a, + 0xd6, 0x48, 0x60, 0xce, 0xc1, 0x4f, 0xa4, 0xcd, 0x26, 0x09, 0xcc, 0x38, 0xfc, 0x0c, 0x50, 0x97, + 0x23, 0x60, 0x7a, 0x08, 0x6d, 0x16, 0xbf, 0xe1, 0x97, 0x01, 0x72, 0xc2, 0x11, 0x3d, 0xab, 0x6f, + 0x80, 0x12, 0x85, 0x36, 0x91, 0x81, 0xdb, 0xcd, 0x1e, 0xfb, 0xcb, 0xee, 0x14, 0xda, 0x44, 0xe7, + 0xdc, 0xda, 0x2f, 0x0b, 0x12, 0x2f, 0xf1, 0x31, 0xc5, 0x9e, 0xb8, 0xaf, 0x58, 0xd2, 0xfa, 0xcb, + 0x0f, 0x5a, 0xce, 0x7e, 0xff, 0x34, 0x7f, 0xcf, 0x53, 0x4e, 0xdf, 0xf3, 0x24, 0x46, 0xbd, 0x95, + 0xf9, 0xbb, 0x89, 0x36, 0x58, 0x39, 0x42, 0x01, 0x71, 0xb0, 0xc7, 0x27, 0x97, 0x45, 0x3d, 0x7c, + 0xd4, 0x3e, 0x29, 0x82, 0xcd, 0x93, 0x2c, 0x35, 0x98, 0x98, 0x26, 0x3b, 0x00, 0xbf, 0x90, 0x06, + 0x4b, 0xdc, 0x58, 0x95, 0xd3, 0x37, 0x56, 0xaf, 0x81, 0x35, 0x3f, 0x40, 0x47, 0x46, 0xc2, 0xb0, + 0x15, 0x6e, 0xd8, 0x16, 0xfb, 0xe1, 0x20, 0x66, 0xdc, 0x2d, 0x70, 0xd5, 0x43, 0xc7, 0x49, 0x56, + 0xf1, 0x71, 0x44, 0xd3, 0x43, 0xc7, 0x71, 0xce, 0xaf, 0x80, 0x26, 0xdf,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f, 0xaf, 0x80, 0x1b, 0x5c, 0xb8, 0x43, 0x6c, 0xdb, 0x2e, 0x1a, 0x1c, 0xec, + 0x10, 0xd6, 0xab, 0xd9, 0x1c, 0xed, 0x36, 0x43, 0xf3, 0x69, 0xa6, 0xe4, 0xb3, 0x97, 0x17, 0x72, + 0x56, 0x46, 0xe2, 0x1b, 0x90, 0xf0, 0x31, 0x92, 0x2d, 0x42, 0x8e, 0xbd, 0xd3, 0xb0, 0x1c, 0x02, + 0x87, 0x2e, 0x12, 0xba, 0x54, 0xf5, 0x0d, 0xe2, 0xcf, 0x8b, 0xb5, 0x2f, 0x39, 0x76, 0xfb, 0x8f, + 0x9f, 0x76, 0x94, 0x8f, 0x9f, 0x76, 0x94, 0xbf, 0x3e, 0xed, 0x28, 0x1f, 0x3c, 0xeb, 0x5c, 0xf9, + 0xf8, 0x59, 0xe7, 0xca, 0x1f, 0x9f, 0x75, 0xae, 0x7c, 0x7f, 0x3b, 0xe6, 0xbc, 0xa1, 0x37, 0xbc, + 0xc5, 0x1b, 0xe0, 0xed, 0xd8, 0xf7, 0x6e, 0x8f, 0x92, 0x5f, 0xbc, 0x0d, 0x2b, 0x7c, 0x90, 0xf1, + 0xfa, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x8a, 0x53, 0xc0, 0xdd, 0x27, 0x00, 0x00, } func (m *EventCreateBucket) Marshal() (dAtA []byte, err error) { @@ -5154,6 +5217,16 @@ func (m *EventBucketFlowRateLimitStatus) MarshalToSizedBuffer(dAtA []byte) (int, _ = i var l int _ = l + { + size := m.BucketId.Size() + i -= size + if _, err := m.BucketId.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a if m.IsLimited { i-- if m.IsLimited { @@ -5174,6 +5247,56 @@ func (m *EventBucketFlowRateLimitStatus) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *EventToggleSPAsDelegatedAgent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventToggleSPAsDelegatedAgent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventToggleSPAsDelegatedAgent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.SpAsDelegatedAgentDisabled { + i-- + if m.SpAsDelegatedAgentDisabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + { + size := m.BucketId.Size() + i -= size + if _, err := m.BucketId.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.BucketName) > 0 { + i -= len(m.BucketName) + copy(dAtA[i:], m.BucketName) + i = encodeVarintEvents(dAtA, i, uint64(len(m.BucketName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { offset -= sovEvents(v) base := offset @@ -6155,6 +6278,26 @@ func (m *EventBucketFlowRateLimitStatus) Size() (n int) { if m.IsLimited { n += 2 } + l = m.BucketId.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + +func (m *EventToggleSPAsDelegatedAgent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.BucketName) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.BucketId.Size() + n += 1 + l + sovEvents(uint64(l)) + if m.SpAsDelegatedAgentDisabled { + n += 2 + } return n } @@ -13382,6 +13525,176 @@ func (m *EventBucketFlowRateLimitStatus) Unmarshal(dAtA []byte) error { } } m.IsLimited = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BucketId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.BucketId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventToggleSPAsDelegatedAgent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventToggleSPAsDelegatedAgent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventToggleSPAsDelegatedAgent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BucketName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BucketName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BucketId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.BucketId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SpAsDelegatedAgentDisabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SpAsDelegatedAgentDisabled = bool(v != 0) default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:])