Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3556df3
implement index for pallet + some tests
gui1117 Aug 26, 2020
766f510
add test and doc
gui1117 Sep 1, 2020
d246bdf
remove deprecated and document behavior
gui1117 Sep 1, 2020
11a3af2
update internal doc
gui1117 Sep 1, 2020
ce2d1bd
Apply suggestions from code review
gui1117 Sep 7, 2020
b56cbd7
address review
gui1117 Sep 7, 2020
da702ae
use index for all module, break construct_runtime
gui1117 Sep 8, 2020
0290c47
fix line length
gui1117 Sep 8, 2020
82e36e4
Merge remote-tracking branch 'origin/master' into gui-construct-runti…
gui1117 Sep 9, 2020
6c8e80a
implement migration helper funciton in scheduler
gui1117 Sep 9, 2020
4e5b4f8
fix start at index 0
gui1117 Sep 9, 2020
95a1eb7
Update frame/scheduler/src/lib.rs
gui1117 Sep 10, 2020
9518e5b
Merge remote-tracking branch 'origin/master' into gui-construct-runti…
gui1117 Sep 10, 2020
a830e2f
Update frame/support/procedural/src/lib.rs
gui1117 Sep 16, 2020
9812da2
bump frame-metadata crate
gui1117 Sep 16, 2020
5d86201
factorize
gui1117 Sep 16, 2020
078a543
avoid some unwrap and remove nightly join
gui1117 Sep 16, 2020
4bba712
Update frame/support/src/event.rs
gui1117 Sep 16, 2020
c6f073b
fix test
gui1117 Sep 16, 2020
43856fd
add test and improve error message
gui1117 Sep 16, 2020
7da2738
factorize test
gui1117 Sep 16, 2020
b9fca7e
keep iterator, and use slice instead of vec
gui1117 Sep 16, 2020
61019e7
refactor to avoid to have expects
gui1117 Sep 16, 2020
a9d454a
Merge remote-tracking branch 'origin/master' into gui-construct-runti…
gui1117 Sep 16, 2020
ae0f859
small refactor
gui1117 Sep 16, 2020
85a65f2
Test something
bkchr Sep 17, 2020
ab0c998
Make sure we update the `Cargo.lock`
bkchr Sep 17, 2020
fda8a1a
Apply suggestions from code review
gui1117 Sep 18, 2020
95ef421
return 2 error
gui1117 Sep 18, 2020
68b472e
Apply suggestions from code review
gui1117 Sep 21, 2020
21510d4
Merge remote-tracking branch 'origin/master' into gui-construct-runti…
gui1117 Sep 21, 2020
6feb460
Update frame/scheduler/src/lib.rs
gui1117 Sep 21, 2020
f2de8f2
fix typo
gui1117 Sep 21, 2020
3f38e1a
Revert "fix typo"
gui1117 Sep 21, 2020
492a83f
Revert "Update frame/scheduler/src/lib.rs"
gui1117 Sep 21, 2020
d04f8cd
Merge remote-tracking branch 'origin/master' into gui-construct-runti…
gui1117 Sep 22, 2020
986155b
Merge remote-tracking branch 'origin/master' into gui-construct-runti…
gui1117 Sep 22, 2020
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
Prev Previous commit
Next Next commit
Update frame/support/src/event.rs
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
gui1117 and bkchr authored Sep 16, 2020
commit 4bba712287eb4434ae08b3acac2601774007c5ce
5 changes: 5 additions & 0 deletions frame/support/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,5 +816,10 @@ mod tests {
event_module2::Event::<TestRuntime2>::TestEvent(3)
);
assert_eq!(runtime_2_event_module_2.encode()[0], 5);

let runtime_2_event_module_3 = TestEventSystemRenamed::event_module3(
event_module3::Event::<TestRuntime2>::HiEvent
);
assert_eq!(runtime_2_event_module_3.encode()[0], 6);
}
}