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

P 897 parachain staking decimal migration #2878

Conversation

wangminqi
Copy link
Member

@wangminqi wangminqi commented Jul 9, 2024

Migration of parachain staking for changing on-chain native token decimal from 12 to 18.

m1iktea and others added 20 commits July 2, 2024 17:52
---------

Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>
Co-authored-by: 0xverin <104152026+0xverin@users.noreply.github.com>
* ws connection read messages fix

* fix fmt

* optim handling

* close ws when read error

* optimize error handling

---------

Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
Co-authored-by: Jayanring <junjie@liteng.io>
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.66 to 2.0.68.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.66...2.0.68)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* adjust log level

* use trace lvl

* more log

* fix clippy
* add AuthorizedEnclave

* adjust tests

* remove old scheduled enclave

* bump version

* remove indirect call
* Add teebag and bitacross to litentry runtime

* fix compile
* Flattening contracts

* fix omports

* init tests

* add compile.json

* fix params

* fix assertionId

* try encryptWithTeeShieldingKey

* fix encryptedSecrets

* add ci shell

* fmt

* add lit-tee-vc-contracts-test

* rename

* chmod +x

* source /root/.bashrc

* install git

* remove sudo

* fix shell scripts

* ls

* ls one more

* ls one more

* add volumes

* cp contracts&&compile

* remove hardcode json

* fix entrypoint

* fix compilation

* try to fix assertionId

* testing:cli encrypt

* fmt

* testing:cli response

* testing:create assertionId with secretsEncryptedByCli

* check:Is cli encrypt the same as ts encrypt

* add sleep

* update README

* merge assertion tests shell

* fix docker yml

* identity-linking via cli

* remove unused code

* add developerCommittee

* rename scripts name

* add alice to developerCommittee

* fix copy-contracts

* identity-linking using di call
* feat: P-860 add logging support for dynamic contract

* fix: change vc_logs to optional in RequestVCResult, default log response in http precompile contract

* remove default log response in http precompile contract

* fix: update ts definition for dynamic assertion

* fix clippy

* fix: change type of return_log to bool, using Precompiles instead of thread_local variable DYNAMIC_ASSERTION_LOGS, only include vc_logs in rpc response

* add the log to vc_logs in all json_utils precompile contracts, do not return vc_logs if stf is true when using CLI

* return vc_logs if stf is true

* add logs in dynamic contract A20

---------

Co-authored-by: higherordertech <higherordertech>
* Add remove_vault

* Do not pay fees for now
* removing force-migrate-shard and improving migrate-shard

* improving mrenclave command

* fixing ci

* putting back comment

* cleaning up mock

* update cli doc

---------

Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com>
Copy link

linear bot commented Jul 9, 2024

@wangminqi wangminqi marked this pull request as draft July 9, 2024 03:26
wangminqi and others added 27 commits July 9, 2024 18:03
Co-authored-by: higherordertech <higherordertech>
* fix: request-vc in cli with ii and stf fails to decode

* refactor: remove unused import
* feat: P-915 implemented token holding amount for AN

* feat: P-915 implemented token holding amount for TUNA

* fix: updated TokenHoldingAmount credentials schema

---------

Co-authored-by: higherordertech <higherordertech>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>
* remove println

* consider prod too

* add RA_METHOD

* temporarily ignore tcb check

* lenient tcb level

* use Intel for default dcap provider

* same change for bc

* patch Makefile

---------

Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>
@wangminqi wangminqi marked this pull request as ready for review July 12, 2024 03:12
@wangminqi wangminqi merged commit 4a80f36 into p-895-This-Branch-Will-Not-Merged-Until-Our-Decimal-Migration-Is-Ready! Jul 12, 2024
32 checks passed
BillyWooo added a commit that referenced this pull request Aug 2, 2024
* feat: add DelegatorState CandidateInfo migration

* debug: fmt

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* feat: add ScheduledRequest

* feat: add TopDelegations

* chore

* chore

* chore

* chore

* chore: allow clippy type complexity

* chore: add bitacross try-runtime

* chore

* feat: add Total storage

* chore

* feat: add CandidatePool, DelayedPayouts, Staked

* chore

* chore

* chore

* chore

* chore

* P 897 parachain staking decimal migration (#2878)

* dockerfile fix (#2853)

* client-api: package update for publishing (#2850)


---------

Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>
Co-authored-by: 0xverin <104152026+0xverin@users.noreply.github.com>

* close ws connection in case of BrokenPipe error (#2854)

* fix: add developer committee to basefilter (#2855)

* Continuous Websocket Message Reading on Readiness Event (#2852)

* ws connection read messages fix

* fix fmt

* optim handling

* close ws when read error

* optimize error handling

---------

Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
Co-authored-by: Jayanring <junjie@liteng.io>

* Bump syn from 2.0.66 to 2.0.68 (#2839)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.66 to 2.0.68.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.66...2.0.68)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adjust logging level and messages (#2857)

* adjust log level

* use trace lvl

* more log

* fix clippy

* Deprecate `ScheduledEnclave` and introduce `AuthorizedEnclave` (#2856)

* add AuthorizedEnclave

* adjust tests

* remove old scheduled enclave

* bump version

* remove indirect call

* Use new keys from env setting (#2858)

* Add teebag and bitacross to litentry runtime (#2859)

* Add teebag and bitacross to litentry runtime

* fix compile

* P-872 basic tests for contracts (#2845)

* Flattening contracts

* fix omports

* init tests

* add compile.json

* fix params

* fix assertionId

* try encryptWithTeeShieldingKey

* fix encryptedSecrets

* add ci shell

* fmt

* add lit-tee-vc-contracts-test

* rename

* chmod +x

* source /root/.bashrc

* install git

* remove sudo

* fix shell scripts

* ls

* ls one more

* ls one more

* add volumes

* cp contracts&&compile

* remove hardcode json

* fix entrypoint

* fix compilation

* try to fix assertionId

* testing:cli encrypt

* fmt

* testing:cli response

* testing:create assertionId with secretsEncryptedByCli

* check:Is cli encrypt the same as ts encrypt

* add sleep

* update README

* merge assertion tests shell

* fix docker yml

* identity-linking via cli

* remove unused code

* add developerCommittee

* rename scripts name

* add alice to developerCommittee

* fix copy-contracts

* identity-linking using di call

* feat: P-860 add logging support for dynamic contract (#2848)

* feat: P-860 add logging support for dynamic contract

* fix: change vc_logs to optional in RequestVCResult, default log response in http precompile contract

* remove default log response in http precompile contract

* fix: update ts definition for dynamic assertion

* fix clippy

* fix: change type of return_log to bool, using Precompiles instead of thread_local variable DYNAMIC_ASSERTION_LOGS, only include vc_logs in rpc response

* add the log to vc_logs in all json_utils precompile contracts, do not return vc_logs if stf is true when using CLI

* return vc_logs if stf is true

* add logs in dynamic contract A20

---------

Co-authored-by: higherordertech <higherordertech>

* reuse websocket connection for ceremony rounds (#2861)

* Adding  force-migrate-shard flag to run worker command (#2862)

* fix dynamic assertion integration test (#2864)

* Add remove_vault in pallet-bitacross (#2863)

* Add remove_vault

* Do not pay fees for now

* Improve shard migration (#2866)

* removing force-migrate-shard and improving migrate-shard

* improving mrenclave command

* fixing ci

* putting back comment

* cleaning up mock

* update cli doc

---------

Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com>

* Disable docker build record upload (#2867)

* feat: add DelegatorState CandidateInfo migration

* debug: fmt

* chore

* chore

* chore

* chore

* feat: add a parachain event for completion of contract sync (#2870)

* feat: add callback extrinsic for extrinsic

* fix: add TEE Origin

* fix: add evm_assertions metadata

* fix: fix test error

* refactor: fix clippy

* chore

* chore

* chore

* chore

* chore

* chore

* feat: P-914 implemented NFT token holder VC for MFAN on Polygon (#2877)

Co-authored-by: higherordertech <higherordertech>

* Disable issue creation GHA (#2881)

* fix: request-vc in cli with ii and stf fails to decode (#2882)

* fix: request-vc in cli with ii and stf fails to decode

* refactor: remove unused import

* chore

* feat: add ScheduledRequest

* feat: add TopDelegations

* chore

* chore

* chore

* chore

* chore: allow clippy type complexity

* chore: add bitacross try-runtime

* An and tuna holding amount vc (#2884)

* feat: P-915 implemented token holding amount for AN

* feat: P-915 implemented token holding amount for TUNA

* fix: updated TokenHoldingAmount credentials schema

---------

Co-authored-by: higherordertech <higherordertech>

* chore

* feat: add Total storage

* Update dependabot deps (#2880)

Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* Support DCAP RA (#2869)

* remove println

* consider prod too

* add RA_METHOD

* temporarily ignore tcb check

* lenient tcb level

* use Intel for default dcap provider

* same change for bc

* patch Makefile

---------

Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* chore

* feat: add CandidatePool, DelayedPayouts, Staked

* chore

* chore

* chore

* chore

* chore

---------

Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mi1kTea <73102617+m1iktea@users.noreply.github.com>
Co-authored-by: Jonathan Alvarez <jonathan@litentry.com>
Co-authored-by: 0xverin <104152026+0xverin@users.noreply.github.com>
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
Co-authored-by: Faisal Ahmed <42486737+felixfaisal@users.noreply.github.com>
Co-authored-by: Jayanring <81245047+Jayanring@users.noreply.github.com>
Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: will.li <120463031+higherordertech@users.noreply.github.com>
Co-authored-by: Francisco Silva <franjs.francisco@gmail.com>
Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* feat: change basic balance decimal type (#2890)

* Update runtime/litentry/src/migration/mod.rs

Co-authored-by: Francisco Silva <franjs.francisco@gmail.com>
Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>

* Update runtime/litentry/src/migration/mod.rs

Co-authored-by: Francisco Silva <franjs.francisco@gmail.com>
Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>

* chore: typo

* feat: disable precompile ts test

* debug: wrong push, revert

* feat: switch migration file structure

* feat: Migration of pallet_balances related and runtime impl

* chore: comment

* chore

* feat/debug: add rococo migration

* chore

* chore

* chore: fix weak bounded vector reference

* chore: remove Saturating

* Sync (#2917)

* feat: disable precompile ts test

* debug: wrong push, revert

* P-865 Adding solana token holding amount (#2905)

* add MoralisClient

* fix secrets

* remove func

* add solana configure

* fmt

* refactor tokens

* removing tokenname mapping

* simplify constructor

* change type

* change one more

* brc20

* erc20

* refactoring token info

* roolback MoralisClient

* fix params

* Integrated function

* feat/debug: add rococo migration

---------

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>
Co-authored-by: 0xverin <104152026+0xverin@users.noreply.github.com>

* chore

* chore

* P-865 Adding solana token holding amount (#2905) (#2918)

* add MoralisClient

* fix secrets

* remove func

* add solana configure

* fmt

* refactor tokens

* removing tokenname mapping

* simplify constructor

* change type

* change one more

* brc20

* erc20

* refactoring token info

* roolback MoralisClient

* fix params

* Integrated function

Co-authored-by: 0xverin <104152026+0xverin@users.noreply.github.com>

* chore

* chore

* chore: fix some balance low issue due to transaction payment change

* chore

* debug: fix test of xcm

* chore

* chore

* chore

* P 899 pallet balances transaction payment migration (#2938)

* chore

* chore

* chore: fix runtime xcm test

* chore

* Warn: This change to chain_spec is TBD

* debug: (Critical) temporary disable all ts-test

* feat: change DOLLARS constant

* chore

* Update mod.rs

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>

* Update mod.rs

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>

* build(deps): bump num-integer from 0.1.45 to 0.1.46 (#2921)

Bumps [num-integer](https://github.com/rust-num/num-integer) from 0.1.45 to 0.1.46.
- [Changelog](https://github.com/rust-num/num-integer/blob/master/RELEASES.md)
- [Commits](rust-num/num-integer@num-integer-0.1.45...num-integer-0.1.46)

---
updated-dependencies:
- dependency-name: num-integer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* build(deps): bump tokio from 1.38.0 to 1.38.1 (#2922)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.38.0...tokio-1.38.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* P 893 enhance bitarcoss worker ceremony processing with multithreading (#2901)

* multithreading

* fix deadlock between workers

* change timeout to 30s

* remove some log

* remove some log

* optimize ceremony data sharing logic

* remove code for debugging

* fix fmt

* fix clippy

* change module name

* clean up code

* restore test_full_flow_with_3_ceremonies

* remove redundant match

* increase TCSNum to 64

* reorganize code structure

* fix test

* fix check_signBitcoin

* add SignBitcoinPayload to InitCeremony

* read threads count from cli (#2912)

* add CeremonyRoundCall

* change CreateSignTask to Request

* fix passing cli params

* fix timeout reply

* fix timeout reply

---------

Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>

* import sidechain block through trusted rpc (#2913)

* import sidechain block through trusted rpc

* use DirectClient

* upstream fixes

---------

Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>

* Hardhat test with brc20 contract (#2927)

* feat: P-886 integrate hardhat into dynamic assertions, wrap contract in proxy contract so as to get the return value in unit test, added test for BRC20 TokenHoldingAmount.
    Fixed openzipline import with @ import working with remix too

* fix: formatted all contracts

* fix: update ci install script for Dynamic-contract step

* fix: prevent lockfile update because it may cause check-format fail

* fix: remove frozen-lockfile option from pnpm install, ignore pnpm-lock.yaml for prettier

* fix: use hardhat instead of foundry to compile contracts

* fix: use Strings.equal to simplify string compare, add remixd install step to README

* add remix config file to .gitignore

---------

Co-authored-by: higherordertech <higherordertech>

* Musig2 metrics (#2930)

* multithreading

* fix deadlock between workers

* change timeout to 30s

* remove some log

* remove some log

* optimize ceremony data sharing logic

* remove code for debugging

* fix fmt

* fix clippy

* change module name

* clean up code

* restore test_full_flow_with_3_ceremonies

* remove redundant match

* increase TCSNum to 64

* reorganize code structure

* fix test

* fix check_signBitcoin

* add SignBitcoinPayload to InitCeremony

* read threads count from cli (#2912)

* add CeremonyRoundCall

* change CreateSignTask to Request

* fix passing cli params

* musig2 ceremony metrics

* fmt

---------

Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: Jayanring <81245047+Jayanring@users.noreply.github.com>

* Add basic bitacross worker ci integration tests (#2934)

* rpc method for checking musig2 ceremony correctness

* test sign_bitcoin by enclave account

* ts code to test sign_bitcoin

* build bitacross docker image

* add bitacross integration tests

* enable enclave tests

* adjust test

* add reject unauthorized to ws client

* increase wait time for workers startup

* update filefilter

* trigger bitacross rebuild

* remove bitacross cache

* Push bitacross-worker image in CI (#2935)

* Adding register OIDC client call to identity management pallet (#2931)

* adding register_oidc_client to identity-management pallet

* updating mock

* adding tests

* adding unregister_oidc_client call

* adding test assertion for register_oidc_client

* adding tests for unregister_oidc_client

* adding temporary weights

* refactoring names

* adding docs comment

* adding TODO comment

* updating runtimes

* fixing clippy issues

* increasing runtime version in tests

* adding getter function

* parachain-api: expose link_identity_callback (#2937)

Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>

* build(deps): bump syn from 2.0.71 to 2.0.72 (#2923)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.71 to 2.0.72.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.71...2.0.72)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* chore: typo

---------

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>
Co-authored-by: Jayanring <81245047+Jayanring@users.noreply.github.com>
Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: will.li <120463031+higherordertech@users.noreply.github.com>
Co-authored-by: Francisco Silva <franjs.francisco@gmail.com>
Co-authored-by: Jonathan Alvarez <jonathan@litentry.com>

* P 896 bridge related migration decimal convertor (#2940)

* feat: initial pallets add without migration, disable ts-test

* debug: fmt

* feat: rough fix

* chore: taplo fmt

* feat: add First stage logic adoption and migration plan

* build(deps): bump num-integer from 0.1.45 to 0.1.46 (#2921)

Bumps [num-integer](https://github.com/rust-num/num-integer) from 0.1.45 to 0.1.46.
- [Changelog](https://github.com/rust-num/num-integer/blob/master/RELEASES.md)
- [Commits](rust-num/num-integer@num-integer-0.1.45...num-integer-0.1.46)

---
updated-dependencies:
- dependency-name: num-integer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* build(deps): bump tokio from 1.38.0 to 1.38.1 (#2922)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.38.0...tokio-1.38.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* P 893 enhance bitarcoss worker ceremony processing with multithreading (#2901)

* multithreading

* fix deadlock between workers

* change timeout to 30s

* remove some log

* remove some log

* optimize ceremony data sharing logic

* remove code for debugging

* fix fmt

* fix clippy

* change module name

* clean up code

* restore test_full_flow_with_3_ceremonies

* remove redundant match

* increase TCSNum to 64

* reorganize code structure

* fix test

* fix check_signBitcoin

* add SignBitcoinPayload to InitCeremony

* read threads count from cli (#2912)

* add CeremonyRoundCall

* change CreateSignTask to Request

* fix passing cli params

* fix timeout reply

* fix timeout reply

---------

Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>

* import sidechain block through trusted rpc (#2913)

* import sidechain block through trusted rpc

* use DirectClient

* upstream fixes

---------

Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>

* feat: fix runtime impl, add migration; Pallet unitest and logic TODO

* Hardhat test with brc20 contract (#2927)

* feat: P-886 integrate hardhat into dynamic assertions, wrap contract in proxy contract so as to get the return value in unit test, added test for BRC20 TokenHoldingAmount.
    Fixed openzipline import with @ import working with remix too

* fix: formatted all contracts

* fix: update ci install script for Dynamic-contract step

* fix: prevent lockfile update because it may cause check-format fail

* fix: remove frozen-lockfile option from pnpm install, ignore pnpm-lock.yaml for prettier

* fix: use hardhat instead of foundry to compile contracts

* fix: use Strings.equal to simplify string compare, add remixd install step to README

* add remix config file to .gitignore

---------

Co-authored-by: higherordertech <higherordertech>

* Musig2 metrics (#2930)

* multithreading

* fix deadlock between workers

* change timeout to 30s

* remove some log

* remove some log

* optimize ceremony data sharing logic

* remove code for debugging

* fix fmt

* fix clippy

* change module name

* clean up code

* restore test_full_flow_with_3_ceremonies

* remove redundant match

* increase TCSNum to 64

* reorganize code structure

* fix test

* fix check_signBitcoin

* add SignBitcoinPayload to InitCeremony

* read threads count from cli (#2912)

* add CeremonyRoundCall

* change CreateSignTask to Request

* fix passing cli params

* musig2 ceremony metrics

* fmt

---------

Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: Jayanring <81245047+Jayanring@users.noreply.github.com>

* Add basic bitacross worker ci integration tests (#2934)

* rpc method for checking musig2 ceremony correctness

* test sign_bitcoin by enclave account

* ts code to test sign_bitcoin

* build bitacross docker image

* add bitacross integration tests

* enable enclave tests

* adjust test

* add reject unauthorized to ws client

* increase wait time for workers startup

* update filefilter

* trigger bitacross rebuild

* remove bitacross cache

* Push bitacross-worker image in CI (#2935)

* Adding register OIDC client call to identity management pallet (#2931)

* adding register_oidc_client to identity-management pallet

* updating mock

* adding tests

* adding unregister_oidc_client call

* adding test assertion for register_oidc_client

* adding tests for unregister_oidc_client

* adding temporary weights

* refactoring names

* adding docs comment

* adding TODO comment

* updating runtimes

* fixing clippy issues

* increasing runtime version in tests

* adding getter function

* feat: fix pallet assets handler logic and unit test

* chore

* chore

* chore

* chore

* chore

* chore

* parachain-api: expose link_identity_callback (#2937)

Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>

* chore

* chore

* chore

* chore

* chore

* build(deps): bump syn from 2.0.71 to 2.0.72 (#2923)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.71 to 2.0.72.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.71...2.0.72)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>

* chore

* chore

* chore: static

* chore

* feat: fix ts step by step. Missing bridge solidity contract abi

* feat: fix bridge contract abi and repo source

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* feat: fix litentry migration first

* feat: fix rococo, litmus

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* chore

* chore: iter should be mut

* chore

* chore: replace std with sp-std

* feat: try add logic modification on bridge ts test

* feat: dsiable ts again

---------

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>
Co-authored-by: Jayanring <81245047+Jayanring@users.noreply.github.com>
Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: will.li <120463031+higherordertech@users.noreply.github.com>
Co-authored-by: Francisco Silva <franjs.francisco@gmail.com>
Co-authored-by: Jonathan Alvarez <jonathan@litentry.com>

* chore: fmt

* uncomment

* chore: remove unneccessary assert

* debug: update decimal

* comment steps

* chore: update bridge binary source. solidity is untouched

* Merge branch 'p-895-This-Branch-Will-Not-Merged-Until-Our-Decimal-Migration-Is-Ready!' into fix-ts-tests-after-p-895

* storage migration: pallet bounties treasury democracy preimage evm decimal (#2932)

* fix: write storage migration for pallet bounty

* fix: add storage migration for bounties,treasury,democracy and preimage

* fix: storage migrations for pallet_preimage

* fix: use put_storage_value for preimage

* fix: update checks for migration and test migration

* refactor: update log targets

* fix: build after conflict resolution

* refactor: reduce the number of loops and remove asserts

* refactor: fix clippy

* refactor: typo

---------

Signed-off-by: Faisal Ahmed  <42486737+felixfaisal@users.noreply.github.com>

* chore: update bridge contract

* chore

* chore

* chore

* chore

* chore

* fxi AssetInfo

* chore

* chore: clean all migration files

* change decimal

* fix evm tests

* fix precompile contracts

* disable bridge tests

* add bridge test

* disable bridge tests

* add bridge tests

* chore: fix

* chore

* fix signTransaction value

* remove ,

* disable bridge tests

* chore

* P 898 vesting proxy (#2942)

* add migration for: Vesting and Proxy

* missing one

* add  identity & multisig

* minor fix

* check against empty storage

* rm warnings

* build fix

* rm unused crate

* fmt

* Update migrate_multisig.rs

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>

---------

Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>
Co-authored-by: WMQ <46511820+wangminqi@users.noreply.github.com>

* fix fee

* chore

* chore

* chore

* chore

* chore

* chore: fix rococo try-runtime

* bump versions

* fix test

* add filterMode

* test bridge

* chore

* fix resourceToAssetInfo

* fix bridge steps

* remove log

* update genesis

* chore: update rustc version

* chore: docker tag fix

* fix bridge tests

* remove log

* remove comment

* chore: update lock file

---------

Signed-off-by: Jonathan Alvarez <jonathan@litentry.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: WMQ <46511820+wangminqi@users.noreply.github.com>
Signed-off-by: Faisal Ahmed  <42486737+felixfaisal@users.noreply.github.com>
Signed-off-by: 0xverin <104152026+0xverin@users.noreply.github.com>
Co-authored-by: Mi1kTea <73102617+m1iktea@users.noreply.github.com>
Co-authored-by: Jonathan Alvarez <jonathan@litentry.com>
Co-authored-by: 0xverin <104152026+0xverin@users.noreply.github.com>
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
Co-authored-by: Faisal Ahmed <42486737+felixfaisal@users.noreply.github.com>
Co-authored-by: Jayanring <81245047+Jayanring@users.noreply.github.com>
Co-authored-by: Jayanring <junjie@liteng.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: will.li <120463031+higherordertech@users.noreply.github.com>
Co-authored-by: Francisco Silva <franjs.francisco@gmail.com>
Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com>
Co-authored-by: BillyWooo <thedreamofbilly@gmail.com>
Co-authored-by: Yang <yang@trustcomputing.de>
Co-authored-by: Verin1005 <daqingchong0809@gmail.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.

None yet

10 participants