Skip to content

Commit e915cad

Browse files
[pallet-revive] Remove js examples (#7660)
Remove JS examples, they now belongs to the evm-test-suite repo --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b65c0a3 commit e915cad

Some content is hidden

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

56 files changed

+11
-3332
lines changed

Cargo.lock

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prdoc/pr_7660.prdoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: '[pallet-revive] Remove js examples'
2+
doc:
3+
- audience: Runtime Dev
4+
description: |-
5+
Remove JS examples, they now belongs to the evm-test-suite repo
6+
crates:
7+
- name: pallet-revive-eth-rpc
8+
bump: minor

substrate/frame/revive/rpc/Cargo.toml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,6 @@ path = "src/main.rs"
1717
name = "eth-rpc-tester"
1818
path = "src/eth-rpc-tester.rs"
1919

20-
[[example]]
21-
name = "deploy"
22-
path = "examples/rust/deploy.rs"
23-
24-
[[example]]
25-
name = "transfer"
26-
path = "examples/rust/transfer.rs"
27-
28-
[[example]]
29-
name = "rpc-playground"
30-
path = "examples/rust/rpc-playground.rs"
31-
32-
[[example]]
33-
name = "extrinsic"
34-
path = "examples/rust/extrinsic.rs"
35-
36-
[[example]]
37-
name = "remark-extrinsic"
38-
path = "examples/rust/remark-extrinsic.rs"
39-
4020
[dependencies]
4121
anyhow = { workspace = true }
4222
clap = { workspace = true, features = ["derive", "env"] }
@@ -70,7 +50,6 @@ tokio = { workspace = true, features = ["full"] }
7050

7151
[dev-dependencies]
7252
env_logger = { workspace = true }
73-
ethabi = { version = "18.0.0" }
7453
pretty_assertions = { workspace = true }
7554
static_init = { workspace = true }
7655
substrate-cli-test-utils = { workspace = true }

substrate/frame/revive/rpc/examples/README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,7 @@ RUST_LOG="info,eth-rpc=debug" cargo run -p pallet-revive-eth-rpc --example deplo
4747

4848
## JS examples
4949

50-
Interact with the node using MetaMask & Ether.js, by starting the example web app:
51-
52-
```bash
53-
54-
cd substrate/frame/revive/rpc/examples/js
55-
bun install
56-
bun run dev
57-
```
58-
59-
Alternatively, you can run the example script directly:
60-
61-
```bash
62-
cd substrate/frame/revive/rpc/examples/js
63-
bun src/script.ts
64-
```
50+
JS examples have been moved to the [evm-test-suite](https://github.com/paritytech/evm-test-suite) repository.
6551

6652
### Configure MetaMask
6753

-10.7 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.

substrate/frame/revive/rpc/examples/js/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

substrate/frame/revive/rpc/examples/js/.prettierrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

substrate/frame/revive/rpc/examples/js/.solhint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)