Skip to content

Latest commit

 

History

History
727 lines (585 loc) · 44 KB

CHANGELOG.md

File metadata and controls

727 lines (585 loc) · 44 KB

Changelog

V1.10.0

This release introduces the Savanna upgrade.

Fixes:

  • [#647] #647 fix: fail to resume frozen payment account when netflow is zero

V1.9.1

This release introduces the Altai upgrade.

  • [#645] #645 feat: fix the EIP712 signing issue and introduce a new hardfork Altai

V1.9.0

This release introduces the Mongolian upgrade.

Features:

  • [#639] #639 feat: Support msg to create policy by cross chain

Fixes:

  • [#638] #638 fix: initial val for min value comparison should be large enough
  • [#640] #640 fix: broken links reroute from local repo to bnbchain docs

Docs:

  • [#633] #633 docs: replace docs link

V1.8.0

This release introduces the Veld upgrade.

Fixes:

  • #621 fix: add bucket status to bucket migration related events
  • #625 fix: discontinued bucket can't be migrated
  • #626 fix: principal value supports group name
  • #632 fix: ingore register channel error

Chore:

  • #619 docs: move greenfield cmd/module/api docs from docs.bnbchain.org to greenfield repo

V1.7.0

This release introduces the Erdos upgrade.

Features:

  • #595 feat: add ExecutorApp
  • #582 feat: implement paymaster

Fixes:

  • #601 fix: fix uncharge issue when force-deleting objects

Chore:

  • #597 chore: upgrade deps for fixing vulnerabilities

V1.6.0

This release introduces the Serengeti upgrade.

Features:

  • #580 feat: remove create object & bucket approval
  • #581 feat: allow SP to create/update object for delegator

v1.5.0

This release introduces the Pawnee upgrade to Testnet and Mainnet

Features:

  • #564 feat: add settlement events
  • #570 feat: atomic object update
  • #571 feat: modify dependency for supporting custom blocks to rollback
  • #573 feat: support delete object in created status

Fix:

  • #579 fix: delete created object by authorized account
  • #583 fix: disable discontinue on testnet
  • #584 fix: disallow update payment address when there are created/updating objects
  • #586 fix: unlock shadow-object balance when a bucket is force deleted
  • #587 fix: disallow copy an object is being updated

v1.4.0

This release introduces the Ural upgrade to the testnet.

Features:

  • #560 feat: change logic of resource name length check
  • #563 feat: set tag by accounts with permission

v1.3.0

This release introduces the Hulunbeier upgrade to the Testnet and Mainnet.

Features:

  • #542 feat: add crosschain permission app
  • #534 feat: implement Msgs for SP exit

Bugfixes:

  • #552 fix: resource account policy key collision

Chore:

  • #551 chore: fix typo and update doc

v1.2.2

This release introduces the Manchurian upgrade to the mainnet.

v1.2.1

This release fixes the bugs within resource tags.

Bugfixes:

  • #543 fix: remove tags field from existed msgs

v1.2.0

This release introduces the Manchurian upgrade to the testnet.

Features:

  • #525 feat: introduce the Eddystone upgrade
  • #526 feat: add new msg MsgSetTag

Chore:

  • #527 chore: cleanup legacy annotation
  • #535 chore: update fields of EventSetTag
  • #536 chore: change max length limit of resource tags key value

Bugfixes:

  • #532 fix: restrict on creating GVG and allow empty family
  • #522 fix: bucket status causing event emitted

v1.1.1

This release introduces the Pampas upgrade to the mainnet.

v1.1.0

This release contains 4 new features, 5 bugfixes and 6 chores.

Features:

  • #493 feat: support reject bucket migration
  • #504 feat: add a hardfork for the link to opBNB
  • #520 feat: shuffle the result of StorageProviders query method
  • #521 feat: disable sp exit and bucket migration msg

Bugfixes:

  • #506 fix: add GlobalVirtualGroupFamilyId to createBucketPackage
  • #509 fix: make handleCreateBucketSynPackage forward compatible
  • #511 fix: policy key is not GC while a expired policy is GC
  • #518 fix: emit event when sp status is forced updated
  • #519 fix: enforce validation on SSP when creating GVG

Chores:

  • #484 chore: improve the validations of messages
  • #497 chore: add cmd
  • #503 chore: add potential impacts for PR template
  • #508 chore: update cosmos-sdk version
  • #512 chore: allow anyone to trigger the settlement of GVG/GVG family
  • #514 chore: update cosmos-sdk and cometbft

v1.0.1

This release contains 2 chores.

Chores:

  • #500 chore: add mainnet assets
  • #501 chore: add sp price related cli and refine cli and comments

v1.0.0

This release contains 1 chore.

Chores:

  • #496 chore: add events for parameter updates

v0.2.6-hf.1

This is a hotfix version to enable the chain to emit deposit events for user accounts and add local virtual group id for related events.

Chores:

  • #489 chore: add deposit event for user account
  • #490 chore: add lvg id to related events

v0.2.6

This is a maintenance release to update the cosmos-sdk dependency to the latest version.

v0.2.6-alpha.1

This release contains 3 new bugfixes.

Bugfixes:

  • #478 fix: wrong event emitted for leaving group
  • #481 fix: policy id not emit in deletepolicy event
  • #482 fix: use versioned segment size parameter

Chores:

  • #480 chore: improve the validations of parameters

v0.2.5

This release contains all the changes for the v0.2.5 alpha versions.

Features:

  • #435 feat: deposit the balance of the bank account to the payment account
  • #448 feat: timelock for large amount withdraw from payment
  • #449 feat: complete cdc register
  • #457 feat: add api for querying last quota update time

Bugfixes:

  • #471 fix: some issues in challenge module
  • #470 fix: testnet block sync issue
  • #451 fix: audit issues by verichain
  • #456 fix: fix parameter init issue
  • #458 fix: correct emit event filed
  • #462 fix: fix app hash mismatch for genesis block

Chore:

  • #474 chore: cleaning up ci jobs

v0.2.5-alpha.3

This release is a bugfix release.

Bugfixes:

  • #470 fix: testnet block sync issue
  • #471 fix: some issues in challenge module

v0.2.5-alpha.2

This release contains 1 bugfix.

  • #465 fix: remaining policies need re-persistence

v0.2.5-alpha.1

This release contains 4 features and 4 bugfixes.

Features:

  • #435 feat: deposit the balance of the bank account to the payment account
  • #448 feat: timelock for large amount withdraw from payment
  • #449 feat: complete cdc register
  • #457 feat: add api for querying last quota update time

Bugfixes:

  • #451 fix: audit issues by verichain
  • #456 fix: fix parameter init issue
  • #458 fix: correct emit event filed
  • #462 fix: fix app hash mismatch for genesis block

v0.2.4

This release contains all the changes in the v0.2.4 alpha versions and 5 new bugfixes.

Bugfixes:

  • #433 fix: add sp exit status check when craete gvg
  • #437 fix: fix the last block time is empty issue
  • #443 fix: fix some issues in payment module
  • #432 fix: grant permission with wildcard objectname
  • #440 fix: check secondary sp in gvg

Chores:

  • #431 chore: fix sp e2e test sometimes fail issue
  • #442 chore: switch the order of create sp event and update price event

v0.2.4-alpha.3

This release contains 1 bugfix.

Bugfixes:

  • #428 fix: fix early deletion fee calculation

v0.2.4-alpha.2

This release contains 4 features and 4 bugfixes.

Features:

  • #411 feat: add RemoveExpiredPolicies to add method to remove expired data from kvstore
  • #413 feat: implement cross-chain mechanism between op and greenfield
  • #415 feat: enable plain store for full node
  • #420 feat: skip sig verification on genesis block

Bugfixes:

  • #416 fix: update the dependencies to the latest develop branch
  • #419 fix: validate bls key and proof before submitting proposal
  • #410 fix: fix group member key collision issues
  • #422 fix: fix the SettleTimestamp calculation

Chores:

  • #408 chore: payment refactor to use global store prices for billing
  • #409 chore: add issue template
  • #414 chore: modify default gas
  • #417 chore: adapt to cross chain token mintable version
  • #421 chore: update go version to 1.20

v0.2.4-alpha.1

This release includes 4 features, 9 bugfixes and 2 documentation updates.

Features:

  • #374 feat: group member expiration
  • #390 feat: add flag to enable/disable heavy queries and refactor apis
  • #399 feat: add new query APIs for group and group member
  • #403 feat: sp maintenance mode

Bugfixes:

  • #377 fix: improve e2e tests to include more coverage from server side
  • #379 fix: error member name in transferInRefundPackageType
  • #383 fix: fix lock balance not updated for frozen payment account
  • #385 fix: fix returned operation type in group cross chain app
  • #391 fix: add cancel mb event for discontinue and delete
  • #398 fix: register gov cross-chain app
  • #400 fix: allow edit-sp by cmd without blskey
  • #401 fix: add group existence check when verify permission
  • #375 fix: fix defining err for ErrInvalidBlsPubKey

Chores:

  • #376 chore: add unit tests for the storage module
  • #378 chore: add unit test cases for challenge module
  • #380 chore: add unit test cases for payment module
  • #381 chore: add tests for bridge module
  • #387 chore: add more e2e test cases for payment module
  • #388 chore: add cli tests
  • #389 chore: add more test cases for cross chain apps

Documentation:

  • #402 docs: update testnet asset to v0.2.3
  • #404 docs: update document site link

0.2.3

This is a official release for v0.2.3, includes all the changes since v0.2.2.

Bugfixes:

  • #375 fix: defining err
  • #379 fix: error member name in transferInRefundPackageType
  • #383 fix: lock balance not updated for frozen payment account
  • #385 fix: returned operation type in group cross chain app

Chores:

  • #376 chore: add unit tests for the storage module
  • #377 chore: improve e2e tests to include more coverage from server side
  • #380 chore: add unit test cases for payment module
  • #381 chore: add tests for bridge module
  • #383 chore: add unit test cases for challenge module

0.2.3-alpha.7

This release includes 2 features and 3 bugfixes.

Features:

  • #366 feat: add strategy for event emit
  • #368 feat: limit sp slash amount and add query api

Bugfixes:

  • #369 fix: parse failed when object name contains /
  • #370 fix: fix the precision issue of storage bill
  • #371 fix: add src dst sp check when migrate bucket

Chores:

  • #365 ci: add e2e test coverage report

0.2.3-alpha.6

This release includes 6 features and 5 bugfixes.

Features:

  • #346 feat: Enable websocket client as a option in Greenfield sdk
  • #349 feat: add UpdateChannelPermissions tx for crosschain module
  • #350 feat: add create storage provider command
  • #357 feat: add api to filter virtual group families qualification
  • #352 feat: add query params for virtual group
  • #348 feat: fix issues and add test cases for payment

Bugfixes:

  • #351 fix: update local virtual group event
  • #353 fix: panic when delete unsealed object from lvg
  • #354 fix: incorrect authority for keepers
  • #342 fix: remove primary sp id from bucket info
  • #356 fix: add validation of extra field when creating group

Chores:

  • #359 chore: add swagger check
  • #358 chore: Refine event for sp exit and bucket migration

v0.2.3-alpha.5

This release adds 6 new features and 2 bugfixes.

Features

  • #315 feat: add api for querying lock fee
  • #290 feat: replace rlp with abi.encode in cross-chain transfer
  • #323 feat: enable asset reconciliation
  • #326 feat: add bls verification
  • #336 feat: add tendermint to sdk
  • #341 feat: support cross chain for multiple blockchains
  • #328 feat: refactor for sp exit and bucket migrate

Bugfixes

  • #307 fix DefaultMaxPayloadSize from 2GB to 64GB
  • #312 fix: add chainid to sign bytes to prevent replay attack

Documentation

  • #316 Update readme.md
  • #282 update readme for helm deployment

Chores

  • #324 chore: update greenfield-cometbft-db version

v0.2.3-alpha.2

This release enables 2 new features:

Features

  • #301 feat: add support of group name in policy
  • #304 feat: allow simulate create bucket without approval

v0.2.3-alpha.1

This release enables several features and bugfixes:

Features

  • #281 feat: add versioned parameters to payment module
  • #287 feat: use median store price for secondary sp price
  • #292 feat: allows for setting a custom http client when NewGreenfieldClient
  • #288 feat: limit the interval for updating quota
  • #297 feat: refine payment and update default parameter

Bugfixes

  • #279 fix: fix the security issues
  • #280 fix: update go.mod to be compatible with ignite
  • #286 fix: update storage discontinue param's default value
  • #295 add missing field to event
  • #285 fix: ACTION_UPDATE_OBJECT_INFO not allowed to be used on object's bug

v0.2.2

This release enables several features and some bugfix:

Features

  • #249 feat: support multiple messages in single tx for EIP712
  • #250 feat: allow mirror bucket/object/group using name
  • #268 feat: record challenge attestation result
  • #276 feat: allow user to pass keyManager into Txopt

Bugfix

  • #248 fix: add versioned params e2e's test
  • #252 fix: remove paramsclient from sdk and swagger
  • #254 fix: fix potential int64 multiplication overflow
  • #255 fix: verify permission openapi params
  • #263 fix: QueryGetSecondarySpStorePriceByTime may wrong data
  • #267 chore: update swagger
  • #271 fix: check every module's Msg
  • #270 fix: sp check when reject seal object
  • #269 fix: fix wrong link in readme
  • #274 fix: add sp address check when deposit

v0.2.2-alpha.2

This release enables 2 features:

  • record challenge attestation result
  • allow user to pass keyManager into Txopt
  • #267 chore: update swagger
  • #268 feat: record challenge attestation result
  • #271 fix: check every module's Msg
  • #270 fix: sp check when reject seal object
  • #269 fix: fix wrong link in readme
  • #274 fix: add sp address check when deposit
  • #276 feat: allow user to pass keyManager into Txopt

v0.2.1-alpha.1

This releaseCHANGELOG.md enable two features:

  • support multiple messages in single tx
  • allow mirror bucket/object/group using name

Features

  • #250 feat: allow mirror bucket/object/group using name
  • #249 feat: support multiple messages in single tx for EIP712

Fix

  • #248 fix: add versioned params e2e's test
  • #252 fix: remove paramsclient from sdk and swagger
  • #255 fix: verify permission openapi params
  • #254 fix: fix potential int64 multiplication overflow
  • #263 fix: QueryGetSecondarySpStorePriceByTime may wrong data

v0.2.1

This is a hot fix release for v0.2.0

  • #251 fix: correct the counting of deleted objects
  • #256 dep: bump cosmos-sdk to v0.2.1

v0.2.0

This release updates the greenfield-cosmos-sdk dependency. Please refer to the greenfield-cosmos-sdk repository for the update details.

  • #188 feat: integrate greenfield with cosmos sdk v0.47
  • #190 feat: add more fields to sp events
  • #191 feat: define the turn for submitting attestation
  • #197 fix: fix e2e issues due to km refactor
  • #199 feat: migrate challenge module to cosmos sdk v0.47
  • #194 feat: fix the issues of commands
  • #200 feat: migrate challenge e2e tests
  • #203 chore: fix ante test
  • #205 ci: run ci jobs for every pull request
  • #206 fix: migrate sdk fix to v0.47_latest
  • #207 fix: init app with upgrade handlers
  • #208 docs: fix localup scripts in document
  • #210 feat: remove amino dependencies for GetSignBytes
  • #212 feat: add export key for localup script
  • #196 feat: modify sp module & storage module & permission module to adapt cosmos sdk v0.47
  • #214 fix: fix e2e test for gashub
  • #216 feat: payment adapt to cosmos-sdk v0.47
  • #215 feat: add update-object-info for updateobject's visibility (cherry pick #138)
  • #220 feat: support empty operator for verifypermission
  • #219 fix: sp & storage & permission module's cli bug
  • #217 feat: remove dependency for params module
  • #221 fix: bring back the swagger server
  • #225 fix: fix the banner issue and sync a tiny pr
  • #224 feat: add support for EVM json-rpc request
  • #226 fix nil pointer panic
  • #231 feat: update cosmos sdk to v0.47.2
  • #232 fix: fix challenge random issue
  • #218 feat: support multi version params for storage module
  • #234 fix: sp staking ledger error when slash
  • #223 feat: enable stale permission GC
  • #235 feat: update dependency for the cosmos-sdk
  • #236 fix: update swagger file based on the latest cosmos-sdk
  • #237 swagger: replace gov v1beta1 by v1
  • #242 fix: replace github.com/gogo/protobuf with github.com/cosmos/gogoproto

v0.1.2

  • #195 feat: make sp receive storage fee with funding addr
  • #167 chore: change default sp price
  • #164 feat: update relayer fee for mirror transactions
  • #168 fix: list group error
  • #170 chore: rename the name of buf buf.yaml
  • #171 ci: add testnet_config to release page and fix issues of release flow
  • #172 fix: unify property field names of events
  • #152 feat: add empty object feature for chain
  • #137 feat: allow sp to stop serving objects
  • #175 fix: add ErrInvalidApproval errorcode for sp’s approval invalid
  • #150 feat: refactor key manager to hide private key.
  • #176 fix: init tmclient
  • #177 feat: add more fields to sp events
  • #165 feat: define the turn for submitting attestation
  • #179 fix: fix e2e issues of challenge
  • #182 docs: fix localup scripts in document
  • #138 feat: add update-object-info for updateobject’s visibility (#c)
  • #180 feat: add export key for localup script
  • #184 feat: implement queries and events for frontend
  • #183 fix: remove randomized params from challenge module
  • #178 feat: remove amino dependencies for GetSignBytes
  • #185 fix: sp & storage & permission module’s cli bug
  • #187 feat: support empty operator for verifypermission

v0.1.1

  • #166 fix: gashub causes state sync to fail to synchronize

v0.1.0

  • #141 fix wrong comments for events.proto in storage (created_at field shows block timestamp instead of block number)
  • #149 fix: get price boundary logic, remove useless query, enhance ci
  • #148 fix: gas simulation issue
  • #146 fix: incorrect assignment of the CreateAt field in EventCreateObject
  • #145 feat: add expiration time to event
  • #151 feat: Refine events and bugfix
  • #153 fix: Revert event field changes
  • #154 fix: Revert event field changes
  • #155 docs: remove docs
  • #144 fix: get price boundary logic, remove useless query, enhance ci
  • #157 fix: occasionally timeout in auto-settle e2e test
  • #156 patch v0.0.11 fix to main branch
  • #160 feat: Only the creator and owner are allowed to cancel create objects
  • #161 fix: update license from GPL to AGPL
  • #158 fix: sdk gas simulation

v0.0.11

  • #140 fix: Visibility type in CreateBucketSynPackage
  • #139 fix: payment queries

v0.0.10

  • #136 fix: forbid a stream account with negative static balance to pay
  • #135 modify default to inherit
  • #132 feat: allow unordered attestations
  • #131 feat: support delete bucket with non-zero charged read quota
  • #108 chore: refine storage module
  • #126 chore: refine permission module
  • #125 chore: refine bridge module
  • #124 feat: The visibility property of the Bucket&Object can be modified
  • #112 chore: refine sp module
  • #129 chore: refine payment module
  • #117 feat: implement validator tax in storage payment
  • #116 feat: implement challenge module
  • #130 fix: check status of object before mirroring
  • #122 chore: refine permission module for code quality
  • #128 docs: add the banner of gnfd
  • #121 chore: code quality self-review of ante handler
  • #103 feat: add challenger address to validators
  • #123 feat: add max buckets per account to params
  • #110 feat: add expiration and limit size for policy
  • #118 chore: refine the code of the storage mode

v0.0.9

The resource mirror is introduced in this release.

  • #109 feat: add events for permission module
  • #107 fix: update license and readme
  • #104 fix: refine the bridge module
  • #101 doc: add detail doc for permission module
  • #50 feat: add cross chain txs for storage resources
  • #114 fix: potential attack risks in storage module

v0.0.8

This release includes following features:

  1. Add enhancements to storage module;
  2. Revert the related changes about the callbackGasprice;
  • #100 revert: revert the related changes about the callbackGasprice
  • #102 feat: Enhancement storage module

v0.0.7

This release includes following features:

  1. Implement permission module;
  2. Implement challenge module;
  3. Refactor payment module;
  4. Storage module improvement;
  5. SP module improvement;
  • #70 fix: Storage Provider account check
  • #81 doc: add payment module doc
  • #80 feat: add index by id for storage module
  • #82 bugfix list object/bucket error
  • #85 fix is non-empty bucket error
  • #79 doc: add data availability challenge doc
  • #90 feat: update default cross-chain transfer out fee
  • #83 feat: enable querying bucket, object and group by id
  • #91 complete acc address best practice
  • #92 fix: update gas price and consensus params
  • #94 feat: support customized nonce
  • #75 doc: add SP and storage meta doc
  • #43 feat: implement challenge module
  • #96 docs: refine the document structure
  • #88 feat: improve sp module
  • #95 feat: update the crosschain keeper in bridge module
  • #87 feat: refactor payment module
  • #97 feat: update default parameters for challenge module
  • #93 refactor: change addr in payment module from string to AccAccount
  • #68 feat: Implement permission module
  • #89 feat: Create storage provider in genesis by genesis transaction

v0.0.6

This release includes following features:

  1. Support cross chain governance;
  2. Storage module improvement;
  3. Add e2e test framework and swagger API script;
  • #76 feat: update tx simulation in sdk
  • #63 feat: enable params change proposal for cross chain governance
  • #74 docs: local network
  • #72 doc: add overview and tutorial doc for governance
  • #73 doc: add doc for the bridge module
  • #71 docs: add consensus and staking part
  • #69 ci: add gosec checker
  • #65 docs: add the key management docs and keyring module tutorial
  • #66 feat: add decimals of BNB and gweiBNB and e2e test of gashub module
  • #67 docs: add the overview of architecture && cross chain
  • #64 feat: sdk gas price simulation
  • #57 feat: storage module improvement
  • #53 feat: add init function for gashub module
  • #60 fix: unify denom as BNB
  • #62 refactor: rewrite the NewGreenfieldClient function by option pattern
  • #58 docs: add the token economics docs and bank module tutorial
  • #59 feat: gov RegisterInterfaces for sdk
  • #54 feat: Add deploy scripts for sp
  • #48 feat: add go-sdk and e2e test framework
  • #56 docs: build the framework of docs
  • #49 feat: Add event for storage module
  • #55 feat: enable swagger api for local deployment
  • #51 feat: added proto-gen-swagger for both greenfield and cosmos-sdk
  • #44 feat: add payment to storage module
  • #47 feat: add config for cross chain in env

v0.0.5

This release includes features, mainly:

  1. Implement payment module;
  2. Implement storage provider module;
  3. Implement storage management module.
  • #42 chore: run goimportssort over the repo
  • #18 feat: add storage module
  • #5 feats: init payment module
  • #39 doc: add events doc for the whole project
  • #41 feat: add more field of storage event
  • #40 feat: add comments for the events of bridge module
  • #38 ci: fix Dockerfile and add docker image release job
  • #35 deploy: update deployment scripts
  • #46 deployment: add bls env to setup script
  • #34 feat: add gashub module
  • #6 feat: add sp module
  • #32 feat: add support for EVM jsonrpc
  • #33 fix: revert gashub module and fix build error

v0.0.4

This release is for rebranding from inscription to greenfield, renaming is applied to all packages, files.

  • #30 feat: rebrand from inscription to greenfield

v0.0.3

This release includes features and bug fixes, mainly:

  1. Implement the cross chain communication layer;
  2. Implement the cross chain token transfer;
  3. Add scripts to set up full nodes using state sync.
  • #8 feat: implement bridge module
  • #27 feat: remove ValAddress and update EIP712 related functions
  • #26 fix: init viper before getting configs
  • #25 deployment: add scripts to set up full nodes using state sync

v0.0.2

This release includes features and bug fixes, mainly:

  1. Customized upgrade module;
  2. Customized Tendermint with vote pool;
  3. EIP712 bug fix;
  4. Deployment scripts fix.
  • #17 feat: custom upgrade module
  • #20 ci: fix release flow
  • #21 feat: init balance of relayers in genesis state
  • #19 deployment: fix relayer key generation
  • #16 feat: pass config to app when creating new app
  • #14 disable unnecessary modules

v0.0.1

This is the first release of the greenfield.

It includes three key features:

  1. EIP721 signing schema support
  2. New staking mechanism
  3. Local network set scripts

FEATURES

  • #11 feat: customize staking module for greenfield
  • #10 deployment: local setup scripts
  • #2 feat: add support for EIP712 and eth address standard r4r

DEP

  • #3 dep: replace cosmos-sdk to greenfield-cosmos-sdk v0.0.1(v0.46.4)

BUG FIX

  • #9 fix: add coin type to init cmd

DOCS

  • #1 docs: refine the readme with detailed introduction documentation