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
83 commits
Select commit Hold shift + click to select a range
b878662
Frame Add translate_next
pgherveou Apr 28, 2023
7ab5774
Move to lazy migration
athei Feb 22, 2023
e49f0ce
Updates
pgherveou May 2, 2023
758902a
simplify MockMigration
pgherveou May 2, 2023
3a9c925
wip
pgherveou May 2, 2023
c7aa478
wip
pgherveou May 2, 2023
c5d33ce
add bench
pgherveou May 2, 2023
a27b8bc
add bench
pgherveou May 2, 2023
d4eee87
fmt
pgherveou May 2, 2023
f5d9638
fix bench
pgherveou May 2, 2023
dc501ce
add .
pgherveou May 2, 2023
e6cd691
".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
May 2, 2023
5db9beb
Apply suggestions from code review
pgherveou May 5, 2023
1bd551e
Scalfold v10 / v11 fix tests
pgherveou May 8, 2023
d718995
PR comment
pgherveou May 8, 2023
131cc45
tweak pub use
pgherveou May 8, 2023
1f22230
wip
pgherveou May 8, 2023
f3f69c8
wip
pgherveou May 9, 2023
1b07693
wip
pgherveou May 9, 2023
d8500b7
Merge branch 'master' into at/migration
pgherveou May 9, 2023
e561a69
misc merge master
pgherveou May 9, 2023
2a57bff
Merge branch 'at/migration' into pg/migration
pgherveou May 9, 2023
4e7a1f7
misc merge master
pgherveou May 9, 2023
b1dd6a1
Merge branch 'at/migration' into pg/migration
pgherveou May 9, 2023
db7b4e9
wip
pgherveou May 9, 2023
3c08a37
rm tmp stuff
pgherveou May 9, 2023
e966c87
wip
pgherveou May 9, 2023
f1134c6
wip
pgherveou May 10, 2023
a85ff26
wip
pgherveou May 10, 2023
87a8f3b
wip
pgherveou May 10, 2023
193c788
wip
pgherveou May 10, 2023
aafaa03
fixes
pgherveou May 10, 2023
0d84f28
add state
pgherveou May 10, 2023
be9bc81
wip
pgherveou May 10, 2023
59bd209
wip
pgherveou May 10, 2023
92ddfa0
wip
pgherveou May 10, 2023
1221345
wip
pgherveou May 10, 2023
8445ae7
wip
pgherveou May 10, 2023
42e5b5b
wip
pgherveou May 11, 2023
82ed2d1
wip
pgherveou May 11, 2023
dee4889
wip
pgherveou May 11, 2023
6aff1bd
wip
pgherveou May 11, 2023
4a7ec2e
wip
pgherveou May 11, 2023
f21b524
wip
pgherveou May 11, 2023
42cf92c
wip
pgherveou May 11, 2023
68ff246
wip
pgherveou May 11, 2023
bcd404b
wip
pgherveou May 11, 2023
0a321db
fix
pgherveou May 11, 2023
4b771b2
fixed compilation
pgherveou May 11, 2023
7864d6c
clean up logs
pgherveou May 11, 2023
2af1523
wip
pgherveou May 11, 2023
4c4758b
Revert "Frame Add translate_next"
pgherveou May 11, 2023
7f9b013
Merge branch 'master' into pg/migration
pgherveou May 11, 2023
1194ad3
Fix v10 logic
pgherveou May 12, 2023
657ac6e
Apply suggestions from code review
pgherveou May 12, 2023
69734ae
wip
pgherveou May 12, 2023
98f5df5
fixes
pgherveou May 12, 2023
14b7102
exercise del_queue
pgherveou May 12, 2023
59acab8
bump sample size
pgherveou May 12, 2023
4a142bc
fmt
pgherveou May 12, 2023
48cf78a
wip
pgherveou May 12, 2023
14f078c
blank line
pgherveou May 12, 2023
79b36b9
fix lint
pgherveou May 12, 2023
d954437
fix rustdoc job lint
pgherveou May 15, 2023
9782bd9
PR comment do not use dangerous into()
pgherveou May 15, 2023
82adfd8
Ad macros for updating mod visibility
pgherveou May 15, 2023
25b2ec6
Add doc
pgherveou May 15, 2023
453489f
Add max_weight to integrity_test
pgherveou May 15, 2023
1ceb5e0
fix compilation
pgherveou May 15, 2023
883f54f
Merge branch 'master' into pg/migration
pgherveou May 16, 2023
ab44573
Add no migration tests
pgherveou May 16, 2023
c87e1d7
Merge branch 'master' of https://github.com/paritytech/substrate into…
May 16, 2023
b8ee019
".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
May 16, 2023
2081eae
fix clippy
pgherveou May 16, 2023
aaac768
PR review
pgherveou May 16, 2023
c2e587d
Update frame/contracts/src/lib.rs
pgherveou May 16, 2023
0b690e9
Merge branch 'master' into pg/migration
pgherveou May 26, 2023
1fc4035
Fix master merge
pgherveou May 26, 2023
c6ea2eb
Merge branch 'master' into pg/migration
pgherveou May 26, 2023
0b9c16c
fix merge 2
pgherveou May 26, 2023
25ada0f
fix tryruntime
pgherveou May 28, 2023
7d5e934
fix lint
pgherveou May 29, 2023
de10f33
Merge branch 'master' into pg/migration
pgherveou May 30, 2023
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
add .
  • Loading branch information
pgherveou committed May 2, 2023
commit dc501ce4b730d43e443d9c55dcb7ecb8e4ed1efc
4 changes: 2 additions & 2 deletions frame/contracts/src/benchmarking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ benchmarks! {
Contracts::<T>::reinstrument_module(&mut module, &schedule)?;
}

// This benchmarks the v9 migration cost
// This benchmarks the v9 migration cost.
#[pov_mode = Measured]
v9_translate_wasm_module {
let c in 0 .. Perbill::from_percent(49).mul_ceil(T::MaxCodeLen::get());
Expand All @@ -244,7 +244,7 @@ benchmarks! {
migration.step();
}

// This benchmarks the base weight of dispatching a migrate call
// This benchmarks the base weight of dispatching a migrate call.
#[pov_mode = Measured]
migrate {
let origin: RawOrigin<<T as frame_system::Config>::AccountId> = RawOrigin::Signed(whitelisted_caller());
Expand Down