Skip to content

Commit 08c1937

Browse files
Now?
1 parent 906d09e commit 08c1937

File tree

85 files changed

+141
-265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+141
-265
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl-serde = { version = "0.4.0", default-features = false }
4444
itertools = { version = "0.11", default-features = false }
4545
jsonrpsee = { version = "0.18.0" }
4646
num-traits = { version = "0.2", default-features = false }
47-
parity-scale-codec = { version = "3.4", default-features = false }
47+
scale = { package = "parity-scale-codec", version = "3.4", default-features = false }
4848
paste = { version = "1.0" }
4949
pretty_assertions = { version = "1" }
5050
proc-macro2 = { version = "1" }

crates/e2e/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ readme = "README.md"
1919
funty = { workspace = true }
2020
impl-serde = { workspace = true }
2121
jsonrpsee = { workspace = true, features = ["ws-client"] }
22-
parity-scale-codec = { workspace = true, features = ["derive"] }
22+
scale = { workspace = true, features = ["derive"] }
2323
serde = { workspace = true, features = ["derive"] }
2424
serde_json = { workspace = true }
2525
subxt = { workspace = true }

crates/e2e/src/builders.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use crate::scale;
1615
use ink_env::{
1716
call::{
1817
utils::{

crates/e2e/src/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ use std::{
5050
path::PathBuf,
5151
};
5252

53-
use crate::scale;
5453
use subxt::{
5554
blocks::ExtrinsicEvents,
5655
config::ExtrinsicParams,

crates/e2e/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ use std::{
6161
};
6262
use xts::ContractsApi;
6363

64-
use parity_scale_codec as scale;
65-
6664
pub use subxt::PolkadotConfig;
6765

6866
/// Signer that is used throughout the E2E testing.

crates/e2e/src/xts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use super::{
1919
ContractInstantiateResult,
2020
Signer,
2121
};
22-
use crate::scale;
22+
2323
use ink_env::Environment;
2424

2525
use core::marker::PhantomData;

crates/engine/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ readme = "README.md"
1717

1818
[dependencies]
1919
derive_more = { workspace = true, features = ["from", "display"] }
20-
parity-scale-codec = { workspace = true, features = ["derive"] }
20+
scale = { workspace = true, features = ["derive"] }
2121
sha2 = { workspace = true }
2222
sha3 = { workspace = true }
2323
blake2 = { workspace = true }
@@ -30,6 +30,6 @@ secp256k1 = { workspace = true, features = ["recovery", "global-context"], optio
3030
[features]
3131
default = ["std"]
3232
std = [
33-
"parity-scale-codec/std",
33+
"scale/std",
3434
"secp256k1"
3535
]

crates/engine/src/chain_extension.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
use super::Error;
16-
use crate::scale;
16+
1717
use derive_more::From;
1818
use std::collections::{
1919
hash_map::Entry,

crates/engine/src/database.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use crate::{
16-
scale,
17-
types::Balance,
18-
};
15+
use crate::types::Balance;
1916
use scale::KeyedVec;
2017
use std::collections::HashMap;
2118

crates/engine/src/ext.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use crate::{
2121
chain_extension::ChainExtensionHandler,
2222
database::Database,
2323
exec_context::ExecContext,
24-
scale,
2524
test_api::{
2625
DebugInfo,
2726
EmittedEvent,

0 commit comments

Comments
 (0)