Releases: gear-tech/gear
Releases · gear-tech/gear
v1.0.2
Release v1.0.2 changes
- Crates and runtime version bumped to
"1.0.2"
(#3436).
Client updates required: NO
External node/runtime api changed: NO
Programs code refactoring level after update libs: PATCH
Programs recommended compiler: nightly-2023-09-18
- Downgrade compiler version from
nightly-2023-10-14
tonightly-2023-09-18
(#3451).
It's recommended to use toolchain files for such pins. For more details see: https://rust-lang.github.io/rustup/overrides.html
User-space libraries
- Fixed internal
gtest
bug that caused test panic inSystem::spend_blocks
(#3481); - Actualised
gtest
s constants with real runtime (#3510).
Constants become public
use gtest::constants
and properly documented.
EXISTENTIAL_DEPOSIT
bumped from 500 value to 10_000_000_000_000 value (10 tokens).
Runtime
- Fixed internal runtime bug that caused ignore
keep_alive
field ofsend_message
extrinsic while destination is user (#3458); - Runtime logic optimisations and stability improvements.
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Most significant changes
Runtime & node client
- Benchmark tasks and reduce GasAllowance accordingly (#2797)
- Add RPC call to query inflation and ROI (#3290)
- Stabilise
lazy-pages
feature (#3123) - Add nonce to
ProgramId
generation (#3010) - Add
gas_allowance_multiplier
argument for RPC-node clients (#3226) - Introduce Vara Testnet spec (#3326)
- Add proper benchmarks for signal-related syscalls (#3258)
- Tune benchmarking for non-return syscalls (#3319)
- Forbid non-wasm execution for validators (#3360)
- Set
MaxUnbonding
eq toStaking
for Vara’sNominationPools
(#3365) - Unify client to be compatible with all chains (#3363)
- Introduce
PerformanceMultiplier
asConfig
constant (#3160) - Add
NominationPool
andStaking
runtime api (#3388) - Maintain total supply consistency in off-chain election provider (#3389)
- Add
TransactionPaymentCallApi
(#3393) - Add
DustRemoval
andOnSlash
handlers (#3405) - Separate prepaid transactions into specific
pallet-gear-voucher
call (#3401) - Remove
PoA
runtime 🪦🕊️ (#3380) - Add governance ability to align total supply (#3418)
- Add field
keep_alive
toGear
extrinsics defining existence requirement (#3425) - Update weights (#3432)
Compiler update (recommended and stabilised version)
- Update compiler version to
nightly-2023-10-14
(#3409)
User-space libraries
- Add payload argument into
gtest
state readers (#3254) - Update
dlmalloc
(#3305) - Introduce backtrace system in
gsdk
(#3170) - Handle locks for default wait sendings (#3315)
- Add
Mutex
lock monitor (#3341) - Upgrade
subxt
dependency ingsdk
to v0.32.0 (#3392) - Expose
GearConfig
andPairSigner
ingsdk
(#3423) - Add
From<T>
andDefault
implementations forgstd
sync primitives (#3429)
Full Changelog: v1.0.0...v1.0.1
v1.0.0
v0.3.6
v0.3.5
v0.3.4
v0.3.3
What's Changed
- Make transaction cost multiplier smoother in #3198
- Add debug runtime interface for benchmarks in #3195
- Introduce max ownership time for
gstd::Mutex
in #2912 - Macro for arguments of
read_state
ingtest
args in #2754 - Add batched read state in #3208
- Support reply deposit in
gtest
in #3212 - Bump
MaxAuthorities
to100_000
in #3220 - Enable stack limit instrumentation in #3209
- Add customisation for gas price and set actual value to
25 value/gas
in #3239 - Update weights in #3243
- Force reinstrumentation in #3248
Full Changelog: v0.3.2...v0.3.3
v0.3.2
What's Changed
- Introduce
pallet-gear-bank
in #3052 - Adjust version check in #3163
- Update
MAXIMUM_BLOCK_WEIGHT
to 1 sec in #3164 - Make sure
pallet_gear::run()
pseudo-inherent only runs once per block in #3135 - Add subcommand to
gear-replay-cli
tool in #3033 - Introduce payload parameter for read_state_using_wasm rpc call in #3173
- Adjust target inflation value in #3176
- Disable program rent logic in #3140
- Adjust versions of migration run in #3197
Full Changelog: v0.3.1...v0.3.2
v0.3.1
v0.3.0
Bug Fixes
- Add root workspace (#2885)
- Remove limit on generated files (#2900)
- Now
weight-diff.sh
can compare branches with/
(#2898) - Fix deadlocks in mutex/rw-lock (#2906)
- Read state gas limit restrictions (#2926)
- Continue to adopt
LimitedStr
(#2758) - Allow mutex/read/write lock guard access by holder only (#2916)
- Fix bug with
calculate_gas
returning block gas limit (#2943) - Disable cachepot in win build (#3003)
- Catch panic reply in RunResult (#3024)
- Log the panic message for the debugging convenience (#3045)
- Fix overflowing gas limit (#3077)
- Forward-fix a test that will require the gear-bank account to exist (#3118)
- Remove strings from environment variant (#3124)
Documentation
- Add documentation for
gmeta
crate (#2761)
Features
- Introduce switch for disabling path remapping (#2890)
- Implement Sandbox on gear side (#2544)
- Don't track features in wasm-builder via env var (#2922)
- Add feature
panic-handler
(#2915) - Unlock all calls and storage queries (#2744)
- CLI tool for executing blocks against the live chain state (#2724)
- Set optimisation params (#2973)
- Allow transaction retracted (#2963)
- Use only mvp features, enable sign-ext (#2976)
- Add memory weights (#2995)
- Add support of reply code to
Log
(#2897) - Run time consuming tests using github action (#3004)
- Don't set logger hook if custom log is present (#3032)
- Add extra fields into gwasm logs (#3012)
- Introduce config for always valid gear wasm generation (#3039)
- Introduce events API (#2979)
- Use
alloca
for stack allocations (#2975) - Complete the manifest of all published libraries (#3041)
- Trim manifest with wildcard (#3055)
- Make log more customizable (#3072)
- Propagate stack allocations (#3007)
- [breaking] Append payload in
read_state
rpc call (#3059) - Add node CLI arg to set max block gas value (#3110)
- Introduce "precise"
runtime-fuzzer
(#3102) - Make sensible error-reporting on runtime imports check (#3136)
- Check runtime imports in
make pre-commit
(#3139) - Generate link to definition (#3144)
Miscellaneous Tasks
- Bump version after release to
0.2.2
(#2886) - Obsolete some spec-tests and examples [3] (#2889)
- Disable path remap in measurements CI (#2899)
- Remove deploy step of runtime tests (#2903)
- Change gh url (#2913)
- Remove executed migrations (#2918)
- Clean up for latest merged PRs (#2930)
- Update weights (#2928)
- [breaking] Remove second workspace from repo (#2946)
- Exclude weight files from stats (#2950)
- Improve
get_state
test (#2955) - Fix wrong path and set PRNG seed (#2964)
- Bump parity-scale-codec to 3.6.4 (#2961)
- Replace wasm-instrument with gwasm-instrument (#3054)
- Remove missing label in
combined-dependabot.yml
(#3066) - Change the timeout ms from 10 to 1 in tests (#3090)
- Fix links in README (#3098)
- Update staging spec (#3147)
- Version 0.3.0 / 300 in master (#3145)
Performance
Refactor
- Join memory pages implementations (#2774)
- Optimize
gas_charge
function (#2805) - Apply unrepeatable nonces for the same reservation id (#2798)
- Remove
SyscallUsage
error (#2908) - Refactor
MemoryError
(#2892) - Use new temporary directory for wasmer caches for each new node process (#2925)
- Rewrite alloc benchmark with more common way (#2673)
- Inherit crates from workspace (#2951)
- Remove unnecessary 'host-sandbox' feature (#2954)
- Move LockId to gear-core (#2966)
- Add tests and benchmarks (#2981)
- Refactor wasm-gen configs (#2980)
- Introduce general generator and memory generator. (#2982)
- Introduce generators for gear entry points and sys-calls (#3022)
- Add logging for call to wasmer::Instance::new (#3040)
- Avoid inserting sys-calls into custom
send_from_reservation
function (#3036) - Split
prog::create_program
into two functions (#3050) - Process wasm-globals on wasmer side (#2969)
- Extract dispatch_common function in wasmer backend (#3068)
- Get rid of redundant
_with_voucher
extrinsics (#3083) - Structure gsdk API (#3035)
- Terminate the program in RemoveFromWaitlist task for init-message (#3085)
- Introduce ActorSystemError (#3086)
- Update WASMI in embedded executor (#2987)
- Use fully qualified paths (#3143)
Testing
- Handling gas allowance exceed works correctly (#2872)
- Add tests for send message limit (#2919)
- Comment
test_gen_reproduction
until upcoming fix (#3016) - Test pause program task removed for terminated program (#3020)
- Make deterministic wasm generation (#3044)
- Test that
GearCalls
generation is deterministic (#3117)