Merge pull request #9 from aeternity/GH-8-update-parity

Update parity to latest version from upstream
This commit is contained in:
Tino Breddin 2019-10-24 10:16:04 +02:00 committed by GitHub
commit c67464c35c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1981 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,6 +1,5 @@
/target
**/*.rs.bk
Cargo.lock
**/*~
/parity-ethereum
/_build

1979
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
base64 = "0.10.1"
c_vec = "1.3.3"
ethcore-builtin = { path = "parity-ethereum/ethcore/builtin" }
ethcore-builtin = { git = "https://github.com/paritytech/parity-ethereum.git", rev = "acf7c48" }
lazy_static = "1.3.0"
libc = "0.2.60"
parity-bytes = "0.1.0"

View File

@ -19,13 +19,10 @@ all: priv/$(nif_lib) compile
compile:
./rebar3 compile
priv/$(nif_lib): src/lib.rs parity-ethereum/
priv/$(nif_lib): src/lib.rs
cargo build --release
cp target/release/$(nif_lib_src) $@
clean:
rm -f priv/$(nif_lib) target/release/$(nif_lib_src)
./rebar3 clean
parity-ethereum/:
git clone https://github.com/aeternity/parity-ethereum.git