Skip to content

Commit

Permalink
Merge branch 'master' into service-based-architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Jan 24, 2025
2 parents a573f1a + 5e72a78 commit 0db2560
Show file tree
Hide file tree
Showing 860 changed files with 1,959 additions and 1,225 deletions.
5 changes: 5 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ threads-required = "num-test-threads"
filter = 'package(ethexe-observer)'
retries = 5
threads-required = "num-test-threads"

[[profile.ci.overrides]]
filter = 'package(gclient)'
retries = 5
threads-required = "num-test-threads"
1 change: 1 addition & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color
BINARYEN_VERSION: version_111

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ concurrency:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color
BINARYEN_VERSION: version_111

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-win-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ run-name: ${{ inputs.title }} ( ${{ format('#{0}', inputs.number) }} )
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color
BINARYEN_VERSION: version_111

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color
BINARYEN_VERSION: version_111

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
RUST_LIB_BACKTRACE: 1
TERM: xterm-256color

jobs:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@
[submodule "ethexe/contracts/lib/symbiotic-core"]
path = ethexe/contracts/lib/symbiotic-core
url = https://github.com/grishasobol/symbiotic-core
[submodule "ethexe/contracts/lib/frost-secp256k1-evm"]
path = ethexe/contracts/lib/frost-secp256k1-evm
url = https://github.com/StackOverflowExcept1on/frost-secp256k1-evm
2 changes: 1 addition & 1 deletion .maintain/frame-weight-template.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2022-2024 Gear Technologies Inc.
// Copyright (C) 2022-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
10 changes: 6 additions & 4 deletions Cargo.lock

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

9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ region = "3.0.2"
reqwest = { version = "0.12.8", default-features = false }
scale-info = { version = "2.5.0", default-features = false }
serde = { version = "^1", default-features = false }
serde_json = "^1"
serde_json = { version = "1.0.135", default-features = false, features = ["alloc"] }
serde_yaml = "0.8.26"
sha-1 = "0.10.1"
static_init = "1.0.3"
Expand Down Expand Up @@ -287,7 +287,6 @@ pallet-gear-bank = { path = "pallets/gear-bank", default-features = false }
pallet-gear-builtin = { path = "pallets/gear-builtin", default-features = false }
pallet-gear-builtin-rpc = { path = "pallets/gear-builtin/rpc" }
pallet-gear-builtin-rpc-runtime-api = { path = "pallets/gear-builtin/rpc/runtime-api", default-features = false }
runtime-common = { package = "gear-runtime-common", path = "runtime/common", default-features = false }
runtime-primitives = { package = "gear-runtime-primitives", path = "runtime/primitives", default-features = false }
service = { package = "gear-service", path = "node/service", default-features = false }
testing = { package = "gear-node-testing", path = "node/testing" }
Expand Down Expand Up @@ -561,9 +560,6 @@ loom = "0.7.2" # utils/gear-wasmer
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(fuzz)', 'cfg(substrate_runtime)'] }

[profile.dev.package.corosensei]
opt-level = 3

[profile.release]
panic = "unwind"

Expand Down Expand Up @@ -606,3 +602,6 @@ blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "clang-cl-cross

# TODO: remove after https://github.com/pepyakin/wabt-rs/pull/84
wabt = { git = "https://github.com/gear-tech/wabt-rs", branch = "al-win-crt" }

# Attempt to fix UB on windows by increasing precommited stack size to 1 MiB, see https://github.com/gear-tech/gear/issues/4341
corosensei = { git = "https://github.com/gear-tech/corosensei", branch = "rmasl-precommit-1mb-stack-on-windows" }
2 changes: 1 addition & 1 deletion HEADER-GPL3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/codegen/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/interval.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/iterators.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/numerated.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/numerated/src/tree.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2023-2024 Gear Technologies Inc.
// Copyright (C) 2023-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/auxiliary/gas_provider.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/auxiliary/mailbox.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2024 Gear Technologies Inc.
// Copyright (C) 2024-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/auxiliary/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2024 Gear Technologies Inc.
// Copyright (C) 2024-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/auxiliary/task_pool.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2024 Gear Technologies Inc.
// Copyright (C) 2024-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/auxiliary/waitlist.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/benchmarking.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2022-2024 Gear Technologies Inc.
// Copyright (C) 2022-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/code_storage.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2022-2024 Gear Technologies Inc.
// Copyright (C) 2022-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/error.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/internal.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/lockable.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/negative_imbalance.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/node.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/positive_imbalance.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/property_tests/assertions.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/property_tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/property_tests/strategies.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/property_tests/utils.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/gas_provider/reservable.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is part of Gear.

// Copyright (C) 2021-2024 Gear Technologies Inc.
// Copyright (C) 2021-2025 Gear Technologies Inc.
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0

// This program is free software: you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit 0db2560

Please sign in to comment.