These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)
Commit: | 43c564d | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
v9 (#330) * v9 upgrade work * Attempting to fix build error with specific alpine image * Correct image version * Reduce make parallelism * Bump gravity-bridge dependency to v6.0.1 * Try splitting the build to fix resource constraint * Restore original build step * Tweak burn logic
The documentation is generated from this commit.
Commit: | b93bc12 | |
---|---|---|
Author: | Collin Brittain |
v9 upgrade work
The documentation is generated from this commit.
Commit: | 1f5c6ce | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Fix old cork proposals having blank message name (#328) * Attempt 2, add old cork protos and regen their bindings * Make sure XXX_MessageName is present for old cork types
Commit: | 151b73c | |
---|---|---|
Author: | Collin Brittain | |
Committer: | Collin Brittain |
Attempt 2, add old cork protos and regen their bindings
Commit: | f88857e | |
---|---|---|
Author: | Collin Brittain | |
Committer: | Collin Brittain |
Make sure XXX_MessageName is present for old cork types
Commit: | 86d4c4f | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Sommelier v8 Upgrade (#318) * Initial cellarfees v2 migration code * Auction v2 Param migration * Bump gravity dep to v5.0.0 * Minor tweak to upgrade handler * x/incentives v2: Validator incentives (#320) * Add validator distribution fields to incentives Params * Fix help for a cork-result commands * WIP - First attempt at validator incentives allocation * Implement validator rewards in BeginBlocker * Fix validator incentives bug revealed by tests * Unit and integration tests * Fix linter issues * Param name change for clarity. Add event for total val incentive reward per block * Incentives v2 migration * Bump sommelier package to v8 * Additional cork and axelarcork events for easier tracking (#322) * More cork events * Axelarcork events * Fix linting errors * Bump version in go.mod to v8, and include latest gravity-bridge module * Event for relay cork call * Emit event on RelayCorkRequest * Additional unit test for cellarfees * Upgrade README additions * Tweak * Bump Cosmos SDK to 0.47.14
Commit: | 9569092 | |
---|---|---|
Author: | Collin Brittain |
Bump sommelier package to v8
Commit: | c918c37 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
x/incentives v2: Validator incentives (#320) * Add validator distribution fields to incentives Params * Fix help for a cork-result commands * WIP - First attempt at validator incentives allocation * Implement validator rewards in BeginBlocker * Fix validator incentives bug revealed by tests * Unit and integration tests * Fix linter issues * Param name change for clarity. Add event for total val incentive reward per block
Commit: | ea8bb24 | |
---|---|---|
Author: | Collin Brittain |
Param name change for clarity. Add event for total val incentive reward per block
Commit: | 7611c45 | |
---|---|---|
Author: | Collin Brittain |
WIP - First attempt at validator incentives allocation
Commit: | 440334a | |
---|---|---|
Author: | Collin Brittain |
Add validator distribution fields to incentives Params
Commit: | 7d6fc3a | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
feat: addresses module (#291) * Initial proto * Generate addressmap proto bindings * Change module name to addresses to avoid key prefix collision * WIP - addresses module * WIP - address module builds * Unit tests and refactoring * CLI queries and tests * tx CLI commands and unit tests * Add addresses gen state to setup_test * Rename default genesis state method * Addresses integration test * Fixing linting errors * More linting fixes * More linting * A few tweaks * Test pagination in query unit test * Review items * Compiler errors, proto errors. WIP - need to bump go version to 1.22 * Fix addresses test * Fix addresses test * Make linter happy * Unhappy path integration tests for x/addresses * Unhandled error * Improved keeper unit tests * More unit tests * Make CI linter happy * more linter stuff * Update proto-builder image version, and add missing directives to x/addresses protos
Commit: | e4cfdbe | |
---|---|---|
Author: | Collin Brittain |
Merge branch 'main' into collin/addresses
Commit: | 4bf8b2f | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Auction proceeds burn (#317) * Initial auction burn and test * Fix and improve unit testsC * Make linter happy * Add boundry tests for params
Commit: | cf334d5 | |
---|---|---|
Author: | Collin Brittain |
Update proto-builder image version, and add missing directives to x/addresses protos
Commit: | 43000b5 | |
---|---|---|
Author: | Collin Brittain |
Initial auction burn and test
Commit: | 0b5ec42 | |
---|---|---|
Author: | Collin Brittain |
Merge branch 'main' into collin/addresses
Commit: | cec0a52 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Collin/update prost build (#307) * Fix prost build after upgrade to using buf * Update somm_proto and prost build
Commit: | 701aee6 | |
---|---|---|
Author: | Collin Brittain |
Fix prost build after upgrade to using buf
Commit: | 86340b6 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Collin/sdk 0.47 (#303) * Update dependencies * WIP - 0.47 upgrade work * WIP - Remove removed AppModule methods * WIP - Debugging app setup * WIP - grpc issue * Go version changes in Dockerfile and toolchain * Fixed gRPC issue * Fix auction test * Working axelarcork test * Fix scheduled cork test * Passing pubsub test * Fix app_test.go * WIP - Broken unit tests * Update CI go version
Commit: | 6356c01 | |
---|---|---|
Author: | Collin Brittain |
WIP - grpc issue
Commit: | 9b68c62 | |
---|---|---|
Author: | Collin Brittain |
WIP - 0.47 upgrade work
Commit: | cb2fc5a | |
---|---|---|
Author: | Collin Brittain |
Merge branch 'main' into collin/addresses
Commit: | 01ad6c8 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
feat: cellarfees v2 changes (#289) * WIP - cellarfees v2 protos * FeeTokenBalance(s) queries and helper functions * Remove previous upgrade wiring * Remove gravity keeper and hooks from cellarfees * Fix imports * Fix expected keeper * remove empty file * Initial update to auction handling * Wire up new param * Remove old upgrade files from build * Refactor cellarfees BeginBlocker * Update cellarfees keeper unit tests * Remove empty file * Fix broken unit tests and compiler errors * gofmt * WIP - fix integration tests * WIP - Integration test updates * Remove auction requirement that denom be prefixed with gravity * WIP - Integration test passing, fee acct usomm balance not going to 0 bug * Fix test and skip usomm in auction start logic * Linting * Remove old upgrades from linting rules * Add CLI commands for new queries * Fix bugs found in testing * Refactor FeeBalance methods/handler to iterate balances instead of token prices * Tweak comments and imports * Refactor beginAuction method * Comment in proto
Commit: | 4b374a1 | |
---|---|---|
Author: | Collin Brittain |
WIP - address module builds
Commit: | 8d36899 | |
---|---|---|
Author: | Collin Brittain |
WIP - addresses module
Commit: | 6bc712c | |
---|---|---|
Author: | Collin Brittain |
Change module name to addresses to avoid key prefix collision
Commit: | 1814cf1 | |
---|---|---|
Author: | Collin Brittain |
Generate addressmap proto bindings
Commit: | a8bcd0e | |
---|---|---|
Author: | Collin Brittain |
Initial proto
Commit: | bff3e20 | |
---|---|---|
Author: | Collin Brittain |
Comment in proto
Commit: | a3611f6 | |
---|---|---|
Author: | Collin Brittain |
FeeTokenBalance(s) queries and helper functions
Commit: | 5ffb9f1 | |
---|---|---|
Author: | Collin Brittain |
WIP - cellarfees v2 protos
Commit: | 3157d97 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
chore: Update proto build to use buf and the BSR (#285) * Update proto build to use buf and BSR * Build cork protos to v2 package to match go file path * Switch cosmos/gogoproto dependency * Delete vendored google/gogo proto depedencies in favor of BSR * Switch from vendored regen cosmos_proto dep to BSR
Commit: | 11334a7 | |
---|---|---|
Author: | Collin Brittain |
Switch from vendored regen cosmos_proto dep to BSR
Commit: | 6d36c1f | |
---|---|---|
Author: | Collin Brittain |
Delete vendored google/gogo proto depedencies in favor of BSR
Commit: | e00cd55 | |
---|---|---|
Author: | Collin Brittain |
Build cork protos to v2 package to match go file path
Commit: | 7061880 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | GitHub |
Add query endpoint for subcribers who are validators, simplify AddPublisher proposal (#277) * add query endpoint for subcribers who are validators * update somm_proto * log error rather than panic on invalid subscriber * allow updates to publishers via governance
Commit: | ad35638 | |
---|---|---|
Author: | Eric Bolten |
add query endpoint for subcribers who are validators
Commit: | b97ec49 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
add query for all winningc orks (#266)
Commit: | 80ad6ed | |
---|---|---|
Author: | Collin Brittain | |
Committer: | Collin Brittain |
add query for all winningc orks
Commit: | 0d3388d | |
---|---|---|
Author: | Collin Brittain |
add query for all winningc orks
Commit: | 445b69a | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Add query for winning axelar cork (#264)
Commit: | 6fadc63 | |
---|---|---|
Author: | Collin Brittain |
Add query for winning axelar cork
Commit: | b4b9e49 | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
feat:auction token price queries (#261) * Update proto docs * Token price queries * gofmt * Add exponent field to token price prop handler * Fix cli test to inclue exponent field for token price prop * gofmt
Commit: | 5e2eaf5 | |
---|---|---|
Author: | Collin Brittain |
Token price queries
Commit: | 34bf424 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | GitHub |
Chardonnay RC1 (#256) * Add Axelar fees for community pool token transfers * Fix up more validations * increase token price validity length by default * Update polkachu server CA * Add upcoming cellar publisher intents * Update cork migration and key types * Create/remove default subscriptions for cellars * Allow subscribers to update their CA/URL * Remove comment * regenerate rust protos * appease linter * Set min auction height, current block for prices * Appease linter * fix prost_build for Axelar props
Commit: | aa4d56a | |
---|---|---|
Author: | Eric Bolten |
Create/remove default subscriptions for cellars
Commit: | 189fc6a | |
---|---|---|
Author: | Eric Bolten |
Add Axelar fees for community pool token transfers
Commit: | 1cae487 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | GitHub |
v7 pre-testnet fixes (#252) * axelarcork and v7 upgrade fixes * Community funds sent to GMP account correctly * properly handle cork migration, set default params * Fix cork validations and genesis * ledger-cosmos-go to v0.12.4 * used fixed-size keys in pubsub store for strings * axelarcork integration test prop fixes * Add miminum auction height parameter Also stub out usage of minimum USD value
Commit: | 6d3fd6a | |
---|---|---|
Author: | Eric Bolten |
Add miminum auction height parameter Also stub out usage of minimum USD value
Commit: | 08dde49 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Eric Bolten |
axelarcork and v7 upgrade fixes
Commit: | 1498c8e | |
---|---|---|
Author: | Collin | |
Committer: | GitHub |
Implement cap on uncompleted corks per validator to prevent storage DoS (#218) * Implement cap on uncompleted corks per validator to prevent storage DoS * Fix proto binding merge error * Run gofmt * manually call Validate on the genesis states * point to gravity v4.0.0 release * fix casing for some cellars, add Turbo EETH * update slices sizes with new cellar added * log the ICA host param update * actually validate the minimum USD value parameter * normalize cellars with eth mainnet chain ID prefix * add arbitrum test cellar to pubsub * Add test arbitrum cellar to axelarcork * some comments * loosen ProofURL validation * fix auction params test * set LastUpdatedBlock for token prices in v7 upgrade * ledger support for cork * GetSignBytes for cork * appease linter --------- Co-authored-by: Eric Bolten <eric@bolten.dev>
Commit: | fce7f41 | |
---|---|---|
Author: | Collin Brittain |
Merge remote-tracking branch 'origin/bolten/v7-upgrade-tweaks' into collin/validator-cork-cap
Commit: | f837fbc | |
---|---|---|
Author: | Zaki Manian | |
Committer: | GitHub |
Intitial commit of Block Interval Auctions (#242) * Intitial commit of Block Interval Auctions * Incremental unit test fixes * Incremental progress on unit tests for BeginBlock * Initial test for auction * Fix nit. Move modulus calc to own line * Only added traits to types that need them (#241) * Add another test * Add additional tests for Begin Block * Fix the panic in the tests * Fix interval auction (#244) * Update expected counter values (#245) --------- Co-authored-by: Collin <collinbrittain@gmail.com> Co-authored-by: Eric Bolten <eric@bolten.dev>
Commit: | 81a73d3 | |
---|---|---|
Author: | Zaki Manian |
Intitial commit of Block Interval Auctions
Commit: | 7b62aa4 | |
---|---|---|
Author: | Collin Brittain |
Merge branch 'main' into collin/validator-cork-cap
Commit: | 10451f0 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | GitHub |
Axelar with main merged, fixes, upgrade updates (#236) * pin goreleaser to 1.9.2 * add tendermint to grpc gateway * v5 incentives/gravity rc1 (#201) * v5 upgrade with only incentives and gravity updates * go.mod major version v4 -> v5 * go 1.15 -> 1.16 * Update prost_build and somm_proto * Generate somm_proto for v5 * Fix proto import path bug and regenerate protos * Fix linter * Pin to ubuntu version in releaser * Set incentives cutoff height * v5 -> v6 * move to github runners, go to 1.19, mod tidy * cosmos-sdk 0.45.13, ibc-go 3.4.0 * fix proto go packages to v6 * v6 upgrade * Update linter for go 1.19 * Appease linter * clean build * bring over axelar module * redo axelar corks with cork v2 * rpc endpoints for hitting axelar * cleanup for CLI * clean up CLI * sdk down to 0.45.10, tendermint to 0.34.22 put back dragonberry replace directive after sdk downgrade to match gravity * golang back down to 1.18 * Update v6 upgrade README * proposal trasnfered from gravity * typo * update for heighliner * genesis updates * governance * rename msg field * some review updates * more review updates * even more review updates! * proposal updates * chain configs query * comment updates * fix issue with ID in key parsing * add staking mocks * all existing cork v2 tests pass * add mocks to sc * tests for middleware * empty payload * prost build * bring in changes from cork v2 * actual prost build * include modules * namespace issue * unique gov prop ids * unused interchain test * move scoped axelar keeper * issue with params key table * app.go fixes for axelar cork * something is funky with codec registrations * more prop types * all proposals * unit test pass * clarify all registered types * newer protos broken for axelar cork * downgrade bufbuild * old version cellar fees * Bolten/test axelar buf (#220) * old protocgen.sh * newline fix * regen protos --------- Co-authored-by: Eric Bolten <eric@bolten.dev> * rebuild prost from new (old) buf build * compiles * params unit tests * lint pass * prost build * validate disabled * review pass * only chain id * more updates * import gravity module to pull delegate information * adjust mocks * set protocgen back to previous * linting * test configuration correct for scenario * return proto update to previous style * resetting swagger script to previous * another pass * more changes * cleanup local script changes for protos * encode id to string on result retrieval * revert cellarfee protos * test update for hex * cork timeouts * updates for unused cancel msg * several review comments * Add AxelarContractCallNonce types and keeper methods * Update tests * Update protos, generate docs * Add deadline to AxelarCork state and keeper methods * Add deadline and noce to RelayCork payload * Initial axelar proxy upgrade types and logic * Unit tests and rename encoding method * Fix proto errors * Make linter happy * Upgrade data iterator * Init/ExportGenesis for upgrade data * Tweak keeper comments * More accurate test name * Tweak tests * Clarify proxy encoding arg name * Revert "Clarify proxy encoding arg name" This reverts commit 6dc13c280ab455e29c4bea8bdd5d4cf8ddf85a93. * CLI tx commands for new proposals * Proposal boilerplate, queries, CLI, fixes * Wire up handlers * Improved Axelar call encoding/decoding, add unit test * Add proxy upgrade to IBC packet validation * Rename packet validation method * Add missing validation for upgrade packet * Remove unneeded comment * Add new axelar proposal handlers to BasicManager * Add message type constant for relay upgrade message * Remove unused struct * Register missing messages with legacy amino codec * Add ValidateBasic() for new state and add to default genesis * Update somm_proto crate * Add new query commands to CLI * Add new tx command to CLI * Lock somm_proto crate to steward compatible version * Update Cellar IDs query and add QueryCellarIDsByChainID * Remove duplicate chainID argument from axelar cork ID hash * Updates * Update subscribers * Update cellars in v7 upgrade * Update token prices in v7 upgrade * Update sizes and Seven Seas domain * lint fixes * Account keeper mocks for Axelar * Remove extraneous int parsing tests in auction CLI * Delete the v4 upgrade test We're long since past v4 and it breaks on the new Cosmos SDK. Was only here for historical reasons. --------- Co-authored-by: Mantas Vidutis <mantas.a.vidutis@gmail.com> Co-authored-by: Collin Brittain <collinbrittain@gmail.com>
Commit: | b7c4338 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Eric Bolten |
Updates
Commit: | 5edeaa7 | |
---|---|---|
Author: | Collin Brittain |
Merge branch 'main' into collin/validator-cork-cap
Commit: | fd12f41 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | GitHub |
v7 pre-Axelar (#231) * Updates * all protos to mod v7 * Regenerate protos * appease the linter * Fix auction unit tests * add missing exponents in integration setup_test
Commit: | 36b88e6 | |
---|---|---|
Author: | Eric Bolten |
all protos to mod v7
Commit: | b443750 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Eric Bolten |
Updates
Commit: | d5a0c85 | |
---|---|---|
Author: | Collin Brittain |
Update Cellar IDs query and add QueryCellarIDsByChainID
Commit: | 6c1bbd5 | |
---|---|---|
Author: | Collin Brittain |
Proposal boilerplate, queries, CLI, fixes
Commit: | 3ec15dc | |
---|---|---|
Author: | Collin Brittain |
Init/ExportGenesis for upgrade data
Commit: | 1b52a60 | |
---|---|---|
Author: | Collin Brittain |
Fix proto errors
Commit: | d213dcf | |
---|---|---|
Author: | Collin Brittain |
Initial axelar proxy upgrade types and logic
Commit: | be7b58d | |
---|---|---|
Author: | Collin Brittain |
Update protos, generate docs
Commit: | 6ede3f7 | |
---|---|---|
Author: | Collin Brittain |
Add AxelarContractCallNonce types and keeper methods
Commit: | a083944 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Finish audit of query keeper & client
Commit: | 31f4d3b | |
---|---|---|
Author: | Collin | |
Committer: | Collin Brittain |
Minor fixes: Cork abci/msg_server refactors, test setup improvements (#217) * Remove rundundant SetOutgoingTx call when creating contract call * Use setter method in IncrementInvalidationNonce() * Refactor GetApprovedScheduledCorks * Refactor ScheduleCork() * Remove use of ARHIVE_NODE_URL, and speed up orchestrator health check in test setup * Loop the validator rewards baseline check due to post-startup instability * Fix cellarfees test bug by loading the gravity denoms dynamically at setup * Hardcode 2/3 consensus for cork threshold * Deprecation comment on cork v2 vote threshold param * Move cork threshold value to static var * Adjust cork vote threshold var to const
Commit: | 38d2e7e | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Collin Brittain |
Initial protos for auction module
Commit: | 63c25fb | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Collin Brittain |
Fix the initial proto files so they compile
Commit: | 416a042 | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Collin Brittain |
Fix MsgSubmitBidRequest to not use Bid
Commit: | 5bf9cbc | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Key update WIP
Commit: | 69935b7 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Finish keeper (implement BeginAuction
Commit: | 9491ad2 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Implement query server
Commit: | 1447706 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Fix typos
Commit: | 6e21c30 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Update protos
Commit: | d005815 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Finish implementing feedback from initial draft
Commit: | 086beda | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Collin Brittain |
Fix TokenPrice id, gofmt and whitespace fixes
Commit: | d726553 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Auction Module Unit Tests (#180) * Add in base test auction keeper with mocked expected keepers * Fix bug in keystore lookup & do happy path for BeginAuction * Minor bug fix and happy path for finishing auction * lint * test * Msg server happy path unit test * Partial implementation for abci test * Abci unit test happy path * Partially fulfilled bid test * Partial unhappy path for msg server * Finish unhappy path tests for msg server * Make linter happy * Finish unhappy paths for keeper, msg server, & abci * Add genesis unit testing and fix up genesis import + add validate basic ccheck to token price setting * Proposal handler unit testing * Query server tests * Add auction types validation testing and remove some unnecessary errors * Genesis validate test * Add in msg validation test * Add params validate test * Proposal validation test * Cli query tests * Tx unit tests * Add auction module account keeper * Added mock account keeper * Partial unit test update to account for new expected keeper * Update unit tests to account for latest updates in integration test sister PR * lint * Tidy * Partial address of comments * More feedback being addressed * Unit test workflow * Address review comments
Commit: | e8f43f0 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Auction Module Fine Tuning (#185) * Scope out TODOs * Implement new min bid amount & panic edge cases * Add pagination to ended auctions and bids * Lint * Prune ended auctions and bids if they're too old while preserving at least one record per denom * Lint * Add block height to bids * Process auction acceleration factor * Generalize paginiation to cosmos sdk type * Finish review comments * Lint * Clean up errors * Update unit tests * Update integration tests * Addressing most recent comments
Commit: | bbd75a6 | |
---|---|---|
Author: | Ukpai Ugochi | |
Committer: | Collin Brittain |
Corkv2 dev (#189) * Begin removal of commit period * Beginning of cork migration to v2 * cork module consensus version 2 * Fix package bug in v1 cork protos * Cork v2 protos, starting by removing commit period * Remove references to commit period * Finish removing SubmitCork * added ids to scheduledcork message * Added endpoint for scheduledcorkbyid * Move id to MsgScheduleCorkResponse * Fix query comment * Generate protos * added ID to store and Scheduled Cork ID methods in keeper.go * added query for corks by Id * fixed query and keys in keystore * Added logic for GetScheduledCorksByID * Scheduled cork ID assignment * Add ID to scheduled corks query * Add CorkResult type * Some keeper TODOs * New proposal proto for scheduled corks * created corkresults functions * record cork results when quorum * Wrote handler for Scheduledcork proposal in Proposal Handler * wrote functions for proposal.go * logic for NewScheduledCorkProposalHandler * compiled prost for cork.v2 * made cork v2 in somm_proto * Fix up CorkResult, use sdk BigEndian library * Add query protos for CorkResult * TODOs for CorkResult * Small updates to proposal handling * Fix proposal handler * Add proposal CLI todos * added GetCmdSubmitScheduledCorkProposal * created query for cork result and cork results * removed cork_test function * Fix up submitting the scheduled cork proposal * Remove old scheduled corks in migration * removed cork from integration test * replaced with corkID for GetCorkIdByHash, SetCorkIdByHash, GetCorkId, SetCorkId * changed IdHash to IDHash for all occurance * wrapped unusedAddedContract in nolint:unused since it's not currently used * attempt to fix all lint errors * fixed lint error for NewScheduledCorkProposal * ran golangci-lint should fix lint issues * removed break line in export.go * added query for corkResult and corkResults * fixed lint issue * Added queries to GetQueryCmd * addressed text in endBlocker * Increment ID * returning corkID * changed format of TargetAddress to common.address * added hashes and cork results to genesis state * Update latest cork ID field in genesis state * Generated protos * fixed LatestCorkId and CorkResults genesis state * Use hashes for Cork IDs * Fix linting issues * Updated rust proto definitions * Addressing some Cork V2 review items * Initial cork CLI testing * Cork CLI Query tests * Add scheduled cork proposal to integration test and fix codec bug * WIP - cork unit tests * Cork keeper, scheduled cork proposal, and query unit tests * Address golint issues with cork changes * Final tweaks for latest review round of cork * Fix log message in scheduled cork test * Addressing more cork v2 review items Co-authored-by: Eric Bolten <eric@bolten.dev> Co-authored-by: Collin Brittain <collinbrittain@gmail.com>
Commit: | ed9b14f | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Update bid to include total payment & fix price calculation types
Commit: | 5592743 | |
---|---|---|
Author: | Zaki Manian | |
Committer: | Collin Brittain |
Incentives module (#197) * initial commit of incentives module * Switch the parameter from coin to coins in the parameter Implement the end blocker needs tests * Added expected keepers genereated with gomock * Test boilerplate * Improve some tests * Query and app.go wiring * Compute APY in Query * Incentives module unit tests APY in cellarfees * Fix golint, use of 'usomm' value * Add IncentivesCutoffHeight and checks for distribution/APY * WIP - Incentives integration test * Fix GetAPY/GetParams queries, passing integration test * Uncomment lines changed during debugging * Incentives module review round 1 * Incentives module review round 2 * Ensure incentives cutoff works in integration test Co-authored-by: Collin Brittain <collinbrittain@gmail.com>
Commit: | 1cc9e2b | |
---|---|---|
Author: | Eric Bolten | |
Committer: | Collin Brittain |
Pubsub (#198) * Module scaffolding * Move protos to v1 and fix up packages * Fix up protos for params * Generated go for stub protos * Pubsub model and proposal types * Update genesis proto * Define tx services and messages * Define query services and messages * WIP: filled out most of the boilerplate * Query subscribers by address rather than domain * Keeper keys for basic pubsub types * Fix key naming * WIP: basic keeper model * Finished basic keeper Also switches all subscribers to using account addresses even if their key material is a validator address, to use a consistent format * Add signer to all the sdk.Msg types * Boilerplate stubs for every sdk.Msg * Use an enum for method of PublisherIntent * Fix typo in SubscriberIntent * Lots of comments to describe the pubsub proto * Clarifying comments on ca_cert in protos * Msg functions and ValidateBasic implementations * Use go stdlib URL parser * Small comment fixes * Remove TODO for Begin/EndBlocker, nothing yet * Add Params functions, fix typo * InitGenesis/ExportGenesis * Remove TODO in genesis.go * Query server stubs, fix query proto typo * Update prefix handling, deletes, query server This update does a couple things: 1. For consistency's sake, since many elements in key are variable length, all key elements are delimited by the | character and there are trailing delimiters to prevent substrings of larger keys from being an issue 2. Two different key prefixes exist for PublisherIntents and SubscriberIntents. When they are stored they are stored in both, and when deleted are deleted in both. This is to allow efficient querying of using either element of the unique key tuple. 3. The keeper now uses some helper functions for these queries and prefixes, and also now supports deletion for each type. 4. Given all the changes above, the query server has been implemented * Fix genesis Params validate function * Use basic strings in proposals, proposal models * Remove proposal TODO * TODOs for CLI * Also index subscriber intents by publisher domain * WIP: implement the Msg server * Fix wrong AccAddress function call * Update remove Msgs to not require full entity * Fix tx.proto typo * Reorder Msg fields to match model * Remove publisher domain for RemoveSubscriberIntent * Remove unnecessary trailing delimiter * Fix field numbering * Implement Msg server, and a bunch of refactors * Proposal handler * Make sure SubscriberIntents are authorized Also fix some errors * Handler * Add pubsub to govRouter * Add some TODOs * pubsub updates * Respond to feedback and satisfy the linter * More linter appeasement * More linter appeasement
Commit: | 7c1c46f | |
---|---|---|
Author: | Collin | |
Committer: | Collin Brittain |
Collin/cellarfees (#159) * Add cellar fee pool types to cellarfees * Add CellarFeePool store to genesis, update genesis proto * Initial test setup and CellarFeePool store unit test * WIP * cellarfees keeper helper methods and unit tests * Switch to using sdk.Coin(s) methods for accounting in pool * Add SendFeesToAuction test * Pool balance invariants * cellarfees AfterSendToCosmosEvent hook, other additions to make app_test.go and pool invariants work * Ignore SOMM in cellarfees AfterSendToCosmosEvent handler. * Send rewards for distribution in BeginBlocker * RewardEmissionPeriod param * Comments * WIP - Auction scheduling * Fix typo * Update params * Tweak auction handling and tidy up keeper file structure * Refactor hooks.go * Remove extra new line in app.go * Improve naming clarity in abci.go * Comment on params proto fields * Fix SendFromModuleToModule arguments in cellarfees BeginBlock * Refactor/format cellarfees params.go * Update cellarfees keys to be more in line with somm module conventions * Remove unused addCoinsToPool method, make AddCoinToPool() a private method * Use sdk errors for reporting in cellarfees * Fix inconsistent key/function naming in cellarfees * Panic if auction object validation fails in BeginAuction() * Fix getter/setter for scheduled auction height, error handling tweaks * Fix errors around scheduled height type change * Change cellar fee pool accounting to set/zero-out approach * Cellarfees comment * More error handling in cellarfees * cellarfees' fee accrual counter type * Remove pool and scheduled height from protos and keeper in cellarfees * Update cellarfees AfterSendToCosmos hook, auction handler, and BeginBlocker to use fee accrual counters * Update cellarfees genesis methods * Unit test for fee accrual counters keeper methods * Tweak cellarfees error message * Fix GetFeeAccrualCounters bug * Account for ValidateBasic panic in auction keeper tests * Make golint happy * Cellarfees review changes #1 * Implement mock test suite keeper unit tests for cellarfees * Fix golint errors * Fix broken auction tests * Cellarfees review changes #2 * Cellarfees review changes 3
Commit: | f159d82 | |
---|---|---|
Author: | Phil | |
Committer: | Collin Brittain |
Finish updating keeper
Commit: | 5fb45e9 | |
---|---|---|
Author: | Mantas Vidutis |
cork timeouts
Commit: | 46ec04f | |
---|---|---|
Author: | Mantas Vidutis |
more changes
Commit: | c021d9f | |
---|---|---|
Author: | Mantas Vidutis |
another pass
Commit: | f2c80e6 | |
---|---|---|
Author: | Mantas Vidutis |
only chain id
Commit: | f5a3861 | |
---|---|---|
Author: | Mantas Vidutis |
review pass
Commit: | 5e0b04e | |
---|---|---|
Author: | Mantas Vidutis |
compiles
Commit: | 0695e31 | |
---|---|---|
Author: | Mantas Vidutis |
newer protos broken for axelar cork
Commit: | 54f88ae | |
---|---|---|
Author: | Mantas Vidutis |
clarify all registered types
Commit: | 494d6d1 | |
---|---|---|
Author: | Mantas Vidutis |
unit test pass
Commit: | 06340a7 | |
---|---|---|
Author: | Mantas Vidutis |
something is funky with codec registrations
Commit: | 05470ad | |
---|---|---|
Author: | Mantas Vidutis |
prost build