SDK v0.9.0
github-actions
released this
04 Oct 13:06
·
49 commits
to 4784e2f6e968d710e278e3051365c93871934834
since this release
Release branch: https://github.com/integritee-network/worker/tree/sdk-v0.9.0-polkadot-v0.9.26
For more information on how to use this sdk, check out : https://docs.integritee.network/4-development/4.4-sdk
What's Changed since 0.0.1
- fix CI by @brenzi in #194
- remove rm lock file command from make clean by @haerdib in #233
- Sidechain by @brenzi in #224
- Attestation: Switch to new API version for RA by @electronix in #157
- Shielding fix by @haerdib in #235
- Make unit tests independent on shard number in directory by @haerdib in #239
- add result variable to alice account balance check by @haerdib in #236
- 234 fix shielding by @haerdib in #238
- fix nonce of shielding by @haerdib in #240
- Add root funds by @haerdib in #241
- [Makefile] Fix propagation of SGX_MODE to worker build. by @clangenb in #258
- Multi worker setup by @clangenb in #262
- Extract config from cli + some cleanup by @clangenb in #263
- update rust sgx sdk by @haerdib in #265
- Add GitHub actions by @clangenb in #266
- Unify primitives + remove bin2 by @clangenb in #267
- Api client extensions: SubstrateeRegistryApi + AcountApi + ChainApi by @clangenb in #268
- Bump deps by @clangenb in #276
- PoC: Broadcast blocks by @clangenb in #277
- Fix warning by @clangenb in #280
- Introduce enclave error by @clangenb in #290
- ci should fail upon PR containing clippy warnings by @haerdib in #294
- [enclave] increase TCSNUM to 8 by @clangenb in #310
- Review of OCall API Draft in Enclave by @murerfel in #283
- [GA] add M8 and M6 integration tests by @clangenb in #309
- Fix remote attestation, call 'get_ias_socket()' a second time for the… by @murerfel in #317
- Worker OCall Abstraction, PoC by @murerfel in #293
- [GA] disambiguate m6/m8 logs by @clangenb in #318
- worker ocall abstraction onchain by @murerfel in #299
- Add Ipfs Ocall API and impl to the ocall bridge by @murerfel in #311
- Add direct invocation Ocall API and impl to the ocall bridge by @murerfel in #312
- Fully abstract and implement the EnclaveApi, (i.e. E-Call API) by @murerfel in #313
- add fmt check by @haerdib in #305
- update to substrate commit df1165d7b47d43f7b5032512ad41ac8ab2ead117 by @haerdib in #324
- Refactor OCalls in Enclave to use abstracted OCall API traits (#279) by @murerfel in #320
- Move WorkerRequest and WorkerResponse to worker primitives by @murerfel in #322
- Get state does not sync with layer one chain by @murerfel in #325
- Introduce 'test' feature, endow accounts in STF only in test feature by @murerfel in #326
- Extract substratee storage keys by @clangenb in #328
- Minor refactorings after sifting through the 'produce_blocks' code by @murerfel in #330
- extract storage proof to substratee-storage by @clangenb in #332
- simplify onchain storage access by @clangenb in #334
- Onchain validateer fetch and onchain mock by @clangenb in #336
- cleanup substratee worker primitives by @clangenb in #338
- [enclave/sidechain] move ocall_api to its own crate. by @clangenb in #340
- extract onchain-storage to its own crate + extract onchain-storage-mock to test-utils by @clangenb in #341
- extract side chain crate by @clangenb in #342
- move block, singedblock to sidechain-primitives by @clangenb in #344
- Substrate update v4.0.0 dev rebase by @haerdib in #347
- GA: bump node + remove broken cargo cache by @clangenb in #354
- Bh hot fix by @haerdib in #357
- Worker primitives are made SGX compatible, with all modules (including rpc) by @murerfel in #358
- Extract sgx-io out of the enclave by @clangenb in #360
- [chain relay] update justifications by @haerdib in #365
- extract aes crypto to crate and add StateCrypto trait by @clangenb in #363
- Feat/cl extract ed25591 by @clangenb in #370
- [sidechain/primitives] change SidechainBlock.timestamp type to u64 + use millisecs as timestamp by @clangenb in #371
- refactor chain-relay to standalone light-client crate and make it more generic by @clangenb in #377
- make enclave pre-funding generic by @echevrier in #376
- worker and crate name rebranding by @echevrier in #378
- Add Sidechain Block Storage by @haerdib in #380
- [local-setup] change shard purging logic for new sidechain_db by @clangenb in #384
- Enclave OcallApi Revamp by @clangenb in #382
- Crate renaming continued: changes for primitives/core and client. by @echevrier in #391
- [GA] bump node artifact. by @echevrier in #394
- [cli] fix symlink by @clangenb in #395
- move
OpaqueCall
to itp_types and useOpaqueExtrinsic
consistently by @clangenb in #396 - [SidechainBlocks] use edd25519::Public in blocks + minor improvents by @clangenb in #397
- Run RPC server entirely inside enclave, use TLS encryption by @murerfel in #362
- Aura Preparation by @clangenb in #402
- Fix interval block production by @clangenb in #405
- Move rsa3072 out of enclave and implement SealedIO and ShieldingCrypto by @echevrier in #403
- New REST client crate, based on http_req and rustls by @murerfel in #409
- [ita-stf] improvements around state types by @clangenb in #411
- fix needles compilation of sgx-deps by @clangenb in #414
- Fix build for SGX_DEBUG=1 by @murerfel in #419
- [enclave-runtime/tests] cleanup by @clangenb in #420
- Refactor RPC author as facade by @murerfel in #425
- RPC Author encapsulates top pool and mutex access by @murerfel in #426
- [itp-types] remove re-export of sidechain-primitives in itp-types by @clangenb in #428
- Aura skeleton for sidechain by @clangenb in #427
- Change the id of teerex pallet and clean code by @echevrier in #437
- Fix potential panic in slot derivation. by @clangenb in #440
- Introduce abstractions for RSA seal, TOP pool and state by @murerfel in #430
- [sidechain] don't discard blocks if block production took too long. by @clangenb in #448
- Fix CI by fixing typo and ignoring unsuccessful log-upload by @clangenb in #452
- [Sidechain] Add state setters for
System
pallet forBlockNumber
,LastHash
,Timestamp
by @clangenb in #451 - Add new filter feature for trusted operations in the RPC author by @murerfel in #438
- Separate parentchain sync from top execution by @murerfel in #454
- clean up stf for better dev experience by @brenzi in #460
- Use common function to load initialized state by @murerfel in #461
- [enclave] disable unsupported CPUID runtime feature-detection of sha2 AVX2-feature by @haerdib in #446
- Fix M8 integration test, converting println to info logging by @murerfel in #467
- Load state only once per trusted getter by @murerfel in #462
- Abstract away the handling of (STF) state, introduce read/write locks by @murerfel in #464
- Separate trusted getters execution from trusted calls by @murerfel in #469
- Extract the TOP pool into a separate crate by @murerfel in #470
- Extract hex encoding/decoding to separate primitives crate by @murerfel in #471
- Change
frame-metadata
dep to new paritytech repo by @gaudenzkessler in #473 - Extract STF state handling and RPC author crate by @murerfel in #472
- Use the new docker image (#327) by @mosonyi in #477
- Update to new node: indirect block confirm: genesis hash -> mrenclave by @haerdib in #476
- Extract the top pool direct invocation RPC interface to a separate crate by @murerfel in #474
- migrate to enriched rust-toolchain.toml by @clangenb in #482
- Delete obsolete rust-toolchain file and fix Jenkins by @haerdib in #488
- Extract the STF execution logic to a separate crate 'stf-executor' by @murerfel in #485
- increases enclave funding 10x by @haerdib in #490
- Use the same version of http and httparse in the enclave dependencies by @murerfel in #496
- Specify 'untrusted_time' feature explicitely in crates with sgx_tstd by @murerfel in #497
- Separate send xts and send blocks by @murerfel in #487
- rename SIDECHAIN_STORAGE_PATH to a directory by @echevrier in #499
- Extract a new extrinsics factory and nonce cache crate by @murerfel in #498
- Separate block confirmations by @haerdib in #501
- Extract the top pool operation execution into separate modules by @murerfel in #500
- use LVI mitigation when building enclave by @murerfel in #412
- Fix event decoding in cli + remove timeout in demos by @haerdib in #507
- Upgrade to teaclave 1.1.4 by @haerdib in #486
- Integrate changes from sgx-runtime regarding non-deterministic state hash by @murerfel in #510
- [enclave-runtime] remove misleading feature imports from patches by @haerdib in #511
- Move (most) sidechain related code out of enclave-runtime by @murerfel in #512
- Refactor sidechain top pool executions by @haerdib in #517
- Refactor locking mechanism of light client to ensure granular exclusive access by @murerfel in #518
- Update layer one block number with every block sync #468 by @gaudenzkessler in #519
- Update spec version to 4 by @haerdib in #524
- Increase sleep time for local setup after increase of block production time by @murerfel in #527
- Extract parentchain features and logic to its own folder with crates by @murerfel in #525
- [parentchain pallet] save state permanently after mutation by @haerdib in #528
- Move sidechain storage to sidechain repository #514 by @gaudenzkessler in #529
- New parentchain block import dispatcher (for #423) by @murerfel in #530
- Update teaclave sgx libraries 1.1.4 from testing branch to master branch by @murerfel in #534
- Remove obsolete initialize_pool() function from enclave by @gaudenzkessler in #533
- Fix cargo package author by @gaudenzkessler in #536
- Remove trait UnwrapOrSgxErrorUnexpected by @gaudenzkessler in #539
- Update to spec version 5 and update CI to use new node by @gaudenzkessler in #549
- Upgrade substrate to 7406442bea0194ffcafc4e8d48d895d4d8d11346 by @echevrier in #540
- [sidechain] loop function without drift. by @gaudenzkessler in #550
- Add unit test builder for parentchain blocks and headers by @murerfel in #557
- update rust-sgx-sdk by @haerdib in #558
- Separate block production from state mutation by @haerdib in #520
- Remove obsolete branch from pull-request target builds by @murerfel in #569
- Move sidechain block builder to separate crate by @haerdib in #571
- Remove thread creation from sidechain block gossiping by @haerdib in #574
- Remove integration tests and sync light client incrementally by @gaudenzkessler in #556
- Alice is faucet only in dev mode by @echevrier in #555
- add local-setup readme by @haerdib in #581
- fix readme spacing by @haerdib in #586
- Bump integritee-node runtime spec by @clangenb in #599
- bootstrap parentchain blocks for primary validateer by @haerdib in #593
- bump rust toolchain and update teaclave by @haerdib in #603
- Make mu-ra and untrusted worker url queriable by @haerdib in #595
- [sidechain] detect out of sync error by @haerdib in #606
- Update substrate sp-core to version 4.1.0-dev by @gaudenzkessler in #612
- Renaming of unclear SB and PB variable names by @haerdib in #605
- Sidechain peer fetch blocks - RPC client/server by @murerfel in #580
- [Sidechain] Peer block fetching o-call implementation by @murerfel in #619
- add rpc doc by @haerdib in #620
- [Sidechain] Peer sync and block production suspension by @murerfel in #618
- update to most recent teaclave commit by @haerdib in #624
- Sync state from fellow validateer by @haerdib in #615
- Tokio runtime limited to 2 worker threads, gossiping leverages async tasks by @murerfel in #626
- Add state update sequence by @haerdib in #632
- RPC call to get metadata from sgx-runtime by @echevrier in #642
- bump substrate to commit 59649dd by @haerdib in #645
- [Sidechain] Integration of the peer sync mechanism by @murerfel in #627
- Prometheus metrics integration by @murerfel in #646
- Add a local-setup config to the tutorial (integritee book) by @murerfel in #666
- Update call status to
InSidechainBlock
only after block import by @haerdib in #676 - Bump substrate to commit f5f286db0da9... by @echevrier in #669
- Dockerize by @mosonyi in #668
- Lift clap to version 3.16 and move stf cli to cli crate. by @gaudenzkessler in #679
- Refactor global components and initialization process by @murerfel in #677
- create alive service to deterine that the service is up, running and registered by @gaudenzkessler in #697
- Add port config for the untrusted http server for
is_initialized
by @murerfel in #700 - rename wrong
signing_key
function name tostate_key
by @haerdib in #704 - Move top pool and top pool author crates to core primitives by @murerfel in #705
- Introduce state snapshot history by @murerfel in #698
- Add header to sidechain block by @gaudenzkessler in #699
- introduce layer for indirection for sidechainblock by @gaudenzkessler in #716
- Persist web-socket connections by @murerfel in #718
- Upgrade polkadot v.0.9.19 by @echevrier in #720
- New --clean-reset and --request-state options to run worker in a single command by @murerfel in #724
- remove get-storage-verified by @haerdib in #732
- remove set -e from init_env.sh source by @gaudenzkessler in #737
- update teaclave + cargo update by @haerdib in #738
- Use sidechain pallet and update substrate to polkadot-v0.9.20 by @gaudenzkessler in #730
- Multi-validateer docker setup by @murerfel in #729
- [RPC Server] Do not
Err
upon unsuccessful de-serialization toRpcResponse
by @haerdib in #746 - [RPC Interface] hex encode rpc call values by @haerdib in #739
- Sidechain Fork test setup by @murerfel in #744
- make Validation trait agnostic to finalization algorithm by @gaudenzkessler in #741
- Submit indirect
call_worker
into TOP pool by @murerfel in #748 - conditionally initialize the suitable light-client by @gaudenzkessler in #749
- Solve potential endless loop in WS server by @murerfel in #766
- Cargo dependency clean up by @haerdib in #764
- Fix regularly occurring
InvalidAuthority
error by @haerdib in #771 - Submit shield funds call into top pool by @murerfel in #760
- Relax threshold for timing unit test by @murerfel in #784
- Parachain-compatibility without checking for finalization proofs by @gaudenzkessler in #773
- Init of parachain light client by @gaudenzkessler in #793
- Update substrate-api dependency to new signed extra by @echevrier in #791
- Fix issue#794: Make the kind of tip we use configurable per set of extrinsics by @echevrier in #795
- Align RuntimeSpec version with the parachain by @gaudenzkessler in #796
- externalize sidechain-primitives to the pallets repository by @gaudenzkessler in #787
- Docker setup fixes by @murerfel in #789
- Explicitly set the ends_at time and compute it from the slot directly… by @murerfel in #790
- Update slot claiming strategy (rebased) by @murerfel in #811
- self-signed certificate, signed with the enclave private key for webscoket by @echevrier in #799
- Update substrate to polkadot-v0.9.24 by @gaudenzkessler in #816
- Peer fetch only missing blocks, not every block available by @murerfel in #826
- Update teaclave SGX SDK to 1.1.5 and update the Rust toolchain by @murerfel in #830
- use types and utils from pallets by @gaudenzkessler in #810
- Move the expensive create_api() call inside the if by @Niederb in #832
- 800 long running benchmark tests by @Niederb in #834
- Minor light-client refactoring by @murerfel in #828
- Add sgx-runtime error feedback to error messages by @haerdib in #839
- Reduce test flakiness for the shard slot timings test by @murerfel in #840
- Minor cleanup in light-client: Remove obsolete type parameter by @murerfel in #843
- Fix message logging within the enclave by @haerdib in #844
- Use block builders from pallets repo by @gaudenzkessler in #845
- Use slot methods from pallets by @gaudenzkessler in #846
- Sidechain finality missing checks by @gaudenzkessler in #806
- Convert Sender to a move parameter by @Niederb in #851
- Update docker-compose to integritee-node 1.0.13 by @masapr in #862
- Parentchain's metadata in enclave by @echevrier in #849
- Docker: remove port mapping by @masapr in #864
- Benchmark: Sidechain with one Worker by @masapr in #865
- Tn/fix multihash vulnerability by @Niederb in #866
- Fix intermittent unit test failure with web-socket client by @murerfel in #870
- Off-chain worker mode by @murerfel in #858
- Polkadot v0.9.26 by @masapr in #876
- Makefile improvements to speedup CI build by @murerfel in #879
- Enable all demos/integration tests in docker-compose by @murerfel in #877
- Initial release of SDK 0.9.0 by @murerfel in #885
- Updated links to the new gitbook. by @Niederb in #975
New Contributors
Full Changelog: v0.7.0...v0.9.0