Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track features for v0.1.2 #60

Closed
flipchan opened this issue Jul 13, 2023 · 20 comments
Closed

Track features for v0.1.2 #60

flipchan opened this issue Jul 13, 2023 · 20 comments

Comments

@flipchan
Copy link
Collaborator

Fixed storagevalue raw_type bug:
#59

@flipchan
Copy link
Collaborator Author

beta, the pre built migration search : #64

@flipchan
Copy link
Collaborator Author

#65

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 1, 2023

#69

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 1, 2023

#70

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 2, 2023

fixed read_wasm binary found after the submit-runtime-upgrade script was publish
#71

New function created to solve problems:
https://github.com/uptest-sc/submit-runtime-upgrade/blob/main/src/main.rs#L23

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 2, 2023

depricate chains/, not used #40

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 2, 2023

removed read_wasm_binary and replace it:

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

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 3, 2023

Uptest now supports compairing the old type and the new storage entry type #73

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 3, 2023

depricate unused chains/ dir

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 3, 2023

pallet_storage_diff struct added, storage-changes in cli working and new

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 3, 2023

cli upgraded:

 ./target/release/uptest  -c ws://127.0.0.1:9944
Uptest command line tool
running ws host: "ws://127.0.0.1:9944"
Connected to chain
Gathered current storage types
Waiting for runtime upgrade
Runtime upgrade in block: 0xb91bc8ed09a7a3e0accbaa92720412f382f4ae211218acece279a251bd67189c
Having a coffee break before next block...
Scanning the new metadata for changes
Runtime upgraded from version: 108 to new version: 109
Pallet name:  "TemplateModule"
    Storage item name:  "Something" 
    Storage item type:  StorageValue 
    Old storage type:  Primitive(U32)
    New storage type: Primitive(U64)
    
Pallet name:  "TemplateModule"
    Storage item name:  "Something6" 
    Storage item type:  StorageValue 
    Old storage type:  Primitive(U128)
    New storage type: Primitive(Bool)
    

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 3, 2023

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 8, 2023

fixed all example code so it compiles:
#61

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 8, 2023

Uptest code structure, moved uptest-cli to different folder, added readme for uptest-cli: #78

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 9, 2023

we have a delivery called "macro X" after doing some research, we decided to make into a callable function to make it more portable, feature flag + function created: #82

@flipchan
Copy link
Collaborator Author

flipchan commented Aug 9, 2023

subxt feature introduced, libuptest::types::H256 is not compatible with subxt::utils::H256
pr: #79

@flipchan
Copy link
Collaborator Author

input gen feature:
#77

@flipchan
Copy link
Collaborator Author

#83

@flipchan
Copy link
Collaborator Author

Uptest release v0.1.2:

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:
    subxt_helper feature, example code for new libuptest::subxt_helper::t… #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

@flipchan
Copy link
Collaborator Author

released!

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

No branches or pull requests

1 participant