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

liquid-crowdloan #2503

Merged
merged 21 commits into from
Jun 5, 2023
Merged

liquid-crowdloan #2503

merged 21 commits into from
Jun 5, 2023

Conversation

xlc
Copy link
Member

@xlc xlc commented Mar 24, 2023

closes #2462

TODOs:

  • XCM to transfer DOT into the pallet account
  • tests
  • benchmarking & weights

runtime/acala/src/lib.rs Outdated Show resolved Hide resolved
modules/relaychain/src/lib.rs Outdated Show resolved Hide resolved
@shaunxw shaunxw marked this pull request as ready for review April 14, 2023 11:19
@xlc
Copy link
Member Author

xlc commented Apr 15, 2023

/bench module module_liquid_crowdloan

@AcalaNetwork AcalaNetwork deleted a comment from github-actions bot Apr 15, 2023
@github-actions
Copy link

github-actions bot commented Apr 15, 2023

Request: /bench module module_liquid_crowdloan
Command: make benchmark-module options="--quiet --color=never" pallet=module_liquid_crowdloan pallet_folder=liquid-crowdloan

Results
cargo run --quiet --color=never --release --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=module_liquid_crowdloan --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/liquid-crowdloan/src/weights.rs --template=./templates/module-weight-template.hbs
Pallet: "module_liquid_crowdloan", Extrinsic: "redeem", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Tokens Accounts (r:3 w:3)
Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
Storage: Tokens TotalIssuance (r:1 w:1)
Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
Storage: EvmAccounts EvmAddresses (r:2 w:0)
Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

-- Proof Sizes --

3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    110.2
            µs

Reads = 7
Writes = 5
Recorded proof Size = 3045

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    110.2
            µs

Reads = 7
Writes = 5
Recorded proof Size = 3045

Pallet: "module_liquid_crowdloan", Extrinsic: "transfer_from_crowdloan_vault", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: XcmInterface XcmDestWeightAndFee (r:1 w:0)
Proof Skipped: XcmInterface XcmDestWeightAndFee (max_values: None, max_size: None, mode: Measured)
Storage: ParachainInfo ParachainId (r:1 w:0)
Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainSystem HostConfiguration (r:1 w:0)
Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

-- Proof Sizes --

1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    43.02
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1252

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    43.02
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1252

Created file: "./modules/liquid-crowdloan/src/weights.rs"

@xlc
Copy link
Member Author

xlc commented Apr 16, 2023

/bench runtime acala module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Apr 16, 2023

Request: /bench runtime acala module_liquid_crowdloan
Command: make benchmark-acala options="--quiet --color=never" pallet=module_liquid_crowdloan

Results
cargo run --quiet --color=never --profile production --features=runtime-benchmarks --features=with-acala-runtime -- benchmark pallet --chain=acala-dev --steps=50 --repeat=20 '--pallet=module_liquid_crowdloan' '--extrinsic=*' --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/acala/src/weights/
Pallet: "module_liquid_crowdloan", Extrinsic: "redeem", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Tokens Accounts (r:3 w:3)
Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
Storage: Tokens TotalIssuance (r:1 w:1)
Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
Storage: EvmAccounts EvmAddresses (r:2 w:0)
Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

-- Proof Sizes --

2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes
2003 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    75.26
            µs

Reads = 7
Writes = 5
Recorded proof Size = 2003

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    75.26
            µs

Reads = 7
Writes = 5
Recorded proof Size = 2003

Pallet: "module_liquid_crowdloan", Extrinsic: "transfer_from_crowdloan_vault", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: XcmInterface XcmDestWeightAndFee (r:1 w:0)
Proof Skipped: XcmInterface XcmDestWeightAndFee (max_values: None, max_size: None, mode: Measured)
Storage: ParachainInfo ParachainId (r:1 w:0)
Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: PolkadotXcm SupportedVersion (r:1 w:0)
Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem HostConfiguration (r:1 w:0)
Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

-- Proof Sizes --

1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes
1391 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    55.58
            µs

Reads = 7
Writes = 2
Recorded proof Size = 1391

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    55.58
            µs

Reads = 7
Writes = 2
Recorded proof Size = 1391

Created file: "./runtime/acala/src/weights/module_liquid_crowdloan.rs"

@shaunxw
Copy link
Contributor

shaunxw commented Apr 17, 2023

/bench runtime mandala module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Apr 17, 2023

Request: /bench runtime mandala module_liquid_crowdloan
Command: make benchmark-mandala options="--quiet --color=never" pallet=module_liquid_crowdloan

Results
cargo run --quiet --color=never --profile production --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark pallet --chain=dev --steps=50 --repeat=20 '--pallet=module_liquid_crowdloan' '--extrinsic=*' --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/mandala/src/weights/
Pallet: "module_liquid_crowdloan", Extrinsic: "redeem", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Tokens Accounts (r:3 w:3)
Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
Storage: Tokens TotalIssuance (r:1 w:1)
Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
Storage: EvmAccounts EvmAddresses (r:2 w:0)
Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

-- Proof Sizes --

3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes
3045 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    81.49
            µs

Reads = 7
Writes = 5
Recorded proof Size = 3045

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    81.49
            µs

Reads = 7
Writes = 5
Recorded proof Size = 3045

Pallet: "module_liquid_crowdloan", Extrinsic: "transfer_from_crowdloan_vault", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: XcmInterface XcmDestWeightAndFee (r:1 w:0)
Proof Skipped: XcmInterface XcmDestWeightAndFee (max_values: None, max_size: None, mode: Measured)
Storage: ParachainInfo ParachainId (r:1 w:0)
Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainSystem HostConfiguration (r:1 w:0)
Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

-- Proof Sizes --

1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes
1252 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    30.98
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1252

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    30.98
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1252

Created file: "./runtime/mandala/src/weights/module_liquid_crowdloan.rs"

runtime/acala/src/lib.rs Outdated Show resolved Hide resolved
modules/liquid-crowdloan/src/lib.rs Outdated Show resolved Hide resolved
@wangjj9219
Copy link
Member

/bench module module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Request: /bench module module_liquid_crowdloan
Command: make benchmark-module options="--quiet --color=never" pallet=module_liquid_crowdloan pallet_folder=liquid-crowdloan

Results
cargo run --quiet --color=never --release --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=module_liquid_crowdloan --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/liquid-crowdloan/src/weights.rs --template=./templates/module-weight-template.hbs
Pallet: "module_liquid_crowdloan", Extrinsic: "redeem", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Tokens Accounts (r:3 w:3)
Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
Storage: Tokens TotalIssuance (r:1 w:1)
Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
Storage: EvmAccounts EvmAddresses (r:2 w:0)
Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

-- Proof Sizes --

2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    128.9
            µs

Reads = 7
Writes = 5
Recorded proof Size = 2927

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    128.9
            µs

Reads = 7
Writes = 5
Recorded proof Size = 2927

Pallet: "module_liquid_crowdloan", Extrinsic: "transfer_from_crowdloan_vault", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: XcmInterface XcmDestWeightAndFee (r:1 w:0)
Proof Skipped: XcmInterface XcmDestWeightAndFee (max_values: None, max_size: None, mode: Measured)
Storage: ParachainInfo ParachainId (r:1 w:0)
Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainSystem HostConfiguration (r:1 w:0)
Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

-- Proof Sizes --

1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    46.71
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1255

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    46.71
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1255

Created file: "./modules/liquid-crowdloan/src/weights.rs"

@wangjj9219
Copy link
Member

/bench runtime mandala module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Request: /bench runtime mandala module_liquid_crowdloan
Command: make benchmark-mandala options="--quiet --color=never" pallet=module_liquid_crowdloan

Results
cargo run --quiet --color=never --profile production --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark pallet --chain=dev --steps=50 --repeat=20 '--pallet=module_liquid_crowdloan' '--extrinsic=*' --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/mandala/src/weights/
Pallet: "module_liquid_crowdloan", Extrinsic: "redeem", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Tokens Accounts (r:3 w:3)
Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
Storage: Tokens TotalIssuance (r:1 w:1)
Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
Storage: EvmAccounts EvmAddresses (r:2 w:0)
Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

-- Proof Sizes --

2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes
2927 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    88.38
            µs

Reads = 7
Writes = 5
Recorded proof Size = 2927

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    88.38
            µs

Reads = 7
Writes = 5
Recorded proof Size = 2927

Pallet: "module_liquid_crowdloan", Extrinsic: "transfer_from_crowdloan_vault", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: XcmInterface XcmDestWeightAndFee (r:1 w:0)
Proof Skipped: XcmInterface XcmDestWeightAndFee (max_values: None, max_size: None, mode: Measured)
Storage: ParachainInfo ParachainId (r:1 w:0)
Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: ParachainSystem HostConfiguration (r:1 w:0)
Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

-- Proof Sizes --

1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes
1255 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    33.25
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1255

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    33.25
            µs

Reads = 4
Writes = 1
Recorded proof Size = 1255

Created file: "./runtime/mandala/src/weights/module_liquid_crowdloan.rs"

@wangjj9219
Copy link
Member

/bench runtime karura module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Request: /bench runtime karura module_liquid_crowdloan
Command: make benchmark-karura options="--quiet --color=never" pallet=module_liquid_crowdloan

Running...

@wangjj9219
Copy link
Member

/bench runtime acala module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Request: /bench runtime acala module_liquid_crowdloan
Command: make benchmark-acala options="--quiet --color=never" pallet=module_liquid_crowdloan

Running...

@xlc
Copy link
Member Author

xlc commented Jun 2, 2023

/bench runtime acala module_liquid_crowdloan

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Request: /bench runtime acala module_liquid_crowdloan
Command: make benchmark-acala options="--quiet --color=never" pallet=module_liquid_crowdloan

Results
cargo run --quiet --color=never --profile production --features=runtime-benchmarks --features=with-acala-runtime -- benchmark pallet --chain=acala-dev --steps=50 --repeat=20 '--pallet=module_liquid_crowdloan' '--extrinsic=*' --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/acala/src/weights/
Pallet: "module_liquid_crowdloan", Extrinsic: "redeem", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Tokens Accounts (r:3 w:3)
Proof: Tokens Accounts (max_values: None, max_size: Some(147), added: 2622, mode: MaxEncodedLen)
Storage: Tokens TotalIssuance (r:1 w:1)
Proof: Tokens TotalIssuance (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen)
Storage: EvmAccounts EvmAddresses (r:2 w:0)
Proof: EvmAccounts EvmAddresses (max_values: None, max_size: Some(60), added: 2535, mode: MaxEncodedLen)
Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

-- Proof Sizes --

1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes
1883 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    86.78
            µs

Reads = 7
Writes = 5
Recorded proof Size = 1883

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    86.78
            µs

Reads = 7
Writes = 5
Recorded proof Size = 1883

Pallet: "module_liquid_crowdloan", Extrinsic: "transfer_from_crowdloan_vault", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: XcmInterface XcmDestWeightAndFee (r:1 w:0)
Proof Skipped: XcmInterface XcmDestWeightAndFee (max_values: None, max_size: None, mode: Measured)
Storage: ParachainInfo ParachainId (r:1 w:0)
Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: PolkadotXcm SupportedVersion (r:1 w:0)
Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem HostConfiguration (r:1 w:0)
Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

-- Proof Sizes --

1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes
1392 bytes

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    57.45
            µs

Reads = 7
Writes = 2
Recorded proof Size = 1392

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    57.45
            µs

Reads = 7
Writes = 2
Recorded proof Size = 1392

Created file: "./runtime/acala/src/weights/module_liquid_crowdloan.rs"

@xlc xlc merged commit 98ead77 into master Jun 5, 2023
@xlc xlc deleted the liquid-crowdloan branch June 5, 2023 01:53
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

Successfully merging this pull request may close these issues.

Liquid Crowdloan redeem pallet
4 participants