greenfield-go-sdk
greenfield-go-sdk copied to clipboard
Go sdk for Greenfield
### Description when uploading files, we can parse the mime type , and set the content type of the object as the mime type ### Rationale set the accurate content...
### Description Add GetObjectMeta (API Spec: https://docs.bnbchain.org/greenfield-docs/docs/api/storage-provider-rest/get_object_meta) ### Rationale In some cases, we could use the ObjectName to get the CreateObject TxHash ### Example `GetObjectMeta(ctx context.Context, bucketName, objectName string) (types.ObjectMeta,...
#### System information Command version: OS & Version: Linux Commit hash : #### Expected behaviour #### Actual behaviour #### Steps to reproduce the behaviour #### Backtrace ```` [backtrace] ```` When...
rpc error: code = Unknown desc = rpc error: code = Unknown desc = account sequence mismatch, expected 6679, got 6678: incorrect account sequence [bnb-chain/[email protected]/x/auth/ante/sigverify.go:283] With gas wanted: '18446744073709551615' and...
### Description add cancel migrate bucket & e2e test ### Rationale CancelMigrateBucket API: This PR adds a new API, CancelMigrateBucket, intended for clients. The API empowers clients with the ability...
### Description CreatePolicyByMsg
### Description add a description of your changes here... ### Rationale tell us why we need these changes... ### Example add an example CLI or API response... ### Changes Notable...
# github.com/prysmaticlabs/eth2-types ../../../go/pkg/mod/github.com/prysmaticlabs/[email protected]/committee_index.go:9:23: cannot use (CommitteeIndex)(0) (constant 0 of type CommitteeIndex) as ssz.HashRoot value in variable declaration: CommitteeIndex does not implement ssz.HashRoot (missing method GetTree) ../../../go/pkg/mod/github.com/prysmaticlabs/[email protected]/committee_index.go:18:36: cannot use c (variable...
Two account, accountA has tbnb while accountB doesn't I use SetBucketFlowRateLimit, the paymentAddr was created by accountA, and bucketOwner is accountB. But, when i call CreateBucket by accountB, error `response...
### Description add a description of your changes here... ### Rationale tell us why we need these changes... ### Example add an example CLI or API response... ### Changes Notable...