Proto commits in PeggyJV/gravity-bridge

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:d49bfb0
Author:Collin
Committer:GitHub

chore: refactor orchestrator and update deep_space and ethers dependencies (#579) * Move deep_space into workspace dependencies * Organize crate dependencies * WIP - Combine ethereum_gravity into cosmos_gravity * WIP - utils module in cosmos_gravity * Move gravity_utils into cosmos_gravity and fix references * Re-export deep_space from cosmos_gravity * Move prost crates to workspace level * WIP -Fix proto build dependencies and bump deep_space * Complete deep_space update * Fmt * Move ethers and serde deps to workspace * Update ethers * fmt * Rename cosmos_gravity to 'gravity' * Simple readme for gravity crate * Bump crates to v5.0.0

The documentation is generated from this commit.

Commit:09099fb
Author:Collin Brittain

WIP -Fix proto build dependencies and bump deep_space

The documentation is generated from this commit.

Commit:0ad72d4
Author:Collin Brittain

v6 upgrade work

Commit:a8e697c
Author:Collin Brittain

Bump gravity to v5

Commit:fbed6a3
Author:Collin Brittain

Fixing linting/module error

Commit:b678ba5
Author:Collin Brittain

Fixing GRPC

Commit:5ae33cc
Author:Collin Brittain

Add new cosmos and amino annotations to messages

Commit:744db27
Author:Collin Brittain

WIP

Commit:606b4e7
Author:Collin Brittain

WIP - debugging

Commit:cfe51e1
Author:Collin Brittain

Update proto build

Commit:7de995b
Author:Collin Brittain

WIP: Cosmos SDK v0.46 upgrade. Compiling, unit tests passing

Commit:7be4483
Author:Collin Brittain

Module package version v4.0.0

Commit:3255a88
Author:Collin Brittain

Rename param to clarify it's an Ethereum height

Commit:bb2df29
Author:Collin Brittain

Fix minor proto inconsistency

Commit:aabb8de
Author:Collin Brittain

Correct mistakes in git revert

Commit:751b4f8
Author:Collin Brittain

Revert "Review items - queries and signature -> confirmation term consistency" This reverts commit fa739d78088279e120d032474361923d88be2d95.

Commit:bddc200
Author:Collin Brittain

Slash based on OutgoingTx (not completed), and new slashing window param

Commit:fa739d7
Author:Collin Brittain

Review items - queries and signature -> confirmation term consistency

Commit:10ba8e8
Author:Collin Brittain

Merge branch 'main' into collin/pruning

Commit:7774350
Author:Collin Brittain

Add completed signer set txs to CompletedOutgoingTxs query

Commit:8eac7c9
Author:Collin Brittain

Remove TxHistoryWindow param recently added

Commit:798bb28
Author:Collin Brittain

Add queries for ethereum events and signatures, adjust pruning

Commit:61c2f84
Author:Collin Brittain

Addition of CompletedOutgoingTx, and windows for persisting event votes and completed tx history, queries

Commit:947cf7e
Author:Collin Brittain

Remove MsgRequestBatch

Commit:5d3b0c7
Author:Collin Brittain

Update terminology to keep distincton between unbatched txs and OutgoingTxs

Commit:2d9c03c
Author:Eric Bolten

Update go packages in protos

Commit:dc6b42d
Author:Mantas Vidutis

changes for chain specific denoms

Commit:111beeb
Author:Eric Bolten

No maps in v2 params

Commit:c71670d
Author:Mantas Vidutis

integration tests not passing

Commit:6f0fc0a
Author:Mantas Vidutis

review edits

Commit:c3f1113
Author:Mantas Vidutis

initial pass on re-review

Commit:74237a9
Author:Mantas Vidutis

pass on review edits

Commit:9d43e78
Author:Mantas Vidutis

first pass of review note edits

Commit:4e7f919
Author:Mantas Vidutis

merge vote heights

Commit:dce6f37
Author:Mantas Vidutis

params migration

Commit:ba093e5
Author:Eric Bolten

Add query endpoint for last observed Ethereum height

Commit:d7f6991
Author:Eric Bolten

Implement periodic ethereum height updates

Commit:25d228e
Author:Eric Bolten

Add MsgEthereumHeightVote

Commit:fff9334
Author:Mantas Vidutis

updated proto module version

Commit:deed3d9
Author:Mantas Vidutis

most errors cleaned up

Commit:eb5d3a4
Author:Mantas Vidutis

rust protos

Commit:0367b01
Author:Mantas Vidutis

new proto files for multi-evm gravity release

Commit:a600427
Author:Eric Bolten

Update API paths to indicate v1 API

Commit:e26ff76
Author:Eric Bolten

Revert proto definitions to v1

Commit:bc978bd
Author:Eric Bolten

Move gravity protos to v2

Commit:6d69aaf
Author:Eric Bolten

Merge branch 'main' into bolten/fix-contract-call-timeout

Commit:8f12056
Author:Eric Bolten

Bumping go module to v2 Also apparently a couple of these files hadn't had gofmt run on them recently, so some small incidental changes included as well.

Commit:cc43049
Author:Eric Bolten

Add client support for Ethereum spend proposal

Commit:9fd1056
Author:Eric Bolten

Remove unnecessary timestamp import

Commit:b464fa1
Author:Eric Bolten

Only use one denom, include bridge fee in proposal

Commit:5f595e4
Author:Eric Bolten

Support for community spend proposals to Ethereum

Commit:633bc60
Author:Eric Bolten

Add stringer to community spend proposal

Commit:69c442a
Author:Eric Bolten

Add CommunityPoolEthereumSpendProposal Also update protocgen.sh to use mainline protoc since modern versions of buf no longer support the protoc command.

Commit:5ad2888
Author:Mantas Vidutis

add tests

Commit:3365e91
Author:Mantas Vidutis

query server fixes

Commit:b5d0dc7
Author:Mantas Vidutis

chain id function

Commit:68c8ce8
Author:Mantas Vidutis

initial

Commit:40b8bae
Author:Mantas Vidutis

no hexbytes

Commit:cd69f7a
Author:Mantas Vidutis

logging in conf msg handler

Commit:899a671
Author:Zaki Manian

Merge branch 'main' of https://github.com/cosmos/gravity-bridge into zaki/evidence_port

Commit:541e875
Author:Justin Kilpatrick
Committer:Zaki Manian

Documentation overhaul and modernization This patch overhauls the documentation to cover a lot more info and provide a lot more details on different subjects

Commit:fd39cd6
Author:Jack Zampolin

WIP fees to distribtuion

Commit:0195030
Author:billy rennekamp
Committer:GitHub

chore: update paths (#376)

Commit:aa94cc0
Author:Jack Zampolin

Address address issue

Commit:ea6e96b
Author:marbar3778

add proto files and evidence msgs

Commit:e20e325
Author:Jack Zampolin

WIP Packet relaying

Commit:9aa15e8
Author:Mantas Vidutis
Committer:GitHub

Outgoing Contract Calls (#110)

Commit:1f1ecae
Author:Mantas Vidutis

eth timeout

Commit:673a609
Author:Mantas Vidutis

initial contract call logic

Commit:040b927
Author:Mantas Vidutis
Committer:GitHub

Gravity Event Hooks (#108)

Commit:7458c3a
Author:Mantas Vidutis

remove unneeded tm validator proto

Commit:0952ac5
Author:Mantas Vidutis

rc3 tm proto

Commit:5bc3036
Author:Mantas Vidutis

update proto deps

Commit:6f794ab
Author:Mantas Vidutis

gravity hooks

Commit:f7b4c14
Author:Levi Cook
Committer:GitHub

Let the chain determine our ideal ERC-20 config for a denom. (#106) * module: query to support creating erc-20s correctly * module: DenomToERC20Params query scaffolding * module: DenomToERC20Params query almost there (IBC support is TBD) * rust bindings for denom_to_erc20_params * deploy-erc20-representation should not accept erc-20 params from the user * encourage DenomToERC20Params to agree with our verifyERC20DeployedEvent rules * noting todos/concerns * clarify what happens when we have metadata and when we don't * ensure our eth event always carries the right "cosmos denom" * Apply suggestions from code review Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update grpc_query.go * don't bother navigating display denoms * Update module/proto/gravity/v1/query.proto Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update module/x/gravity/client/cli/query.go Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update module/proto/gravity/v1/query.proto Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Commit:b0fd7a1
Author:Aleksandr Bezobchuk
Committer:GitHub

Update module/proto/gravity/v1/query.proto

Commit:af0744f
Author:Levi Cook
Committer:GitHub

Update module/proto/gravity/v1/query.proto Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Commit:a75abc7
Author:Levi Cook
Committer:GitHub

Apply suggestions from code review Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Commit:bf2a7b7
Author:Levi Cook

ensure our eth event always carries the right "cosmos denom"

Commit:87e25a1
Author:Levi Cook

module: DenomToERC20Params query scaffolding

Commit:44c421e
Author:Levi Cook

module: query to support creating erc-20s correctly

Commit:30a2517
Author:Aleksandr Bezobchuk
Committer:GitHub

x/gravity: Verify Eth Sig in MsgDelegateKeys (#75)

Commit:70b6eae
Author:Aleksandr Bezobchuk

change eth sig type to string

Commit:0a44527
Author:Aleksandr Bezobchuk

x/gravity: lint++

Commit:ea494b5
Author:Aleksandr Bezobchuk

x/gravity: update MsgDelegateKeys

Commit:5182db4
Author:Mantas Vidutis
Committer:GitHub

Merge PR #41: refactor testnet for better fit in CI * wip * first pass go based test net * cleanup * accounts genesis * generating keys, accounts, and ethereum genesis * generating and signing gentx * go mod files * trying to bring up containers * bringing up containers * validators failing to connect * disable state sync * all validators up, miscommunicating * nodes signing, contracts deploying * orchestators failing on delegate keys * no need to give orchestrator consensus key * adding debuging rpc * delegate keys dump * failing keygen test * failing test for mnemonic mismatch * unused code * use fundraiser paths in key gen * happy path 2 * auto remove containers * cleanup * desperate attempt to keep containers clean * deterministic test * happy path passes * use go test for integration test * debug proto check breaking * build binary before test * check out put * short circuit on failed contract deploy * proto breaking debugging * fix integration test action * checkout project * maybe they intended to use an env * build test in step * cmd typo * attempting to read logs from tet runner * only pull stderr

Commit:5475625
Author:Jack Zampolin
Committer:GitHub

Merge PR #53: imports from cosmos -> peggyjv

Commit:fded762
Author:Levi Cook
Committer:GitHub

VALSET_STRESS end-to-end test fixes (#45) * test_runner - delegate with deep_space instead of gravity cli (wip) * fix(?): not providing enough fees to cover delegation * orchestrator keys have the funds to delegate/stake (not validator); wip: account sequence mismatch tho * rust was out of sync with start-testnet -- the latter provisions 100B; not 1B stake tokens * debug/hack: lower powerDiff required to gen a signer set test_runner is generating a 0.046 powerDiff where cosmos wants 0.05 to automatically create a signes set tx. Lowered it on this commit to 0.045 so we would generate the tx -- but still not seeing the system progress correctly. * relaying valset updates (more or less) * let us see if github will run the new dockerized tests * test_runner - wrap delegate_to_validator in a retry loop (because we are accidentally competing with other processes signing txns * restore the modules goal of generating singer sets at 5% * dropping some TODOs

Commit:6811175
Author:Levi Cook

dropping some TODOs

Commit:0eeb0e5
Author:Levi Cook

YAY! switching amount from bytes to string passes integration tests

Commit:7bccba4
Author:Jehan Tremback

WIP Ethereum signature store - This also simplifies confirmations a lot. There is now only one kind

Commit:ed3ccdf
Author:Levi Cook

almost relaying deposit events (making it to cosmos, but not accepting them yet)

Commit:80e0aab
Author:Jehan Tremback

"Signature" -> "Confirmation" There was a struct called "*Signature", which within it contained an actual signature and some metadata. This was very confusing so the struct has been renamed to "Confirmation"

Commit:8189d14
Author:Jehan Tremback

change signatures to strings from hexutil.bytes

Commit:70963e8
Author:Jehan Tremback

Clean up proto naming - Pending**EthereumSignatures -> Unisgned** - comment out useless http route annotations

Commit:cb0203f
Author:Jehan Tremback
Committer:Jehan Tremback

update proto to stop using magic values and clarify some nonce names. plus some other random WIP stuff, but at least it builds

Commit:e81c230
Author:Zaki Manian
Committer:GitHub

Merge PR #21: Regenerate rust code from proto files and compiling orchestrator Fixes query.rs and tx.rs Propogates type changes Co-authored-by: Jtremback <hi@jehan.email>

Commit:8361455
Author:Jtremback

Fix query.rs @jackzampolin This is the commit where we have SignerSetTxEthereumSignaturesResponse return SignerSetTxSignature instead of bytes etc.

Commit:f55eccd
Author:Jack Zampolin
Committer:GitHub

Merge PR #1: Gravity Refactor, compiling orchestrator and chain * Audit proto files * iotaized key prefixes * first sweep on proto files * Fix proto compilation erros * cleaning up key building : * remove double append * WIP rename * WIP rename * Compiling renamed proto files * Add interfaces * address PR comments * Update to reflect @jtremback review * add GetStoreIndex to OutgoingTx * Merge PR #2: iotaized key prefixes @mvid * iotaized key prefixes * cleaning up key building : * remove double append * update comments * renaming state vars * carry over proto-all from cosmos-sdk * initial types conversion * initial key renaming pass * Minor changes * converting messages * slog * valset conversion * cleanup * remove codec calls * clear out codec * pull out error * coin cleanup * remove querier * unneeded pointers * Address PR comments * initial interface implementation * catch up tests * clean up batch functions * change Amount to []byte * full ethereum name * Update module/proto/gravity/v1/genesis.proto Co-authored-by: Filipe Azevedo <filipe@azevedo.io> * erc20token * renaming * proper contract conversion * remove unneeded variable prefix * msg server updates for interface style * attestation cleanup * Finish up attestation to ethereumEventVote refactor * Implement interfaces * more cleanup * remove codec function * pool fixes * batch fixes * unused functions * meeting work * Merge PR #7: gravity query cleanup (wip) * Begin rewrite of queries * keeper queries - return the results we dug up * keeper queries - return the results we dug up (one more) * WIP querier refactor * compiling keeper * keeper cleanup * Clean up and beginning of batch refactor * Compiling again, working on pool tests * Compiling again, working on pool tests * Pull in some upstream changes including the signersettxexecutedevent * begin abci cleanup * merge * add instantiation keywords * keeper can locate pending eth sigs for an validator/orchestrator * keeper can locate pending batchtxs for a validator/orchestrator * keeper can locate pending contract call txs for a validator/orchestrator * keeper can lookup delegate keys by validator address * cleanup * keeper can lookup delegate keys by ethereum signer address * keeper can lookup delegate keys by orchestrator address * keeper can query demom to erc20 and vice-versa * keeper can query BatchTx fees * Merge PR #9: first pass batch review and cleanup Co-authored-by: Mantas Vidutis <mantas.a.vidutis@gmail.com> * Merge PR #8: Endblock refactor * WIP endblock compilation * WIP compiling * make proto-all to ensure we have up-to-date generated Go * ./contrib/local/protocgen.sh to ensure we have up-to-date generated Go * get the app module compiling Co-authored-by: Levi Cook <levicook@gmail.com> * gravity builds * wip * Merge PR #10: batch refactor cont * first pass batch review and cleanup * get rid of silly GetBatchTxs and associated functions * fix logic bug * shorten redundant getter logic in GetLastSlashedBatchBlock * change some wording and remove unnecessary if statement Co-authored-by: Mantas Vidutis <mantas.a.vidutis@gmail.com> Co-authored-by: Jtremback <hi@jehan.email> * wip batch debugging feat @mvid @jtremback * Merge PR #6: Proposed gorc CLI Structure * Update orchestrator proto files * Regen proto files to match jack/interface * regen proto files * Add brief readme to the rust code * Proposed CLI structure * small additions * Begin implementation * Restore readme update * correct generated code * Merge PR #11: update batch code, passing keeper tests * updated tests from merge * batch tests clean * keeper test cleanup * pool test utility function fixed * WIP abci test debugging * Working testcase in keeper * more wip * passing abci_test.go a few more to go... * abci test fix * Merge PR #12: abci test debugging * WIP abci test debugging * Working testcase in keeper * more wip * passing abci_test.go a few more to go... * Batch refactor * WIP * gravity tests are passing * WIP commands * WIP query things * stubbing out cli - gravity tx sub-commands * stubbing out cli - gravity query sub-command stubs * stubbing out cli - gravity query batch-tx and contract-call-tx stubs * stubbing out cli query stubs: signer-set-txs; batch-txs; contract-call-txs * stubbing out cli query stub: signer-set-tx-ethereum-signatures * stubbing out cli query stub: batch-tx-ethereum-sinatures * stubbing out cli query stub: contract-call-tx-ethereum-signatures * stubbing out cli query stub: pending-signer-set-tx-ethereum-signatures * stubbing out cli query stub: pending-batch-tx-ethereum-signatures * stubbing out cli query stub: pending-contract-call-tx-ethereum-signatures * stubbing out cli query stub: last-submitted-ethereum-event * stubbing out cli query stub: batch-tx-fees * stubbing out cli query stub: erc20-to-denom * stubbing out cli query stub: denom-to-erc20 * stubbing out cli query stub: pending-send-to-ethereums * stubbing out cli query stub: delegate-keys-by-validator * stubbing out cli query stub: delegate-keys-by-ethereum-signer * stubbing out cli query stub: delegate-keys-by-orchestrator * WIP abci.go refactor and general code cleanup * get tests passing after deleting specialized outgoinTx last slashed code * clean up unused exports and delete dead code in keeper * get rid of weird different error types * WIP delete and fix code, halfway through ethereum_event.go * Fix batch nonce issue * Fix batch nonce issue * stubbing out cli: implement query signer-set-tx * cli: implement query batch-tx * finish up dead code audit * change ErrInvalid back to 3 * fix wrong "!" * cli: implement query signer-set-txs * Merge PR #14: Rust compiles (thanks @zmanian!) and gorc stubbed out * Stub out the command hierarchy * WIP commit * gravity_proto: fix super::super errors * progress towards compiling the the protos * Merge PR #11: update batch code, passing keeper tests * updated tests from merge * batch tests clean * keeper test cleanup * pool test utility function fixed * Merge PR #12: abci test debugging * WIP abci test debugging * Working testcase in keeper * more wip * passing abci_test.go a few more to go... * More type fixes * gravity_proto: hand edit fix for BatchTx::transactions `prost-build` almost seems to be misgenerating this in its output. I'm not sure why, but perhaps a temporary hand edit will suffice to make progress getting the code to compile. * More fixes for the refactored protocol buffers * More fixes * Make send.rs compile * Make queries compile but much of it stubbed out waiting query fixes * Fix build errors * The orchestrator compiles * Fix anthor compilation error * Test_runner compiles * Gorc compiles Co-authored-by: Zaki Manian <zaki@manian.org> Co-authored-by: Tony Arcieri <tony@iqlusion.io> Co-authored-by: Mantas Vidutis <mantas.a.vidutis@gmail.com> * Merge PR #15: grpc_query.go major fixes * query send to ethereums * last event nonce query * batch tx query * rename to original file * docs for 0 nonce * using consistent error types with cosmos sdk * pagination and validation * casing issues * ethereum signature hex bytes * compiling and passing tests for go again Co-authored-by: Mantas Vidutis <mantas.a.vidutis@gmail.com> Co-authored-by: Filipe Azevedo <filipe@azevedo.io> Co-authored-by: Levi Cook <levicook@users.noreply.github.com> Co-authored-by: Levi Cook <levicook@gmail.com> Co-authored-by: Jtremback <hi@jehan.email> Co-authored-by: Jehan <jehan.tremback@gmail.com> Co-authored-by: Zaki Manian <zaki@manian.org> Co-authored-by: Tony Arcieri <tony@iqlusion.io>

Commit:04a97bc
Author:Mantas Vidutis
Committer:GitHub

Merge PR #15: grpc_query.go major fixes * query send to ethereums * last event nonce query * batch tx query * rename to original file * docs for 0 nonce * using consistent error types with cosmos sdk * pagination and validation * casing issues * ethereum signature hex bytes