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
var fs = require('fs'); | |
const createKeccakHash = require('keccak'); | |
var jayson = require('jayson'); | |
var transaction = "0x1066b9764832dc6dc710c3e131ee54c68c1b3f1e21de6b3dc8f97ee68ff3f190"; | |
var client = jayson.client.http({ | |
host: "149.248.8.23", | |
port: 8545, | |
}); | |
function hash(value) { |
This file has been truncated, but you can view the full file.
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
{ | |
failed: false, | |
gas: 95244, | |
returnValue: "", | |
structLogs: [{ | |
depth: 1, | |
gas: 174176, | |
gasCost: 3, | |
memory: [], | |
op: "PUSH1", |
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
var VM = require('./lib'); | |
const SecureTrie = require('merkle-patricia-tree/secure') | |
var Account = require('ethereumjs-account'); | |
const StateManager = require('./lib/stateManager.js'); | |
const utils = require('ethereumjs-util') | |
const rlp = utils.rlp | |
const ethUtil = require('ethereumjs-util') |
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
parity-ethereum master % cargo run --features "evm-debug" | |
Compiling parity-rocksdb-sys v0.5.2 | |
Compiling evm v0.1.0 (file:///Users/masonf/src/parity-ethereum/ethcore/evm) | |
Compiling ethcore-network-devp2p v1.12.0 (file:///Users/masonf/src/parity-ethereum/util/network-devp2p) | |
Compiling parity-whisper v0.1.0 (file:///Users/masonf/src/parity-ethereum/whisper) | |
error[E0423]: expected value, found module `informant` | |
--> ethcore/evm/src/interpreter/mod.rs:277:16 | |
| | |
277 | evm_debug!({ informant.before_instruction(reader.position, instruction, info, &self.gasometer.as_mut().expect(GASOMETER_PROOF).current_gas, &stack) }); | |
| ^^^^^^^^^ help: try: `self.informant` |
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
parity-ethereum mf-add-trace-message % rm -rf ~/Library/Application\ Support/io.parity.ethereum && cargo run -- --no-warp -lmason=trace | |
Finished dev [unoptimized + debuginfo] target(s) in 1.26s | |
Running `target/debug/parity --no-warp -lmason=trace` | |
2018-09-03 19:15:28 main INFO parity_ethereum::run Starting Parity-Ethereum/v2.1.0-unstable-caca3a804-20180831/x86_64-macos/rustc1.28.0 | |
2018-09-03 19:15:28 main INFO parity_ethereum::run Keys path /Users/masonf/Library/Application Support/io.parity.ethereum/keys/Foundation | |
2018-09-03 19:15:28 main INFO parity_ethereum::run DB path /Users/masonf/Library/Application Support/io.parity.ethereum/chains/ethereum/db/906a34e69aec8c0d | |
2018-09-03 19:15:28 main INFO parity_ethereum::run State DB configuration: fast | |
2018-09-03 19:15:28 main INFO parity_ethereum::run Operating mode: active | |
2018-09-03 19:15:28 main INFO ethcore_service::service Configured for Foundation using Ethash engine | |
2018-09-03 19:15:33 IO Worker #1 INFO network Public node URL: enode |
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
#!/bin/bash | |
# | |
# git-nest-with-history -- move/rename file or folder, with history. | |
# | |
# Moving a file in git doesn't track history, so the purpose of this | |
# utility is best explained from the kernel wiki: | |
# | |
# Git has a rename command git mv, but that is just for convenience. | |
# The effect is indistinguishable from removing the file and adding another | |
# with different name and the same content. |
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
Compiling 45 files (.ex) | |
Generated ex_wire app | |
. | |
07:27:00.261 [warn] Message code `0x99` not implemented | |
..... | |
07:27:00.339 [debug] [Network] Sending EIP8 Handshake to 1.2.3.4 | |
. | |
07:27:00.367 [debug] [Network] Received EIP8 Handshake from 1.2.3.4 | |
..................... | |
07:27:00.523 [warn] The on_load function for module libsecp256k1 returned: |
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
$ go get github.com/ethereum/go-ethereum | |
$ cd $GOPATH/src/github.com/ethereum/go-ethereum | |
$ go test tests/state_test.go tests/init_test.go tests/state_test_util.go tests/init.go tests/vm_test_util.go | |
--- FAIL: TestState/stMemoryTest/mem64kb+33.json (0.00s) | |
init_test.go:217: math/big: cannot unmarshal "\"0x20000\"" into a *big.Int in file testdata/GeneralStateTests/stMemoryTest/mem64kb+33.json | |
--- FAIL: TestState/stZeroKnowledge2/ecmul_0-0_9935_21000_128.json (0.00s) | |
init_test.go:217: math/big: cannot unmarshal "\"0x020000\"" into a *big.Int in file testdata/GeneralStateTests/stZeroKnowledge2/ecmul_0-0_9935_21000_128.json | |
--- FAIL: TestState/stZeroKnowledge2/ecadd_1145-3932_1145-4651_21000_192.json (0.00s) | |
init_test.go:217: math/big: cannot unmarshal "\"0x020000\"" into a *big.Int in file testdata/GeneralStateTests/stZeroKnowledge2/ecadd_1145-3932_1145-4651_21000_192.json | |
--- FAIL: TestState/stMemoryTest/mem64kb+32.json (0.00s) |
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
~ % cd tmp | |
tmp % git clone --recursive https://github.com/paritytech/parity | |
Cloning into 'parity'... | |
remote: Counting objects: 126685, done. | |
remote: Compressing objects: 100% (1117/1117), done. | |
remote: Total 126685 (delta 1104), reused 1264 (delta 773), pack-reused 124777 | |
Receiving objects: 100% (126685/126685), 48.49 MiB | 302.00 KiB/s, done. | |
Resolving deltas: 100% (91846/91846), done. | |
Submodule 'ethcore/res/ethereum/tests' (https://github.com/ethereum/tests.git) registered for path 'ethcore/res/ethereum/tests' | |
Submodule 'ethcore/res/wasm-tests' (https://github.com/paritytech/wasm-tests) registered for path 'ethcore/res/wasm-tests' |
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
#![feature(proc_macro)] | |
extern crate mock_derive; | |
#[allow(dead_code)] | |
#[mock] | |
extern "C" { | |
pub fn _read(x: Vec<u8>) -> Vec<u8>; | |
} | |
use mock_derive::mock; | |
extern crate rmp; | |
extern crate rmp_serialize; |