Skip to content

Tee worker polkadot v0.9.32 -> trigger parachain CI#1094

Closed
BillyWooo wants to merge 55 commits intodevfrom
tee-worker-polkadot-v0.9.32
Closed

Tee worker polkadot v0.9.32 -> trigger parachain CI#1094
BillyWooo wants to merge 55 commits intodevfrom
tee-worker-polkadot-v0.9.32

Conversation

@BillyWooo
Copy link
Copy Markdown
Collaborator

together with #1093 , simply to trigger CI

Kailai-Wang and others added 30 commits July 5, 2022 20:20
BillyWooo and others added 25 commits October 20, 2022 08:50
Use rococo as dev network (#918)
* add rococo staging
* cargo update
* update README
* fix bad english
* merge tee-dev branch into dev branch (#902)

* adjust docker tag for tee-dev

* use integritee/pallets master branch

* add teeracle to tee-dev

* switch to sdk-v0.9.0-polkadot-v0.9.26 as release branch

* add back the dummy method for testing purpose

* fix make clippy

* small cleanup

* add back teeracle

* use specific branch of tee-primitives (todo:revert it)

* correctify branch for tee-primitives

* temporarily use TEE pallets master branch

* add EnsureOrigin impl and tests

* its better to place it in runtime_common

* remove the dummy extrinsic (used for testing previous)

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

* 0.9.29 update (#891)

* feat: rough update to 0.9.29

* debug:temp fmt

* debug: 0.9.29 without trystate

* debug: Integration with latest try-runtime

* debug: update weight template

* debug: fmt

* debug: patch toml try-runtime

* debug: fmt

* debug: revert template non-weight part

* debug: add teeracle try-runtime

* debug: cargo lock

* fix Cargo.lock (#904)

* lift the bridge transfer restriciton and bump version (#907)

* use hash to compute the raw payload (#910)

* remove Litmus sudo (#876)

* sudo

* change Root into Root +democracy

* debug: recover chainspec rootkey

* fix clippy

* try to fix #900

* add debug log #900

* make CI tests pass after remove litmus `Sudo`

* fmt

* debug

* debug

* rococo/litentry align with litmus

* remove useless test code

Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: BillyWooo <yang@litentry.com>
Co-authored-by: zhiming-zhong <zhiming.zhong@litentry.com>

* Use rococo as dev network (#918)

* add rococo staging

* cargo update

* update README

* fix bad english

* Bump aes-gcm from `be0d6c2` to `5eb6d1a` (#925)

Bumps [aes-gcm](https://github.com/RustCrypto/AEADs) from `be0d6c2` to `5eb6d1a`.
- [Release notes](https://github.com/RustCrypto/AEADs/releases)
- [Commits](RustCrypto/AEADs@be0d6c2...5eb6d1a)

---
updated-dependencies:
- dependency-name: aes-gcm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

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

* Bump scale-info from 2.2.0 to 2.3.0 (#926)

Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/paritytech/scale-info/releases)
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/scale-info/commits/v2.3.0)

---
updated-dependencies:
- dependency-name: scale-info
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

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

* Minor update (#928)

* add dwellir bootnode

* bump litmus runtime version

* cargo update

* feat: relocate remove_sudo migration code (#936)

* feat: relocate remove_sudo migration code

* debug: fmt

* debug: change staking parameter (#931)

* debug: change staking parameter

* debug: bump rococo.litentry spec version

* Use sccache in Dockerfile (#937)

* try to switch to github-runner

* use sccache in Dockerfile for self-hosted runner

* fix syntax

* download sccache

* fix path and use pre-built taplo

* intentionally change lib.rs

* intentionally update a pallet only

* try to add/stop sccache server

* minor update

* update README

* try to use rust-cache

* use /root

* use GITHUB_REF_NAME in hash-key

* I dislike github syntax

* another try

* deprecate set-output

* revert back lib.rs

* dintinguish between release and prod

* fix RUN order

* use head_ref or ref_name

Co-authored-by: BillyWooo <yang@litentry.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com>
Co-authored-by: BillyWooo <yang@litentry.com>
Co-authored-by: WMQ <46511820+wangminqi@users.noreply.github.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: zhiming-zhong <zhiming.zhong@litentry.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* initial adding tee-worker src

* fix link path

* adjust path and content

* fix path

* fmt

* add ignore/exclude path

* fix the path for upload/download artifacts

* fix path
* use local dependencies

* fix docker path
* debug: try download and push

* add debug commands

* remove file checker

* remove defaults

* add pwd

* make sure to chekcout code

* checkout code

* add CI yml to detect list
* add cross-env&&dotenv

* set env

* random shard for testing

* Change the versions of @PolkaDot

* change the version of @polkadot/types

* rm yarn.lock
* add cross-env&&dotenv

* set env

* random shard for testing

* Change the versions of @PolkaDot

* change the version of @polkadot/types

* rm yarn.lock

* change yarn.lock

* generateChallengeCode

* modify yarn run command

* change defaultSinger

* add getSinger

* add Sign functions

* add getSinger && generateChallengeCode

* add ID_HUB_URL for sign message

* modify defaultSigner

* modify shard
* add more testcases

* fix compile

* fix file checker in tee-worker-ci

Co-authored-by: ericzhang <jingleizhang@users.noreply.github.com>
* rename `link_identity` to `create_identity`

* rename `unlink_identity` to `remove_identity`

* add up the missing ones

* add up missing ones 2

* make fmt happy

* hope not more missed...

* remove not needed file

* update old name from merge (link -> create)
* add cross-env&&dotenv

* set env

* random shard for testing

* Change the versions of @PolkaDot

* change the version of @polkadot/types

* rm yarn.lock

* change yarn.lock

* generateChallengeCode

* modify yarn run command

* change defaultSinger

* add getSinger

* add Sign functions

* add getSinger && generateChallengeCode

* add ID_HUB_URL for sign message

* modify defaultSigner

* modify shard

* add ethers provider&&wallet

* add eth endpoint

* add @ethersproject/providers&&ethers

* substrate&&ethereum tests

* web3 types

* nonce

* change methods name

* change methods name

* change events

* change methods name

* change event

* modify method name
* some more renaming

* adjustment to IMP mock

* change to sgx-runtime pallets
* add id_graph to ocall extrinsics

* adjust callback extrinsic

* add cross-env&&dotenv

* set env

* random shard for testing

* Change the versions of @PolkaDot

* change the version of @polkadot/types

* rm yarn.lock

* slight renaming

* change maxVerificationDelay to 30min

* change yarn.lock

* generateChallengeCode

* modify yarn run command

* change defaultSinger

* add getSinger

* add Sign functions

* add getSinger && generateChallengeCode

* add ID_HUB_URL for sign message

* modify defaultSigner

* modify shard

* add ethers provider&&wallet

* add eth endpoint

* add @ethersproject/providers&&ethers

* substrate&&ethereum tests

* web3 types

* nonce

* change methods name

* change methods name

* change events

* change methods name

* change event

* modify method name

* ts-test support `id_graph`

* fix bug

* remove log

* resolve conflicts

Co-authored-by: Verin1005 <daqingchong0809@gmail.com>
Co-authored-by: zzz <zhiming.zhong@litentry.com>
@BillyWooo BillyWooo changed the title Tee worker polkadot v0.9.32 Tee worker polkadot v0.9.32 -> trigger parachain CI Dec 15, 2022
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #1094 (6c242ff) into dev (55150a1) will decrease coverage by 57.00%.
The diff coverage is 2.39%.

@@             Coverage Diff             @@
##              dev    #1094       +/-   ##
===========================================
- Coverage   77.71%   20.70%   -57.01%     
===========================================
  Files          20      217      +197     
  Lines        2387     9013     +6626     
===========================================
+ Hits         1855     1866       +11     
- Misses        532     7147     +6615     
Impacted Files Coverage Δ
...s/identity-management-mock/src/identity_context.rs 0.00% <0.00%> (ø)
tee-worker/app-libs/oracle/src/lib.rs 0.00% <0.00%> (ø)
tee-worker/app-libs/oracle/src/metrics_exporter.rs 0.00% <0.00%> (ø)
...r/app-libs/oracle/src/oracle_sources/coin_gecko.rs 0.00% <0.00%> (ø)
...-libs/oracle/src/oracle_sources/coin_market_cap.rs 0.00% <0.00%> (ø)
...oracle/src/oracle_sources/weather_oracle_source.rs 0.00% <0.00%> (ø)
...pp-libs/oracle/src/oracles/exchange_rate_oracle.rs 0.00% <0.00%> (ø)
...rker/app-libs/oracle/src/oracles/weather_oracle.rs 0.00% <0.00%> (ø)
tee-worker/app-libs/sgx-runtime/src/evm.rs 0.00% <0.00%> (ø)
tee-worker/app-libs/stf/src/hash.rs 0.00% <0.00%> (ø)
... and 192 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@BillyWooo BillyWooo closed this Dec 15, 2022
@ziming-zung ziming-zung deleted the tee-worker-polkadot-v0.9.32 branch January 4, 2023 02:23
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