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

Update master branch #117

Closed
wants to merge 300 commits into from
Closed

Update master branch #117

wants to merge 300 commits into from

Conversation

MikkySnow
Copy link
Collaborator

  • Merge all changes from develop to keep master branch up-to-date

deep-quality-dev and others added 29 commits May 10, 2024 15:19
* Add key for pagination query

* Fix query key conversion
* Create monthly linear vesting with cliff feature

* Remove unused function

* Clean up unused lines

* Add Balances query command and unit tests

* Fix build

* Add integration test for vesting module

* Remove unused code

* Remove unused test cases

* refactor: improve error message

* chore: change unbonding time to 1 second

* chore: init vesting script

* chore: add wait_for_tx fn

* chore: refactor test script

* chore: refactor test script

* chore: update vesting script

* chore: reproducing step

* fix: fix issue with spendable balance

* chore: final version

* chore: updates

* Fix ONE_DAY=1

* Add eth transfer of vested coins

* Add integration test cases for locked coins

* Add ante handler to check spendable balance

* Add unit test for vesting ante handler

* Fix compile error

* Small refactors in ante package

* feat: fail if some data cannot be written correctly

* fix: remove redundant check

* refactor: update protobuf

* Refactor test case for vesting ante handler

* Check gas consuming within spendable coins

* Temporary error check for spendable coins

---------

Co-authored-by: MikkySnow <[email protected]>
* feat: add "attestation_server" feature

* refactor: add go build tag for attestation server

* feat: move attestation server to separate command

* feat: add build_AS command

* feat: add draft CLI commands

* chore: add protobuf requests

* refactor: update seal function

* refactor: update `unseal` function

* refactor: update `random` keymanager function

* refactor: update encryption process

* refactor: update keys derivation

* fix: fix build issues

* chore: clippy

* feat: add support of legacy format

* refactor: fix naming

* refactor: update naming

* refactor: correct naming

* fix: fix issue with deserialization

* refactor: correct naming

* intermediate: fixing errors

* fix: fix compilation issues

* refactor: use block number to manage node pk

* fix: restore tests

* feat: implement commands for epochs management

* chore: intermediate commit

* fix: fix borrow checker issuer

* chore: small improvements

* refactor: return list of epoch numbers and starting blocks

* test: add tests for keys management

* test: add test for get node public key

* test: add test draft for contract tx

* test: use correct node public key

* test: update tests

* test: update encryption test

* chore: add test part

* test: restoring tests

* test: update encryption test

* test: update encryption test

* fix: fix issue with broken decryption

* chore: increase test balances

* fix: fix typo

* chore: disable debug

* fix: fix getNodePublicKey request

* refactor: remove unused code

* feat: add list epochs command

* feat: skip integration test
* Add getVerificationData function to get verification details by user, issuer address

* Update generated ffi files

* Add schema in ComplianceBridge and decode bytes

* Add unit test for compliance precompile and updated Bridge contract

* Generated ffi proto

* Generated ffi proto

* Resolve unit test works

* Allow to connect precompile functions

* Allow to connect precompile functions

* Update unit test for ComplianceBridge

* Remove comma, prettier

* Pass OriginChain when adds verification details

* Update proto-generated files

* Deploy script for ComplianceProxy and run unit test

* Nit: debug-precompile script

* chore: enable CI build

* Update compliance bridge by removing unwrap

* Return verification id if added

* Deploy updated ComplianceProxy

* Add function name to error string

* Move scripts around

---------

Co-authored-by: MikkySnow <[email protected]>
Co-authored-by: Denis <[email protected]>
* refactor: update Makefile

* fix: small fix

* refactor: update prod mrsigner

* feat: add production feature

* chore: set production mode for github actions

* fix: return correct storage value

* Fix dev build

* Try to fix makefile #2

* Try to fix makefile #3

* [skip ci] Un-silence several other commands in makefile

* fix: fix import from genesis.json

* ci: change on push policy

---------

Co-authored-by: Denis <[email protected]>
* Modify enum values in compliance module

* Use initial operator type when genesis
* refactor: rename env vars and file names

* refactor: change linked file name

* refactor: update dockerfiles
* Get verification data by given issuer address

* Fix compile error in evm module

* Revert "Fix compile error in evm module"

This reverts commit 266c48c.
* refactor: rename env vars and file names

* refactor: change linked file name

* refactor: update dockerfiles

* refactor: update deb pipeline

* fix: fix deb.Dockerfile

* refactor: rename binary

* refactor: change postrm and postins deb commands

* fix: restoring unit tests

* fix: restoring unit tests
* Unique structure format of querying states

* Generated ffi

* Add verification type in details

* Update ComplianceProxy contract for debug deployment
* refactor: use same requirements for testnet as EPID

* ci: cleanup
* Magic #1

* Revert push conditions
* fix: remove potential issue with replacing binaries

* ci: enable build

* ci: fix

* refactor: rename swisstronikd_v1.0.2 -> swisstronikd

* refactor: rename binary
* test: update benchmark

* refactor: remove redundant comment
* Store node public key per each block in keeper

* Add nodePublicKey in ListEpochs

* Export node public key in ListEpochs cmd

* Add integration test(skipped)

* Revert evm keeper to cache list of epochs in memory

---------

Co-authored-by: Hungry Warrior <[email protected]>
* Update validation check for verification details

* Check if user has valid verification by expiration

* Update unit test

* Expiration 0 as infinite period
* Update unit tests in rpc backend.

* Update unit tests in rpc backend.

* Fix unit test

* Correct function name
* refactoring: add `allowUnencryptedTxs` param

* refactoring: broadcast `allowUnencryptedTxs` param

* chore: intermediate commit

* fix: fix issue with ports

* fix: fix issue with overlaying websocket ports

* test: restore backend tests

* refactor: update go side to support unencrypted txs

* test: restore tests

* fix: fix issue with decryption

* test: add test for unencrypted txs

* test: restore tests

* rename encrypted -> unencrypted

* fix: restore tests

* test: update solidity test

* fix: disable eth_getStorageAt request

* refactor: update tests

* refactor: use `unencrypted` flag instead of `encrypted`

* fix: restore tests

* chore: remove debug logs

* chore: final refactor

* chore: update traceTx
* fix: fix ci build

* refactor: switch to version 1.0.3

* chore: increase wait time

* refactor: update linking process

* refactor: fix issue with linked enclave

* refactor: rename to .attestation

* Fix missing version

---------

Co-authored-by: Denis <[email protected]>
* Update integration test with validating balances

* Optimize integration test

* Add delegating portion of initial vesting coins

* Track undelegation

* Update integration test for undelegation
* refactor: move result verification in separate function

* refactor: include production feature in mainnet

* refactor: add message that node won't be accepted on mainnet

* refactor: clippy warnings

* test: restore benchmarks

* feat: preparing for collateral check

* feat: add obtaining of collateral

* feat: provide collateral with quote

* feat: provide collateral with cert

* feat: add collateral verification

* refactor: change mainnet statuses
* Add vesting accounts into genesis.json

* chore: restructure script

---------

Co-authored-by: MikkySnow <[email protected]>
* Rename issuer cli functions

* Change error text of invalid operator

* IssuerCreator or Operator can update/remove issuer

* Update unit test

* Fix typo

* Change error message

* Migration for v1.0.3 upgrade (#115)

* Setup chain upgrade handler

* Set store loader with default upgrades

* Add migrator

* Resolve cycle import

* Missing interface

* Remove unused code

* Refactor issuer creator, return issuer creator in query response

* Remove unused variable

* ci: temporary enable cli build

* refactor: fix error message

---------

Co-authored-by: MikkySnow <[email protected]>
* refactor: update local-node.sh script

* refactor: update debug-precompile script
@MikkySnow MikkySnow closed this Jul 23, 2024
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.

4 participants