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

Prepare release for version 0.24.0 with updated specifications and metadata #864

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository = "https://github.com/freeverseio/laos.git"
homepage = "https://www.laosfoundation.io"
authors = ["Freeverse"]
edition = "2021"
version = "0.23.90"
version = "0.24.0"

[workspace]
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/tests/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ParachainStaking from "../build/contracts/ParachainStaking.json";

// Node config
export const RUNTIME_SPEC_NAME = "laos";
export const RUNTIME_SPEC_VERSION = 2390;
export const RUNTIME_SPEC_VERSION = 2400;
export const RUNTIME_IMPL_VERSION = 0;
export const LOCAL_NODE_URL = "http://127.0.0.1:9999";

Expand Down
8 changes: 2 additions & 6 deletions e2e-tests/tests/test-vesting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,13 @@ describeWithExistingNode("Frontier RPC (Vesting)", (context) => {
expect(vesting).to.deep.eq([["700000000000000000000000000", "700000000000000000000000", "0"]]);
});
step("when vesting exists do vest returns ok", async function () {
let nonce = await context.web3.eth.getTransactionCount(ALITH);
contract.options.from = ALITH;
const estimatedGas = await contract.methods.vest().estimateGas();
let result = await contract.methods.vest().send({ from: ALITH, gas: estimatedGas, nonce: nonce++ });
let result = await contract.methods.vest().send({ from: ALITH, gas: estimatedGas });
expect(result.status).to.be.eq(true);
});
step("when vesting exists do vestOther returns ok", async function () {
let nonce = await context.web3.eth.getTransactionCount(FAITH);
contract.options.from = FAITH;
const estimatedGas = await contract.methods.vestOther(ALITH).estimateGas();
let result = await contract.methods.vestOther(ALITH).send({ from: FAITH, gas: estimatedGas, nonce: nonce++ });
let result = await contract.methods.vestOther(ALITH).send({ from: FAITH, gas: estimatedGas });
expect(result.status).to.be.eq(true);
});
});
2 changes: 1 addition & 1 deletion runtime/laos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("laos"),
impl_name: create_runtime_str!("laos"),
authoring_version: 1,
spec_version: 2390,
spec_version: 2400,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down
2 changes: 1 addition & 1 deletion runtime/laos/src/tests/metadata15.golden
Original file line number Diff line number Diff line change
Expand Up @@ -37833,7 +37833,7 @@
0,
0,
0,
86,
96,
9,
0,
0,
Expand Down
Loading