-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(subxt-tests): integration test for substrate using subxt
Signed-off-by: Raymond Yeh <extraymond@gmail.com>
- Loading branch information
1 parent
5c32df0
commit ea9c7d4
Showing
40 changed files
with
5,912 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pragma solidity ^0.8.0; | ||
import "./UniswapV2Pair.sol"; | ||
|
||
contract Creator { | ||
address public pair; | ||
|
||
constructor() public { | ||
pair = address(new UniswapV2Pair()); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
contracts/ | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
edition = "2021" | ||
name = "subxt-tests" | ||
version = "0.1.0" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
anyhow = "1.0.62" | ||
async-trait = "0.1.57" | ||
contract-metadata = "2.0.0-alpha.2" | ||
contract-transcode = "2.0.0-alpha.2" | ||
hex = "0.4.3" | ||
ink_metadata = "4.0.0-alpha.1" | ||
jsonschema = "0.16.0" | ||
num-bigint = "0.4.3" | ||
once_cell = "1.14.0" | ||
pallet-contracts-primitives = {git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27"} | ||
parity-scale-codec = "3.1.5" | ||
rand = "0.8.5" | ||
serde_json = "1.0.85" | ||
sp-core = "6.0.0" | ||
sp-keyring = "6.0.0" | ||
subxt = "0.23.0" | ||
tokio = {version = "1.20.1", features = ["rt-multi-thread", "macros", "time"]} | ||
|
||
[workspace] | ||
members = [] | ||
|
||
[patch.crates-io] | ||
ink_metadata = {git = "https://github.com/paritytech/ink.git"} | ||
|
Oops, something went wrong.