Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pricing): Add taxable did & resource messages, supply deflation,…
… block rewards & `simapp` tests (#392) * Raise of InitBlock order of execution * Bump to include upstream AppHash fix * Raised order of InitGenesis * Debugging * Debugging v2 * Restored ante & post, genesis validation improvements * Cleanup * Fix build * Debugging * Add JUnit report for Upgrade step * Make protobuf and checksum tests work * Separate unit and integration upgrade test * Split fixed fee & simulation gas * Upgrade test suits * Fix namespaces * Debugging * Switched to broadcast block * Switched to lite calc * Debugging with default feedecorator * Added fee payer flag * Debugging * Debugging v2 * Removed simulation checks * Debugging * Added basic frame & improvements on unit tx lifecycle * Fixed return type * Minor fixes * Extract proto related migrations into it's own files * Commit for sync * Fix merge issues * Fixes * Fixed flag * Fixed response types * Slight fixes * Switched base accounts * Debugging * Commit for sync * Sync * Debugging * Debugging v2 * Debugging v3 * Switched to short quantities * Added logs step * Added overhead * Cleanup * Fixed to deterministic order of InitGenesis * Switched to preceding lite validation * Bump from retracted * Debugging * Debugging v2 * Misc * Make IndyStyle migration works * Merge with latest changes * Makes linter happy * Reviewing migrations * Fix bug * Fix merge conflicts * Cherry picked * `gofumpt -ed` * Fixed non-deterministic behavior of InitGenesis * Switched to hard typed fee params proto definitions * Switched order of querying supply * Bump Ginkgo & gas adjustment * Tidied * Bump adjustment * Bumped adjustment * Fix iterator issue * Run test pipelines * Clean up * Review checksumm migration * Restore build tags * Extract simple migration helpers * Implement version id migration * Unstash * Run it on pipelines * Fix tests running on pipelines * Fix cleanup * Fix test reporting * Remove redundant files * Added integration pricing set * Fixed start time * Fixed start <> end * Slight fixes * Added fee grant params generator * Added zero checks * Running whole package * Added empty base account & improvements * Fixed validation * Fixed falsy error codes * Restored extras * Fixed race conditions * Add generic dataset implementation * Slight fixes * Cleanup * Added extra base account * Fixed denom * Added extra headroom for insufficient funds cases * Cleanup * Fixed order * Switched order for consequent executions and race conditions * Bypass buf breaking * Add uuid migration * Cleanup * Removed debug prints * `gofumpt -ed` * Add resource version links migration * Fix build * Add unit tests for UUID (#456) * Move version setting to SetResource method * Make UUID tests for migration * Add tests for VersionId and create AddNewVersionMethod * Clenup Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com> * Fix version links migration * Restore version links migration * Cleanup * Vresion map fix attempt * Cleanup * Simplify unit test workflow * Add more migration handlers * Update test.yml * Try disabling version map fix * Uncomment integration tests * Reorganize file structure * Restore vm fix, fix linter * Add resource links test (#457) Add tests for resource links * Added upgrade handling for pricing * Fixed path * Fixed path v2 * Fixed path v3 * Fixed keys import * Added binary replacement step * Debugging * Switched to another base account, race conditions * Added co-dependency * Switched dep * Added extra output trim * Removed dependency * Fixed allocation * Added debug section * Fixed debug statements * Added extra line trim * Switched to helper * Switched to json contents * Restored top level proposal type * Added file passing with permissions * Debugging * Bubble up debug output * Restored post ping * Switched to unescaped * Fixed output trim redundant messages * Removed bloat * Cleanup * Debugging * Cleanup * Debugging * Fixed order * Skip directly to version * Fixed order * Added v1 query * Registered msg impl * Added content proto def * Added resource param change proposal * Cleanup * test(migration): Gingko tests for identity pricing migrations [DEV-1744] (#455) * feat: Migrate fee_tests.go * feat: ReStructure ante_test * fix: Linting errors * feat: Update error handling * feat: Migrate keeper tests to ginkgo * Add uuid migration for resource id * Restored module version map tests * Fixed key ref * Commit for sync * add checksum to datasets * Add diddoc pre update * Switched to previous state, non-altering results anyway * Skip InitGenesis of did module * Removed migrators as init migrations will be part of the upgrade handler * Fix migration unit tests * Merge with latest version * Added explicit version set on resource module * Fix tests for post checks * Makes linter happy * Fix pipelines * Fix resource unit tests * Better test structure * Fix loader * Debugging post did update * For the previous commit * Fix signature verification bug * Added final default params * Added module version map generic fix * Fixed prop expected values * Add did deactionvation * Fix update and deactivate cases * DIDDoc queries update * Update tx_create_diddoc.go * Update tx_deactivate_diddoc.go * Update tx_update_diddoc.go * Update query_diddoc.go * Rename create-resource * Update go.mod * Update migration_did_protobuf.go * Add resource default alternative url migration * Enable default alternative url migration + add test for it, fix build * Added resource creation after upgrade * Fix tests * Rename create-resource to create for tests * Move resource creation before queries * Fix resource tests * Move directory structure * Checkpoint of notes * Resolving merge with migration tests * Disabled temporarily breaking action * Fixed build tags * Fixed paths & removed redundant defs * Fixed conditional explicit set on version map * Restored pre tests * Added import step * Fixed codec entries * Added separation of decoding stages * Bypassing dead link temporarily * Fixed order * Added latest defaults * Added prop expected values * Fixed readme dead link * Minor nits * Remove redundant remarks & fixed typos * Temp disabled buf breaking * chore: Remove moved dir * Bump gas adjustment * Added explicit `gasLimit` cap on fixed fee decl Co-authored-by: Alexandr Kolesov <kolesov.alex.s@gmail.com> Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com> Co-authored-by: Andrew Nikitin <andrew.nikitin@cheqd.io> Co-authored-by: DaevMithran <61043607+DaevMithran@users.noreply.github.com>
- Loading branch information