-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement scale-info for all primitive types
- Loading branch information
Showing
15 changed files
with
805 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,28 @@ | ||
[package] | ||
name = "playground" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/analog-labs/chain-connectors" | ||
description = "Ethereum integration tests." | ||
|
||
[features] | ||
default = ["sputnik-vm"] | ||
sputnik-vm = ["rosetta-ethereum-executor/sputnik-evm"] | ||
rust-vm = ["rosetta-ethereum-executor/rust-evm"] | ||
|
||
[dependencies] | ||
async-trait = "0.1" | ||
ethers-solc = { version = "2.0", features = ["async", "project-util"] } | ||
eyre = "0.6" | ||
hex-literal = "0.4" | ||
inkwell = { version = "0.2.0", features = ["target-webassembly", "no-libffi-linking", "llvm15-0"] } | ||
jsonrpsee = { version = "0.20", default-features = false, features = ["macros", "client"] } | ||
rosetta-ethereum-executor = { workspace = true, features = ["jsonrpsee"] } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
thiserror = "1.0" | ||
tokio = { version = "1.32", features = ["rt-multi-thread", "macros"] } | ||
tracing = "0.1" | ||
tracing-subscriber = { version = "0.3", features = ["tracing-log", "parking_lot"] } | ||
url = "2.4.0" |
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,15 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
pragma solidity >=0.5.0 <0.9.0; | ||
|
||
contract Example { | ||
uint256 private _value; | ||
|
||
function value() public view returns (uint256) { | ||
return _value; | ||
} | ||
|
||
function setValue(uint256 newValue) public { | ||
_value = newValue; | ||
} | ||
} |
Oops, something went wrong.