Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge QGB feature branch into main #742

Merged
merged 96 commits into from
Sep 23, 2022
Merged

Merge QGB feature branch into main #742

merged 96 commits into from
Sep 23, 2022

Commits on Feb 16, 2022

  1. Adds remaining messages and queries to QGB skeleton scaffolding (#212)

    * removes dummy field from data commitment
    
    * adds TODOs
    
    * adds comments
    
    * linter fixes
    
    * linter fixes
    
    * linter fixes
    
    * linter fixes
    
    * linter fixes
    
    * CI fixes
    
    * query rename
    rach-id committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    7c0e453 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. adds valset confirm logic and queries (#215)

    * adds valset confirm logic and queries
    
    * adds valset confirm logic
    
    * removes unnecessary parameter from qgb keeper
    
    * removes unnecessary cli for valset confirm
    
    * updates comments and removes unnecessary ones
    
    * remove query command from module
    rach-id committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    59176d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. add qgb orchestrator address logic (#218)

    * add_qgb_orchestrator_address_logic
    
    * updates comment
    
    * don't return giant struct for linting reason
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    
    * update imports
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    rach-id and evan-forbes committed Feb 21, 2022
    Configuration menu
    Copy the full SHA
    a6aaab3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e20e44d View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Add data commitment logic (#222)

    * adds msgs + query proto
    
    * adds data commitment basic functions
    
    * adds data commitment query skeleton + server emitting events
    
    * linter changes
    
    * adds data commitment keeper + basic queries
    
    * persisting data commitment confirm on submission
    
    * adds data commitment confirms by validator query
    
    * adds verification for validator and ethereum address when handling data commitments confirm messages
    
    * adds data commitment by range keeper + query
    
    * adds comments
    
    * adds staking keeper to qgb and GetOrchestratorValidator implementation
    
    * adds delegate key query
    
    * adds qgb module address config
    
    * cosmetics
    
    * removes unnecessary comment
    
    * uses restricted version of staking keeper for QGB
    
    * cosmetics
    
    * removes config file
    rach-id committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    1dc066b View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Record validator set during EndBlock for QGB orchestrator (#232)

    * add valset and params
    
    * create new val set request if the voting power has changed enough at the end of the block
    
    * comment out broken query method we don't strictly need yet
    
    * delete some comments
    evan-forbes committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    0171fff View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Adds qgb module tests (#237)

    * fixes test common foundation
    
    * fixes valset confirm query + query by nonce test
    
    * go mod
    
    * remove unnecessary comment
    
    * cosmetics
    
    * adds query current valset test
    
    * adds prefix range test
    
    * adds current valset normalized power test
    
    * adds GetDelegateKeys test
    
    * adds NewMsgSetOrchestratorAddress test
    
    * adds ethereum signer test
    
    * adds genesis test
    
    * adds valset power diff test
    
    * adds valset sort test
    
    * adds Valset Creation Upon Unbonding test
    
    * adds abci tests
    
    * adds valset handler tests
    
    * adds no lint
    
    * adds no lint
    rach-id committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    ed0e48b View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. Add qgb data commitment tests (#240)

    * fixes data commitment keeper iterator
    
    * adds data commitment by commitment query
    
    * cosmetics
    
    * adds data commitment queries tests
    
    * cosmetics
    
    * adds data commitment message validation tests
    
    * adds commented msg data commitment confirm test
    rach-id committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    eaed5db View commit details
    Browse the repository at this point in the history
  2. Adds msg server data commitment test for QGB module (#242)

    * adds handler test
    
    * adds events check for handler test
    rach-id committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    8209e23 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Adds simple indexing to qgb module (#246)

    * use index prefix for commitments query
    
    * adds test for indexed query
    
    * linter
    rach-id committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    df46d12 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. Adds QGB related ADRs (#250)

    * adds overview and valset init ADRs
    
    * cleanup
    
    * adds Data commitment ADR init
    
    * improves the valset adr
    
    * cosmetics
    
    * adds more details and removes unnecessary stuff
    
    * cosmetics
    
    * proto format + ADR updates
    
    * updates proto files + ADR
    
    * adds endblocker doc to adr
    
    * typo
    rach-id committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    6d78b9b View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Orchestrator and relayer client (#255)

    * initial orchestrator client
    
    * update go mod and change the makefile so it stops breaking the ci
    
    * copy and paste the needed code from the keystore lib
    evan-forbes committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    2f3686c View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. Improves the orchestrator/relayer commands, adds tests and moves Ethe…

    …reum/Orchestrator addresses to cosmos-sdk.staking.Validator (#276)
    
    * initial orchestrator client
    
    * format proto and add necessary queries
    
    * add orchestrator logic
    
    * and encoding of data commitments and validator set changes
    
    * add orchestrator command
    
    * add relayer
    
    * add the orchestrator command
    
    * proto formatting
    
    * use correct name
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    
    * use correct path to endpoint
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    
    * get rid of GravityNonces struct
    
    * use correct name
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    
    * Adds QGB related ADRs (#250)
    
    * adds overview and valset init ADRs
    
    * cleanup
    
    * adds Data commitment ADR init
    
    * improves the valset adr
    
    * cosmetics
    
    * adds more details and removes unnecessary stuff
    
    * cosmetics
    
    * proto format + ADR updates
    
    * updates proto files + ADR
    
    * adds endblocker doc to adr
    
    * typo
    
    * regenerate proto
    
    * go mod tidy
    
    * use correct name
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    
    * handle error
    
    * begin refactor
    
    * adds data commitments and valset orchestrator processors
    
    * add the app client that queries for validator sets and data commitments
    
    * add two new methods
    
    * add query methods to appClient
    
    * WIP: update orchestrator and relayer to use the appClient
    
    * WIP: update orchestrator and relayer to use the appClient
    
    * WIP: update orchestrator and relayer to use the appClient
    
    * adds evm_client implementation
    
    * add the nil clients for the evm and mockappclient
    
    * add the new methods to the mock app client
    
    * flesh out the mock app client
    
    * flesh out app orchestrator test
    
    * adds QueryLatestValset to appClient
    
    * wip: adds orchestrator test
    
    * adds orchestrator valset test
    
    * moves orchestrator test utils to a separate file
    
    * adds orchestrator valset processEvents error check in test
    
    * rename ValidatorSignature field in DataCommitmentConfirm to ValidatorAddress
    
    * fix valset orchestrator signature test
    
    * fix last valset request in orchestrator
    
    * fix last valset request in orchestrator common test
    
    * remove unnecessary nonce increment for data commitment signing in orchestrator
    
    * fix orchestrator data commitment test
    
    * closes the mocked app client in orchestrator test
    
    * add the mock evm client
    
    * fix the command to orchestrate valsets properly
    
    * get rid of zerologger
    
    * use tmlog instead of zerolog
    
    * remove extra err handling
    
    * add comment to question nonce usage in evm client submit dataroot
    
    * adds data commitment orchestrator test
    
    * adds deploy command
    
    * adds evmRpc flag to qgb config
    
    * deubgging the qgb install
    
    * add set orchestrator command
    
    * removes set Ethereum/Orch address + fixes tests + general cleanup (#296)
    
    * removing setting the address separatly and relying on the eth/orch addresses to be defined in sdk.staking.Validator
    
    * add tx command for qgb module
    
    * added proto generated files
    
    * fixes tests
    
    * adds todo
    
    * todo
    
    * pass the keyring backend and path to app client
    
    * adds error check the newKeyedTransactorWithChainId
    
    * rename QueryLastValset1 to QueryLastValsetRequests
    
    * rename evmChainIDFlag typo
    
    * rename QueryLastValsets
    
    * adds todo
    
    * update deploy command to use the right latest valset
    
    * adds todo
    
    * updated go.mod and go.sum
    
    * update the single-node.sh script to initialize three accounts and create one validator with an orchestrator and ethereum address
    
    * imports
    
    * adds events testing main.go
    
    * remove unused variable
    
    * use sweexordious fork for cosmos sdk in the app
    
    * update go.sum
    
    * update .gitignore
    
    * update lint.yml
    
    * linter fixes
    
    * new line
    
    * linter
    
    * todo
    
    * linter checks
    
    * linter checks
    
    * linter checks
    
    * adds mutexes for race conditions
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    evan-forbes and rach-id committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    76e2715 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Adds Ethereum signatures verification + refactor the orchestrator/rel…

    …ayer for testing (#314)
    
    * temporary disables listening for valsets and query for latest valset instead
    
    * app client listening for arbitrary events for valsets
    
    * temporary disable signatures for testing
    
    * temporarily disable threshold checks for relayer
    
    * update count in end blocker
    
    * fixes orchestrator listening to valset events
    
    * fix orchestrator signatures + enables checks on msg_server + makes bridgeId a const
    
    * fixes signature tests + adds new checks
    
    * adds todo
    
    * remove unnecessary comment
    
    * adds todo
    
    * adds todo
    
    * moves the signer outside of the NewAppClient
    
    * cosmetics
    
    * updates singe node script to only create one validator
    
    * uncomments the threshold for querying two third data commitment confirms
    
    * linter checks + cosmetics fixes
    
    * cosmetics
    
    * removes todo
    rach-id committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    e48ccce View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. Add valset request by nonce support for QGB (#342)

    * adds valset request by nonce
    
    * trigger CI
    
    * revert: trigger CI
    
    * update go.mod
    
    * Revert "update go.mod"
    
    This reverts commit 0007050.
    rach-id committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    95f5208 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Replay mechanism for QGB relayer (#344)

    * adds valset request by nonce
    
    * add querier, broadcaster and updates orchestrator to use them
    
    * partially fix the tests for the new design
    
    * update the deployer for the new design
    
    * update orchestrator to new design
    
    * Adds querier and evm client update
    
    * update relayer to new design
    
    * fix query.proto
    
    * update deploy_command to use new Querier
    
    * formatting
    
    * formatting
    
    * go.sum
    
    * revert go.mod change
    rach-id committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    2d3c072 View commit details
    Browse the repository at this point in the history
  2. QGB go mod tidy (#350)

    * go mod tidy
    
    * go mod tidy
    rach-id committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    e310505 View commit details
    Browse the repository at this point in the history
  3. Adds unbonding height query to QGB (#346)

    * adds valset request by nonce
    
    * add querier, broadcaster and updates orchestrator to use them
    
    * partially fix the tests for the new design
    
    * update the deployer for the new design
    
    * update orchestrator to new design
    
    * Adds querier and evm client update
    
    * update relayer to new design
    
    * fix query.proto
    
    * update deploy_command to use new Querier
    
    * formatting
    
    * formatting
    
    * go.sum
    
    * adds query last unbonding height
    rach-id committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    77cf3f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    d8dd2e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1534631 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Use uint64 instead of int64 in QGB types (#358)

    * uses the uint64 instead of int64 in right places
    
    * typo
    
    * cosmetics
    rach-id committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    d79b858 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8edfc38 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    4fe09dc View commit details
    Browse the repository at this point in the history
  2. adds last valset request before height query (#365)

    * adds last valset request before  height query
    
    * regenerating correct query.pb.go
    
    * adds check before querying next valset
    
    * Update x/qgb/keeper/query_valset.go
    
    Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
    
    * adds comment
    
    Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
    rach-id and adlerjohn committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    0e5db96 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2022

  1. Orchestrator old signatures replay (#351)

    * adds valset request by nonce
    
    * add querier, broadcaster and updates orchestrator to use them
    
    * partially fix the tests for the new design
    
    * update the deployer for the new design
    
    * update orchestrator to new design
    
    * Adds querier and evm client update
    
    * update relayer to new design
    
    * fix query.proto
    
    * update deploy_command to use new Querier
    
    * formatting
    
    * formatting
    
    * go.sum
    
    * adds query last unbonding height
    
    * adds orchestrator valset replay
    
    * adds orchestrator data commitment replay
    
    * cosmetics
    
    * puts valset signature catchup in a separate function
    
    * puts data commitment signature catchup in a separate function
    
    * Querier cosmetics
    
    * go.sum
    
    * rename querier and catchup functions
    
    * adds genesis case to querylastvalset
    
    * format + todo
    
    * initialized tm logger in test
    
    * update orchestrator code to use uint64 instead of int64
    
    * better logging
    
    * Update x/qgb/orchestrator/orchestrator_client.go
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    
    * formats import
    
    * rename addOldValsetAttestations and addOldDataCommitmentAttestations
    
    * defering logging instead of repeating it on every return
    
    * adds comment
    
    * Update x/qgb/orchestrator/relayer.go
    
    Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
    
    * Update x/qgb/orchestrator/querier.go
    
    Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
    
    * remove unnecessary error
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
    3 people committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    45109e5 View commit details
    Browse the repository at this point in the history
  2. Relayer query right valset for confirmations (#372)

    * adds valset request by nonce
    
    * add querier, broadcaster and updates orchestrator to use them
    
    * partially fix the tests for the new design
    
    * update the deployer for the new design
    
    * update orchestrator to new design
    
    * Adds querier and evm client update
    
    * update relayer to new design
    
    * fix query.proto
    
    * update deploy_command to use new Querier
    
    * formatting
    
    * formatting
    
    * go.sum
    
    * adds query last unbonding height
    
    * adds orchestrator valset replay
    
    * adds orchestrator data commitment replay
    
    * cosmetics
    
    * puts valset signature catchup in a separate function
    
    * puts data commitment signature catchup in a separate function
    
    * Querier cosmetics
    
    * go.sum
    
    * rename querier and catchup functions
    
    * adds genesis case to querylastvalset
    
    * format + todo
    
    * initialized tm logger in test
    
    * update orchestrator code to use uint64 instead of int64
    
    * better logging
    
    * adds last valset request before  height query
    
    * regenerating correct query.pb.go
    
    * adds logs
    
    * adds querier QueryLastValsetBeforeHeight and QueryDataCommitmentConfirmsByExactRange
    
    * fixes relayer to correctly send commitments
    
    * Update x/qgb/orchestrator/orchestrator_client.go
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    
    * formats import
    
    * rename addOldValsetAttestations and addOldDataCommitmentAttestations
    
    * defering logging instead of repeating it on every return
    
    * adds comment
    
    * nit
    
    * use the right function for data commitment to tm.hash
    
    * better logging
    
    * missing from merge
    
    * add comments
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    rach-id and evan-forbes committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    bdfd247 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. Merge remote-tracking branch 'upstream/master' into qgb-integration

    # Conflicts:
    #	.gitignore
    #	Makefile
    #	app/app.go
    #	go.mod
    #	go.sum
    rach-id committed May 9, 2022
    Configuration menu
    Copy the full SHA
    a73a8f6 View commit details
    Browse the repository at this point in the history
  2. update go.mod

    rach-id committed May 9, 2022
    Configuration menu
    Copy the full SHA
    9e81420 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf86c63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb271ad View commit details
    Browse the repository at this point in the history
  5. Merge pull request #392 from SweeXordious/qgb-integration

    Update the QGB integration branch to have the latest master
    rach-id committed May 9, 2022
    Configuration menu
    Copy the full SHA
    172a5a1 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Configuration menu
    Copy the full SHA
    e14ed2e View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Configuration menu
    Copy the full SHA
    57fc969 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Configuration menu
    Copy the full SHA
    f342425 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Adds querier stop method (#417)

    * adds querier stop method
    
    * stops the querier after the deploy is successful
    rach-id committed May 18, 2022
    Configuration menu
    Copy the full SHA
    f250f5d View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. Qgb integration test environment (#408)

    * adds docker-compose config to start 4 celestia-app validators
    
    * dummy tests
    
    * adds infrastructure for 4 validators and scripts to start them
    
    * remove unnecessary file
    
    * working 4 validators network + use a single script to start the validators
    
    * adds initial orchestrator/relayer docker-compose configuration
    
    * fixes docker-compose commands + improves deployment script
    
    * adds todo
    
    * adds qgb_network and service
    
    * adds more methods to QGBContract
    
    * adds first relayer_test
    
    * comments unnecessary test
    
    * install curl when running validators scripts
    
    * query block 1 before deploying QGB contract
    
    * use updated dockerfile for repo
    
    * improve qgb_network and move it to separate folder
    
    * adds relayer e2e tests
    
    * remove unnecessary qgb_address.txt
    
    * decrease block time
    
    * reorg and add new helper methods
    
    * simpler environment variables  to deploy qgb contract
    
    * adds FIXME
    
    * unnecessary linter comment
    
    * better testing scenarios
    
    * add full test
    
    * remove unnecessary environemnt variables for docker-compose.yml file
    
    * adds logs printing for the network
    
    * remove test files that don't belong to this work.
    
    * remove unnecessary EThereum files for e2e
    
    * cosmetics
    
    * add deploy qgb contract to e2e network
    
    * add checks on services in qgb e2e network
    
    * fix timeouts in qgb e2e network
    
    * WaitForRelayerToStart waits for data commitments to be relayed as it's more consistent
    
    * needed changes from master
    
    * new line
    rach-id committed May 23, 2022
    Configuration menu
    Copy the full SHA
    d5d3834 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Adds integration tests scenarios to QGB (#423)

    * adds docker-compose config to start 4 celestia-app validators
    
    * dummy tests
    
    * adds infrastructure for 4 validators and scripts to start them
    
    * remove unnecessary file
    
    * working 4 validators network + use a single script to start the validators
    
    * adds initial orchestrator/relayer docker-compose configuration
    
    * fixes docker-compose commands + improves deployment script
    
    * adds todo
    
    * adds qgb_network and service
    
    * adds more methods to QGBContract
    
    * adds first relayer_test
    
    * comments unnecessary test
    
    * install curl when running validators scripts
    
    * query block 1 before deploying QGB contract
    
    * use updated dockerfile for repo
    
    * improve qgb_network and move it to separate folder
    
    * adds relayer e2e tests
    
    * remove unnecessary qgb_address.txt
    
    * decrease block time
    
    * reorg and add new helper methods
    
    * simpler environment variables  to deploy qgb contract
    
    * adds FIXME
    
    * unnecessary linter comment
    
    * better testing scenarios
    
    * add full test
    
    * remove unnecessary environemnt variables for docker-compose.yml file
    
    * adds logs printing for the network
    
    * remove test files that don't belong to this work.
    
    * add integration test scenarios
    
    * better  error handling
    
    * uncomment integration test environment_variable
    
    * less wait  time for tests +  better waitForRelayer
    
    * cosmetics
    
    * remove unnecessary EThereum files for e2e
    
    * cosmetics
    
    * add deploy qgb contract to e2e network
    
    * add checks on services in qgb e2e network
    
    * fix timeouts in qgb e2e network
    
    * WaitForRelayerToStart waits for data commitments to be relayed as it's more consistent
    
    * adds deployer e2e test
    
    * use constant instead of string when checking if we want to run the QGB integration tests
    
    * better error handling
    
    * revert unneeded change
    
    * change qgb e2e full test environment variable
    
    * makes full test wait for more time to reach height
    rach-id committed May 26, 2022
    Configuration menu
    Copy the full SHA
    7ea764c View commit details
    Browse the repository at this point in the history
  2. add qgb e2e makefile (#443)

    rach-id committed May 26, 2022
    Configuration menu
    Copy the full SHA
    9d7b56a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3ba3cd View commit details
    Browse the repository at this point in the history
  4. QGB update relayer to work in multiple validators environment (#445)

    * makes the relayer work in multiple validators environment
    
    * Update x/qgb/orchestrator/querier.go
    
    * Update x/qgb/orchestrator/querier.go
    
    * fix query last valset before height
    rach-id committed May 26, 2022
    Configuration menu
    Copy the full SHA
    bfa7827 View commit details
    Browse the repository at this point in the history
  5. refactors + add readme (#449)

    rach-id committed May 26, 2022
    Configuration menu
    Copy the full SHA
    7d455e7 View commit details
    Browse the repository at this point in the history
  6. Scripts cosmetics (#450)

    * scripts cosmeticsfix query last valset before height
    
    * remove unnecessary line
    
    * remove unnecessary failfast from e2e qgb tests
    rach-id committed May 26, 2022
    Configuration menu
    Copy the full SHA
    53c02f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Add ADR-004-QGB_relayer_security (#464)

    * Create ADR-004-QGB_relayer_security.md
    
    * refinements
    
    * more refinements
    
    * final refinements
    
    * final refinements 2
    
    * Update docs/architecture/ADR-004-QGB_relayer_security.md
    rach-id committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    2f46cb3 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Configuration menu
    Copy the full SHA
    1218589 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. better context handling + timeouts for QGB E2E network (#459)

    * better context handling + timeouts
    
    * Update e2e/qgb/qgb_network.go
    rach-id committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    0e740d1 View commit details
    Browse the repository at this point in the history
  2. Adds data commitment request (#478)

    * sync
    
    * adds data commitment request proto
    
    * adds data commitment requests comments
    
    * generate data commitment request proto files
    
    * go mod
    
    * adds support for data commitment requests
    
    * cosmetics
    
    * adds no linter check
    
    * fixes infinite for loop in orchestrator client + renaming functions
    
    * remove unnecessary FIXME
    rach-id committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d537ff4 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. Fixes set latest data commitment nonce (#481)

    * fixes set latest data commitment nonce
    
    * add todo
    rach-id committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    b8ebb36 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Add support for universal nonce, fixes/improves relayer and depends o…

    …n latest QGB contract (#497)
    
    * adds AttestationRequestI part 1
    
    * adds AttestationRequestI part 2: state machine + orchestrator + relayer changes
    
    * use latest  QGB contract part 1
    
    * partially working abci + orchestrator
    
    * partially working orchestrator + relayer + unit tests refactor
    
    * ugly but working e2e orchestrator tests
    
    * use latest qgb contract + update tests
    
    * update qgb e2e tests
    
    * update qgb e2e tests
    
    * fix relayer matching commitement signatures with valset validators part 1
    
    * fix relayer matching signatures
    
    * refactor + cleanup + making sure things work
    
    * fixes tests + removes unnecessary code
    
    * fixes docs in proto
    
    * uses new method instead of direct struct init for valset/dc confirms
    
    * increase qgb e2e test time
    
    * final nits
    
    * increase QGB E2E github test timeout
    
    * remove dead code maxValsetRequestsReturned and maxDataCommitmentRequestsReturned
    
    * ignores full long behaviour e2e tests
    
    * Typos x/qgb/orchestrator/errors.go
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    
    * nits
    
    * use require instead of assert
    
    * remove unnecessary qgb dc requests + nits
    
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    rach-id and evan-forbes committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    adfdc85 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. update the evm client to wait for transactions to be included (#508)

    * update the evm client to wait for transactions to be included
    
    * format
    
    * format
    rach-id committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    43dd20f View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. QGB E2e cosmetics (#515)

    * cosmetics
    
    * better waiting for e2e orchestrator
    
    * use require instead of assert in some qgb e2e places
    
    * restore the confirm check
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    rach-id committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    458b6b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2022

  1. Orchestrator refactor (#512)

    * refactors orchestrator to be simpler
    
    * moves all queries to querier and uses a better orchestrator struct
    
    * adds retrier
    
    * moves enquiying logic to orchestrator
    
    * remove unnecessary new lines
    
    * adds a signaling channel to notify senders + better context cancelling
    
    * remove unnecessary added config fields
    
    * add new line
    
    * docs
    
    * docs
    
    * logs
    
    * logs
    
    * query valset confirm instead of dc confirm in qgb e2e  wait for orch to start
    
    * QGB E2e cosmetics (#515)
    
    * cosmetics
    
    * better waiting for e2e orchestrator
    
    * use require instead of assert in some qgb e2e places
    
    * restore the confirm check
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * Update e2e/qgb/orchestrator_test.go
    
    * nits
    
    * update orchestrator tests
    
    * nits
    
    * cosmetics
    rach-id committed Jul 10, 2022
    Configuration menu
    Copy the full SHA
    41d0ae7 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Go fumpt the qgb-integration branch (#519)

    * gofumpt
    
    * gofumpt
    
    * remove extra import
    rach-id committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    9fbfa7d View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. QGB Orchestrator only signs if part of valset (#523)

    * state machine verify validator not part of valset
    
    * improve state machine error handling
    
    * update orchestrator not to sign unnecessary confirms
    
    * update e2e to support orch only signing if part of valset
    
    * fix test
    
    * fix test
    
    * GOFUMPT
    
    * Update x/qgb/keeper/msg_server.go
    
    * Update x/qgb/keeper/msg_server.go
    rach-id committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    0ed87bb View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    a246519 View commit details
    Browse the repository at this point in the history
  2. QGB CLI takes time to execute (#526)

    * renames test_common.go to test_common_test.go
    
    * moves test_common to testutils
    
    * wait for e2e test orchestrator a bit more
    
    * waits for ganache to be ready before deploying
    
    * update the orchestrator to listen for new nonces before enqueing old ones
    
    * update latestAttestationNonce to return 0 if doesn't exist
    
    * increase waitForBlock relayer_test.go
    rach-id committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    7be1c7f View commit details
    Browse the repository at this point in the history
  3. QGB remove unnecessary keystore (#527)

    * remove keystore and update tests
    
    * decrease the required attestation nonce for e2e relayer test
    rach-id committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    e399df5 View commit details
    Browse the repository at this point in the history
  4. QGB Use Geth implementation of Ethereum address (#528)

    * replace EthAddr with geth implementation
    
    * gofumpt
    
    * update cosmos-sdk version
    
    * update cosmos-sdk to latest
    rach-id committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    3d81287 View commit details
    Browse the repository at this point in the history
  5. QGB better genesis initialization (#529)

    * uses genesis to initialize data commitment window
    
    * fix tests + increase qgb e2e window
    
    * increase waitForBlock in e2e qgb
    
    * go.sum
    rach-id committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    13347c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. QGB State machine error handling (#550)

    * updates state machine error handling
    
    * regenerate protobuf wrappers
    
    * better error handling on orchestrator/relayer side
    
    * fix linter
    
    * fix linter
    
    * Update x/qgb/keeper/keeper_valset.go
    
    * Update x/qgb/keeper/keeper_valset.go
    rach-id committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    f2168c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    931d85f View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2022

  1. QGB Remove unnecessary comment (#559)

    * remove unnecessary comment
    
    * remove unnecessary comments
    rach-id committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    deef798 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbf0610 View commit details
    Browse the repository at this point in the history
  3. adds more configuration flags (#556)

    * adds more configuration flags
    
    * remove unnecessary TODO
    
    * update test to follow the latest deploy change
    
    * increase gas limit for ganache in QGB e2e
    rach-id committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    3b3176c View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. QGB better e2e context and channel usage (#562)

    * adds new channels to notify for errors + better context usage
    
    * adds sleep for wait for block
    
    * formats errors.go in e2e/qgb
    
    * Update e2e/qgb/qgb_network.go
    rach-id committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    4feef98 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. remove unnecessary code (#575)

    * remove unnecessary code
    
    * remove unnecessary query
    rach-id committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    6b0f7ee View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. general QGB cosmetics (#576)

    * use same notation for querier struct
    
    * use concrete errors in qgb_network
    
    * general docs and errors cosmetics
    
    * imports
    
    * Update e2e/qgb/qgb_network.go
    
    * revert errors handling changes
    rach-id committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    195da78 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Merge branch 'main' into qgb-integration-46

    # Conflicts:
    #	.github/workflows/docker-build.yml
    #	.github/workflows/test.yml
    #	Dockerfile
    #	app/app.go
    #	cmd/celestia-appd/main.go
    #	contrib/single-node.sh
    #	go.mod
    #	go.sum
    #	proto/qgb/query.proto
    #	testutil/test_app.go
    #	x/payment/payfordata.go
    #	x/payment/types/codec.go
    #	x/payment/types/events.go
    #	x/payment/types/payfordata_test.go
    #	x/payment/types/wirepayfordata.go
    #	x/qgb/genesis.go
    #	x/qgb/keeper/keeper.go
    #	x/qgb/types/codec.go
    #	x/qgb/types/genesis.go
    rach-id committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    bcd59ba View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Necessary QGB implementation update to support cosmos-sdk v0.46.x (#602)

    * update the implementation to support cosmos-sdk v0.46.0
    
    * fix e2e tests
    
    update e2e tests
    
    * golang ci cosmetics
    
    * markdown update
    
    markdown lint
    
    markdown update
    
    update go.sum
    
    markdown lint
    
    markdown lint
    
    * bump go version in e2e ci
    rach-id committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    1922693 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #601 from celestiaorg/sweexordious/qgb-integration-46

    Update the QGB branch to use cosmos-sdk v0.46.x and latest celestia-app master
    rach-id committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    2fef6fd View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. QGB Use Ecrecover to validate Ethereum signatures (#605)

    * updates ethereum signer implementation
    
    * update test for correct signature
    
    * go.sum
    
    * Update x/qgb/types/ethereum_signer.go
    
    * Update x/qgb/types/ethereum_signer.go
    rach-id committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    0ee5a45 View commit details
    Browse the repository at this point in the history
  2. QGB depend on latest version of core and use begin/end block instead …

    …of query for commitments (#622)
    
    * use latest version of core and update implementation with begin/end block instead of query
    
    * Update x/qgb/orchestrator/orchestrator.go
    
    * Update x/qgb/orchestrator/orchestrator.go
    
    * update tests
    
    * Update x/qgb/orchestrator/querier.go
    
    * commitmentFromQuery -> commitmentFromRange
    
    * currThreshHold -> currThreshold
    
    * typo
    rach-id committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    79b83d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. Configuration menu
    Copy the full SHA
    d63b998 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. QGB state machine remove confirm valset check (#645)

    * remove state machine confirm valset check
    
    * remove related test
    rach-id committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    e74d61d View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. QGB state machine remove invalid validator set check (#646)

    * remove state machine confirm valset check
    
    * remove invalid state machine confirm validator check
    
    * cosmetics
    rach-id committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a965914 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. QGB Relayer add commitments check when relaying confirms (#613)

    * adds commitments  check when relaying confirms
    
    * validate data commitment confirms before relaying them.
    
    * adds also vs checks before relaying
    rach-id committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    3bb9933 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. QGB ADR-005 Reducing QGB module state usage (#657)

    * add the ADR 005 for posting confirms in reserved namespaces
    
    * linter
    
    * Update docs/architecture/ADR-005-QGB_posting_confirms_in_reserved_namespace.md
    
    Co-authored-by: Rootul Patel <rootulp@gmail.com>
    
    * Update docs/architecture/ADR-005-QGB_posting_confirms_in_reserved_namespace.md
    
    Co-authored-by: Rootul Patel <rootulp@gmail.com>
    
    * explains the fixed sized state
    
    * finish sentence
    
    * Apply suggestions from code review
    
    Co-authored-by: Rootul Patel <rootulp@gmail.com>
    
    * update the ADR to reflect the keeping the confirms in txs decision
    
    * wording
    
    Co-authored-by: CHAMI Rachid <chamirachid1@gmail.com>
    
    * linter
    
    * rename file
    
    * Update docs/architecture/ADR-005-QGB_reduce_state_usage.md
    
    Co-authored-by: Rootul Patel <rootulp@gmail.com>
    
    * unnecessary line
    
    Co-authored-by: Rootul Patel <rootulp@gmail.com>
    Co-authored-by: Evan Forbes <42654277+evan-forbes@users.noreply.github.com>
    3 people committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    7fda428 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. Configuration menu
    Copy the full SHA
    fd7c742 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Remove valset/data commitment confirm logic from state machine (#720)

    * remove valset/data commitment confirm logic from state machine
    
    * update go.mod and go.sum
    
    * formatting msg_server.go
    
    * add comment to explain ADR-005 is the reason we're deleting state  machine related stuff
    
    * remove unnecessary AttributeKeySetOperatorAddr
    
    * add QGB ADR-005 comment
    rach-id committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    ab906e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Merge branch 'main' into update_qgb_branch_from_main

    # Conflicts:
    #	go.mod
    #	go.sum
    #	scripts/protocgen.sh
    rach-id committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    27f57d2 View commit details
    Browse the repository at this point in the history
  2. add dependency on github.com/cosmos/cosmos-sdk v0.46.0 to fix the w…

    …eird added dependency
    rach-id committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    43b6489 View commit details
    Browse the repository at this point in the history
  3. regenerate proto files

    rach-id committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    ecd2146 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into update_qgb_branch_from_main

    # Conflicts:
    #	go.mod
    rach-id committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    646fb8d View commit details
    Browse the repository at this point in the history
  5. fix: go.mod update

    rach-id committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    3184397 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    12aa6d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4eec540 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6b2800d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0d0256c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f876bdd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3de7d25 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8ec4c68 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Configuration menu
    Copy the full SHA
    3b4ff8e View commit details
    Browse the repository at this point in the history
  2. QGB Feedback on PR #742 (#746)

    Co-authored-by: Rootul P <rootulp@gmail.com>
    rach-id and rootulp committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    bfa216f View commit details
    Browse the repository at this point in the history
  3. Qgb universal nonces ADR update (#748)

    Co-authored-by: Rootul P <rootulp@gmail.com>
    rach-id and rootulp committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    69c8d28 View commit details
    Browse the repository at this point in the history
  4. QGB nits + docs for the merge 2 (#753)

    Co-authored-by: Rootul P <rootulp@gmail.com>
    rach-id and rootulp committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    d94943d View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Configuration menu
    Copy the full SHA
    a8b1ad8 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. update proto-gen docker image to a new one and remove manual install …

    …of cosmos-proto/protoc-gen-gocosmos during proto gen
    rach-id committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    13a9db9 View commit details
    Browse the repository at this point in the history