Skip to content

Releases: uptest-sc/uptest

v0.1.4

13 Dec 00:52
f1b558d
Compare
Choose a tag to compare

Release:

libuptest v0.1.4
uptest v0.1.4
uptest-cli v0.1.4
uptest-examples v0.1.4

What's new in 0.1.4

  • get_block_events_lower_case, ascii lowercase event_summary in #89
  • Auto-test feature enabled in #101
  • storage parsing improve in #103
  • auto test in example + cli, cli bump to 0.1.3 in #105
  • libuptest AutoTestSummary in #107
  • auto-test doc in #108
  • better errors in #111
  • Improved error handling, supporting subxt, serde_json, hex, anyhow, std io, fixed_hash, std error and reqwest
  • no unwraps!! in core libuptest lib, however 2 unwraps due to thirdparties are in the code, one duee to the decoding lib and one due to the clap cli third party libraries
  • better examples

Full Changelog: v0.1.2...v0.1.4

Uptest release v0.1.2

11 Aug 09:56
f1d1242
Compare
Choose a tag to compare

Uptest release v0.1.2

Links:
https://github.com/uptest-sc/uptest/
https://uptest-sc.github.io/
https://crates.io/crates/libuptest
https://crates.io/crates/uptest-cli

Updated and Added functionality:

uptest-cli is now renamed to uptest-cli and not just "uptest".
uptest-cli moved to its own subfolder with plans to seperate it to its own repo:
#78

Fixed bug #59, uptest can now properly detect the storage item type:
#59

Beta feature of migration search is live, feature allows you to automatically search for prewritten migrations in pallets:
#64

Submit runtime upgrade wasm file:
#65
In order to make debugging easier we have created a new repo that allows the user to submit runtime upgrades using a sudo
transaction: https://github.com/uptest-sc/submit-runtime-upgrade

Uptest cli added feature chain-info:
#69
#70

Fixed bug that does not properly read the wasm file in libuptest:

- use libuptest::metadata::read_wasm_binary;
+ use libuptest::metadata::read_wasm_binary_correct;

Depricating the old function and added a new one:
#71

depricated the chains/ directory in libuptest:
#40

Uptest now supports compairing the old storage type(before upgrade) vs the new one(set after upgrade):
#73

Patched storage-changes uptest-cli function

Public documentation updated:
https://uptest-sc.github.io/

All example code has been fixed:
#61

Subxt feature flag has been added to make libuptest more compatible with subxt
Instead of delivering a macro that will wait for an event then execute the transaction, we delivered a function that is compatible with subxt, allowing everyone to schedule a subxt transaction. This was a more flexible solution:
#82
Subxt H256 is now compatible with libuptest's H256:
#79

As a promised milestone 2 delivery, we have enabled libuptest to support automatically generating u128, u64, u32, u8, f64, f32, bool and accountid32 addresses. Making it easier for developers to create temporary values, used for debugging.
https://github.com/uptest-sc/uptest/blob/main/examples/examples/test_input_gen.rs
#77
#83
#8

subxthelper feature flag has now been added to all feature flags:
#84

uptest v0.1.1

07 Jul 16:17
1912362
Compare
Choose a tag to compare

Version v0.1.1 contains:

  • Command line client
  • usage examples
  • usage documentation
  • ability to decode extrinsics
  • detect runtime upgrades and custom on-chain events
  • Connect and subscribe to any metadata v14 chain using ws and rpc
  • metadatadecode feature flags
  • async functionality
  • 5 different chain endpoints, preconfigured
  • Lightweight types exported
  • Forked version of desub utilized
  • Functionality to easily parse blocks, extrinsic and events triggered in blocks
  • Detect and parse storage types for every pallet
  • Stand alone library(does not rely on substrate upstream main repo)
  • default client requests: get_metadata_version, get_raw_metadata, blocknumber_to_blockhash, blockhash_to_block, get_latest_finalized_head, get_block_events, get_decoded_extrinsics_from_blockhash, get_runtime_version, event_watch
  • Compatible with Tokio