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

patch for saino/crypto #673

Merged
merged 4 commits into from
Jan 18, 2023
Merged

patch for saino/crypto #673

merged 4 commits into from
Jan 18, 2023

Conversation

danwt
Copy link
Contributor

@danwt danwt commented Jan 18, 2023

Description

Patches the existing PR with some changes

Deletes the test as doesn't make sense anymore since the keys will always be different

@danwt danwt changed the title Danwt/sainoe crypto patch patch for saino/crypto Jan 18, 2023
@danwt danwt changed the base branch from main to sainoe/crypto January 18, 2023 12:30
@sainoe sainoe merged commit 55f3a80 into sainoe/crypto Jan 18, 2023
@sainoe sainoe deleted the danwt/sainoe-crypto-patch branch January 18, 2023 13:31
shaspitz added a commit that referenced this pull request Jan 25, 2023
* add test

* save

* improve naming

* update naming

* update test comments

* fix bug

* patch for saino/crypto (#673)

* Use secpk

* Refactor

* Bump

* bump

Co-authored-by: Daniel <danwtisdall@gmail.com>

* reformat

* Update testutil/crypto/crypto.go

Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>

* Update x/ccv/provider/keeper/hooks_test.go

* builds now

* nit

Co-authored-by: Daniel T <30197399+danwt@users.noreply.github.com>
Co-authored-by: Daniel <danwtisdall@gmail.com>
Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>
sainoe added a commit that referenced this pull request Feb 1, 2023
…658)

* Renames init state -> init state var

* Renames block seconds -> block interval

* Removes one reference to init state var in setup

* Adds and inits initState field in core suite

* Uses instance of init state on suite in core_test

* Removes one hardcoded param in setup

* Removes one hardcoded param

* Adds test validator creation util

* Deletes one todo

* Use crypto util in create Validators

* Uses b.initState.UnbondingC in consumer genesis

* Extract func run some protocol steps

* Renames setup util methods

* Removes builder build

* Renames setup method

* Moves link creation call in setup

* Simplifies creation of new validators in setup

* Replaces some uses of P, C in setup

* Removes many uses of P, C

* Removes getValidatorPK

* Moves param related statements

* Moves slash param

* Rename method

* Squashed refactors

commit d1c3ac45289e4e0e0614e4133978f1807401d544
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:15:17 2023 +0000

    Inlines doStuff

commit 5490df90919f11f0d5cc794fa4b7eadc6ba32343
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:14:55 2023 +0000

    Deletes unnecesssary line

commit 8b19fcb42e0f235d129c1b63830c562749142238
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:13:51 2023 +0000

    Extract consumer genesis

commit 4195b858fe5c1cb1c5212a8efbf0cee460cc44a8
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:10:53 2023 +0000

    Extract createConsumerClientGenesisState

commit 08a4d4804926ac029d35937606c17c9a6fe8eb7c
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:07:52 2023 +0000

    Amend: move forgotten line

commit c3637354c649c67bf2fb5fca547a01ca5cd5aea9
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:07:28 2023 +0000

    Extract configureConsumerClientOnProvider

commit 236cf1f0f5eac25607f3354521e474c0bfe98596
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:06:02 2023 +0000

    Move consumer client init on provider

commit 04a438dbddd403d069eb9b6fc260c021c0d752d9
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 08:59:11 2023 +0000

    Move configureIBCTestingPath

commit e977309b4205be6078bf9cde2f48f767928723e6
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 08:58:44 2023 +0000

    Extract configureIBCTestingPath

commit 4d8d3e83999486dc1c63fa83fc8667dc24c1ca38
Author: Daniel <danwtisdall@gmail.com>
Date:   Tue Jan 10 19:48:07 2023 +0000

    Moves channel, connections HS to setup body

commit 30d583446e0d70b4ef3d1d5521a60105f0500c35
Author: Daniel <danwtisdall@gmail.com>
Date:   Tue Jan 10 19:47:03 2023 +0000

    Inlines ibc handshake

commit 0b3d6c4029950e4bc19b871376ae4a0d36d42c87
Author: Daniel <danwtisdall@gmail.com>
Date:   Tue Jan 10 19:45:13 2023 +0000

    Inlinen create consumer gen

commit 27949cb4f917ac88c0262b95d1c2a85e072e4d42
Author: Daniel <danwtisdall@gmail.com>
Date:   Tue Jan 10 19:44:12 2023 +0000

    Extract doStuff *fix

commit eed615ecd987497dee9a7b452e9507f7cc97263d
Author: Daniel <danwtisdall@gmail.com>
Date:   Tue Jan 10 19:43:24 2023 +0000

    Extract doStuff

commit ded978c4270c474c878577267690f04bcc5ab19e
Author: Daniel <danwtisdall@gmail.com>
Date:   Tue Jan 10 19:41:48 2023 +0000

    Extracts 1 method

* Style changes

* Removes chainID helper

* Move method

* Removes SendEmptyVSC
Squashed commit of the following:

commit 21bfdab6d3c98932bf89a36a596a89234c46d83b
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 11:31:13 2023 +0000

    Gets rid of sendEmpty

commit c7564905073427329114e665d4b6f270e7055960
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 09:57:31 2023 +0000

    Adds debug session

* Style

* Extract stuff to remove to isolated file

* Moves method

* Moves createLink

* Extracts BHelper

* Squashed commit of the following:

commit a42c4c08970189d2ddbf9665b911142071a6e57f
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 13:32:55 2023 +0000

    Finish offshoot

commit d2d4b22b009bb91302a7cdaf3c86f167a1bd973a
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 13:29:54 2023 +0000

    Deletes unused functions

commit 907f791dee9d562e5dbc856494057f2f003ffbf7
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 13:29:34 2023 +0000

    Moves extracted to setup

commit 7ad303c5f330dbffa811d3fcab16244aa7639727
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 13:26:01 2023 +0000

    Finish refactor

commit f51297d9c3ce6202ef09a76212cf35e3a780237e
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 13:19:40 2023 +0000

    Deletes unused code

commit e32acc4146c2f12180c17cf78fecc1df519247fa
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 13:04:21 2023 +0000

    Uses chainUtil directly

commit 7ed48fe00c1bf4bf439966fad4d21fd3ef7ebe1d
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:50:38 2023 +0000

    Moves 1 lien

commit 0b938bbc7ea3780c7e9b2a885eaa6fb58eaec704
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:49:47 2023 +0000

    Small ref

commit 10d6ada224548e8fb0c3b43418d53a9109215c16
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:47:37 2023 +0000

    double check all tests

commit 49c5c122e17f441a0dd5be77f8be383dc5d0a09c
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:46:33 2023 +0000

    Small ref

commit f284a0641118c723c78aaa4670f975ff95a82447
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:44:13 2023 +0000

    Small inline

commit ebcb021cd7eb47f961b03a6ec4e534702f05108b
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:38:52 2023 +0000

    Removes mustBegin

commit 036faf330f55fce90ddf3d6bd2091917edc33ee8
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:33:08 2023 +0000

    Hedge

commit ecdc15811185aedca62fb60ce0046eb6cfb62b58
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:27:52 2023 +0000

    Confirm a further removal

commit 46b175c2a1103db2fc787e9267f720a0eb8220d7
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:26:07 2023 +0000

    Confirm further removal

commit cce946d84ee8cd3e4e9b9d4175416611269cb7cc
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:17:06 2023 +0000

    Removes unused code

commit 3e3e7322f54a1fee45415dd7807adfe345c70b82
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:15:15 2023 +0000

    Confirm pass with major removal

commit 3798ca67ef5c347d0b0dc4c846e2320e41a1edc5
Author: Daniel <danwtisdall@gmail.com>
Date:   Wed Jan 11 12:01:23 2023 +0000

    Prove 0 progression

* Small QoL changes

* Factor out dynamic endpoint helper

* renames createChains

* Factors out params setting method

* Rename path method

* Fix client config line

* Method renames

* QoL changes

* Extract setup test

* Squashed commit of the following:

commit 463ec20
Author: Daniel T <30197399+danwt@users.noreply.github.com>
Date:   Wed Jan 11 18:24:12 2023 +0000

    Difftest core: small PR removes some todos (#656)

    * Removes model TODO

    * Removes 1 TODO

    * Removes 1 TODO

    * Clarify 1 TODO

    Co-authored-by: Daniel <danwtisdall@gmail.com>
    Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>

commit 35f1e26
Author: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>
Date:   Wed Jan 11 09:10:44 2023 -0800

    Removes depreciated keyring dependency  (#657)

    changes

* add test

* save

* improve naming

* update naming

* update test comments

* fix bug

* patch for saino/crypto (#673)

* Use secpk

* Refactor

* Bump

* bump

Co-authored-by: Daniel <danwtisdall@gmail.com>

* reformat

* Update testutil/crypto/crypto.go

Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>

* Update x/ccv/provider/keeper/hooks_test.go

* builds now

* nit

* add validator logs

* fix cryptolib bug introduced after merging with main

---------

Co-authored-by: Daniel <danwtisdall@gmail.com>
Co-authored-by: Simon Noetzlin <simon.ntz@gmail.com>
Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants