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

feat(crates-io): add dependencies for gear-tasks #4026

Closed
wants to merge 50 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
ea81b9a
Initial implementation
ark0f May 30, 2024
67cde59
Add smoke test
ark0f May 30, 2024
4531d2b
Add WASM smoke test
ark0f May 30, 2024
d79a1ed
Fix `no_std` compilation
ark0f Jun 1, 2024
cfaaa8c
Fix running tasks in WASM
ark0f Jun 2, 2024
f44549e
Use `self` argument instead of manual ext obtaining
ark0f Jun 8, 2024
e12f558
`RuntimeTasks` -> `GearTasks`
ark0f Jun 8, 2024
0ad2708
Execute WASM tasks via client
ark0f Jun 11, 2024
3bdec62
Spawn `GearTasksRunner` in pallet benchmarks
ark0f Jun 11, 2024
789141b
Fix WASM compilation
ark0f Jun 12, 2024
d36995b
Read storage in benchmark test
ark0f Jun 12, 2024
36f8a6b
Initial denial of writes in tasks
ark0f Jun 12, 2024
05aa81e
Support storage access in native
ark0f Jun 14, 2024
d9c3b53
Propagate panic from thread
ark0f Jun 14, 2024
0665964
Don't allow external API usage
ark0f Jun 17, 2024
226ff64
Remove unused imports
ark0f Jun 17, 2024
286216d
Update Substrate
ark0f Jun 17, 2024
9359d1e
Copy current overlay to thread
ark0f Jun 17, 2024
89179c4
Panic in runtime API implementation in non-test env
ark0f Jun 18, 2024
6511f87
Docs for `GearTasksContextExt`
ark0f Jun 18, 2024
62bdeec
Update Substrate
ark0f Jun 18, 2024
77a95ba
Clean up deps
ark0f Jun 18, 2024
9a2cf65
Fix check for native function conversion
ark0f Jun 18, 2024
cd6415a
Merge remote-tracking branch 'origin/master' into al/sp-tasks
ark0f Jun 18, 2024
87aa4ad
Update Cargo.lock
ark0f Jun 18, 2024
af142fe
Check `GearTasksRunner` is not initialized twice
ark0f Jun 18, 2024
821cbf6
Pass the number of tasks via runtime
ark0f Jun 19, 2024
57857f8
Add unjoined task detection test
ark0f Jun 19, 2024
a24d76d
Rename types
ark0f Jun 19, 2024
c06d490
Exit from runtime mode in overlay
ark0f Jun 19, 2024
6784a9d
Fix `pallet_gear::impl_config!`
ark0f Jun 19, 2024
f63d138
Fix `make pre-commit`
ark0f Jun 19, 2024
78c7659
Add docs
ark0f Jun 19, 2024
30fcf10
Run bench in CI
ark0f Jun 19, 2024
e6f0a78
Move `futures-executor` to root Cargo.toml
ark0f Jun 19, 2024
c7a2f8b
Comment out `crates-io` check
ark0f Jun 20, 2024
47949e2
Merge remote-tracking branch 'origin/master' into al/sp-tasks
ark0f Jun 20, 2024
b42533c
Add new runtime imports
ark0f Jun 20, 2024
cfc4ad0
Run `gear-tasks` tests on other platforms
ark0f Jun 20, 2024
3e8bec8
Fix CI commands
ark0f Jun 20, 2024
f46a54f
Revert "Run `gear-tasks` tests on other platforms"
ark0f Jun 20, 2024
9a883fe
Update Substrate
ark0f Jun 24, 2024
30c21cd
feat(crates-io): try add dependencies of gear-tasks
clearloop Jun 23, 2024
9989279
ci(crates-io): enable crates-io check
clearloop Jun 23, 2024
596408b
ci(check): trigger checks
clearloop Jun 23, 2024
89ad6a0
chore(crates): upgrade frame-support to 23.0.0
clearloop Jun 23, 2024
789b0ca
feat(crates-io): upgrade sp-runtime-interface
clearloop Jun 23, 2024
645b700
chore(crates-io): upgrade gp-externalities
clearloop Jun 23, 2024
2414b6f
feat(crates-io): upgrade frame-support to 25.0.0
clearloop Jun 23, 2024
b3e3e2e
Merge branch 'master' into cl/al/sp-tasks
clearloop Jun 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ jobs:
./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="read_big_state" --heap-pages=4096 --extra
# check that signal_stack_limit_exceeded_works benchmarks works
./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="signal_stack_limit_exceeded_works" --heap-pages=4096 --extra
# check that gear-tasks works
./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="check_gear_tasks" --heap-pages=4096 --extra
# check that check/test benchmarks works
./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="check_all" --heap-pages=4096 --extra

Expand Down
Loading
Loading