Skip to content

SDK v0.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 13:22

This release contains the changes from v0.10.0 to v0.11.0.

Upgrade Priority

❗️ Medium: This is a medium priority release and you should upgrade in a timely manner.

The changes motivating this priority level are:

  • ✅ easy merge #1033 ❗️ Medium - Update cached nonce when creating extrinsic for registering enclave with ra
  • ✅ easy merge #963 ❗️ Medium - Generate and reset events with sp-io::append() and sp_io::clear_prefix()
  • 📢 attention required #1013 ❗️ Medium - Propose every nth block as finality candidate instead of all the blocks
  • ✅ easy merge #1083 ❗️ Medium - Fix state provisioning bug when reading large byte buffers
  • 📢 attention required #1077 ❗️ Medium - Keep state in-memory, write snapshots to file

Upgrade Challenge Level

‼️ Breaking Changes: This release contains breaking changes. Be sure to upgrade the affected interfaces.

The changes motivating this challenge level are:

  • ⚡ breaks parentchain interface #1010 Low - Add block number to processedparentchainblock event
  • ⚡ breaks parentchain interface #1174 Low - Add a proof of execution to shield funds trusted call

Changes

App-Libs

  • 📢 attention required #1012 Low - Introduce stf-interface
  • ✅ easy merge #1052 Low - Core-primitives: add new crate sgx-runtime-primitives
  • ✅ easy merge #1112 Low - Stf primitives extraction
  • 🔥 breaks public rpc api #1146 Low - Allow execution of public getters
  • ⚡ breaks parentchain interface #1174 Low - Add a proof of execution to shield funds trusted call

Client

  • ⚡ breaks parentchain interface #1010 Low - Add block number to processedparentchainblock event
  • ✅ easy merge #1059 Low - Enhance benchmark to use increasing nonce
  • ✅ easy merge #1116 Low - Skip spid/ra_api_key files if --skip-ra is active
  • 🔥 breaks public rpc api #1152 Low - Improve nonce handling in stf execution

Core

  • ✅ easy merge #1005 Low - Set crate version to 0.9.0 to be consistent with sdk release 0.9.0.
  • ✅ easy merge #1002 Low - Update polkadot-v0.9.28
  • ✅ easy merge #1008 Low - Remove aura dev setting allow_delayed_proposal
  • ✅ easy merge #1030 Low - Implement next_key in sgx sp-io
  • ✅ easy merge #1033 ❗️ Medium - Update cached nonce when creating extrinsic for registering enclave with ra
  • 🔥 breaks public rpc api #1034 Low - Web-socket server: take certs and keys directly, rather than file paths
  • ✅ easy merge #971 Low - Add attestation handler component
  • ✅ easy merge #1054 Low - Consolidate perform_ra and mock_register_enclave_xt
  • ✅ easy merge #1061 Low - Removed unused dependencies in crates
  • ✅ easy merge #1038 Low - Refactoring of in-memory state i/o
  • ✅ easy merge #1069 Low - Refactoring: remove obsolete getter execution, fix dependencies
  • ✅ easy merge #1083 ❗️ Medium - Fix state provisioning bug when reading large byte buffers
  • ✅ easy merge #1087 Low - Investigate and fix sidechain integration test failures
  • 📢 attention required #1076 Low - Bump teaclave-sdk to v1.1.6-testing #1074
  • 📢 attention required #1077 ❗️ Medium - Keep state in-memory, write snapshots to file
  • ✅ easy merge #1053 Low - Update polkadot-v0.9.29
  • ✅ easy merge #1078 Low - Introduce parentchainhandlers inside the enclave
  • ✅ easy merge #1095 Low - State handling refactoring: reduce state cloning
  • 📢 attention required #1103 Low - Tn/dcap rebased
  • 📢 attention required #1131 Low - Update depenencies to polkadot-v0.9.36
  • ✅ easy merge #1133 Low - Bump rust-sgx-sdk to master
  • ✅ easy merge #1137 Low - Adjust nonce in stfenclavesigner based on pending tx
  • ✅ easy merge #1143 Low - Avoid hardcoded call index when executing trusted calls
  • ✅ easy merge #1148 Low - Improve metadata handling
  • ✅ easy merge #1153 Low - Seal state to preserve it after disconnection
  • 📢 attention required #1134 Low - Collateral handling for dcap
  • ✅ easy merge #1157 Low - Prevent an out-of-bounds access in case the certs slice is empty
  • ✅ easy merge #1155 Low - Refactoring attempt for indirect-calls-executor

EVM Feature

Offchain

  • ✅ easy merge #963 ❗️ Medium - Generate and reset events with sp-io::append() and sp_io::clear_prefix()

Sidechain

  • 📢 attention required #1013 ❗️ Medium - Propose every nth block as finality candidate instead of all the blocks
  • ✅ easy merge #1169 Low - Do not error out when searching peers

Teeracle

  • ✅ easy merge #1072 Low - Generic oracle refactor

Misc

There are other misc. changes. You can expand the list below to view them all.

Other misc. changes
  • ✅ easy merge #1005 Low - Set crate version to 0.9.0 to be consistent with sdk release 0.9.0.
  • ✅ easy merge #1002 Low - Update polkadot-v0.9.28
  • ✅ easy merge #1008 Low - Remove aura dev setting allow_delayed_proposal
  • ⚡ breaks parentchain interface #1010 Low - Add block number to processedparentchainblock event
  • ✅ easy merge #998 Low - Add cargo.toml formatting with taplo
  • ✅ easy merge #1030 Low - Implement next_key in sgx sp-io
  • 📢 attention required #1012 Low - Introduce stf-interface
  • ✅ easy merge #1033 ❗️ Medium - Update cached nonce when creating extrinsic for registering enclave with ra
  • 🔥 breaks public rpc api #1034 Low - Web-socket server: take certs and keys directly, rather than file paths
  • ✅ easy merge #963 ❗️ Medium - Generate and reset events with sp-io::append() and sp_io::clear_prefix()
  • ✅ easy merge #971 Low - Add attestation handler component
  • ✅ easy merge #1054 Low - Consolidate perform_ra and mock_register_enclave_xt
  • ✅ easy merge #1061 Low - Removed unused dependencies in crates
  • ✅ easy merge #1059 Low - Enhance benchmark to use increasing nonce
  • ✅ easy merge #1064 Low - Introduce parentchainhandler on untrusted side
  • ✅ easy merge #1038 Low - Refactoring of in-memory state i/o
  • ✅ easy merge #1069 Low - Refactoring: remove obsolete getter execution, fix dependencies
  • ✅ easy merge #1052 Low - Core-primitives: add new crate sgx-runtime-primitives
  • 📢 attention required #1013 ❗️ Medium - Propose every nth block as finality candidate instead of all the blocks
  • ✅ easy merge #1083 ❗️ Medium - Fix state provisioning bug when reading large byte buffers
  • ✅ easy merge #1087 Low - Investigate and fix sidechain integration test failures
  • ✅ easy merge #1070 Low - Remove unused deps - cargo udeps
  • 📢 attention required #1076 Low - Bump teaclave-sdk to v1.1.6-testing #1074
  • 📢 attention required #1077 ❗️ Medium - Keep state in-memory, write snapshots to file
  • ✅ easy merge #1053 Low - Update polkadot-v0.9.29
  • ✅ easy merge #1078 Low - Introduce parentchainhandlers inside the enclave
  • ✅ easy merge #1095 Low - State handling refactoring: reduce state cloning
  • ✅ easy merge #1116 Low - Skip spid/ra_api_key files if --skip-ra is active
  • ✅ easy merge #1112 Low - Stf primitives extraction
  • ✅ easy merge #1072 Low - Generic oracle refactor
  • 📢 attention required #1103 Low - Tn/dcap rebased
  • 📢 attention required #1124 Low - Update dependencies to polkadot v0.9.32
  • ✅ easy merge #1130 Low - [local-setup] ignore if key.txt and spid.txt are not found
  • 📢 attention required #1131 Low - Update depenencies to polkadot-v0.9.36
  • ✅ easy merge #1133 Low - Bump rust-sgx-sdk to master
  • ✅ easy merge #1135 Low - [docker] fix: bump version constraint for docker >= 2.0.0
  • ✅ easy merge #1137 Low - Adjust nonce in stfenclavesigner based on pending tx
  • ✅ easy merge #1143 Low - Avoid hardcoded call index when executing trusted calls
  • 🔥 breaks public rpc api #1146 Low - Allow execution of public getters
  • ✅ easy merge #1148 Low - Improve metadata handling
  • 🔥 breaks public rpc api #1152 Low - Improve nonce handling in stf execution
  • ✅ easy merge #1153 Low - Seal state to preserve it after disconnection
  • 📢 attention required #1134 Low - Collateral handling for dcap
  • ✅ easy merge #1157 Low - Prevent an out-of-bounds access in case the certs slice is empty
  • ✅ easy merge #1160 Low - Fix potential polkadot-v0.9.37 dependency leak after cargo update
  • ✅ easy merge #1164 Low - Replace dockerize with built-in healthcheck
  • ✅ easy merge #1155 Low - Refactoring attempt for indirect-calls-executor
  • ✅ easy merge #1169 Low - Do not error out when searching peers
  • 📢 attention required #1173 Low - Bump to polkadot-v0.9.37
  • ⚡ breaks parentchain interface #1174 Low - Add a proof of execution to shield funds trusted call