jangko
4a188788bd
preparation for EIP-1559 implementation
...
- unify signTx in test_helper and signTransaction in rpc_utils
and put it into transaction.nim
- clean up mess by previous EIP-2930
2021-06-29 07:33:48 +07:00
jangko
2269d16c4c
reintegrate test_rpc back into all_tests
...
for a long time, test_rpc will crash all_tests
if they are combined together. but now it works fine
2021-06-22 08:32:32 +07:00
jangko
3a826b8406
replace all unittest usage with unittest2
...
- test_graphql
- test_rpc
- test_hexstrings
fixes #691
2021-06-21 20:30:01 +07:00
Jamie Lokier
3ba22809f0
Whisper: Remove all Whisper tests and test support
...
Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-06-01 18:12:47 +01:00
jangko
a0d10f5728
drop PublicNetwork enum usage and replace it with NetworkId
...
we cannot limit the `--networkid` switch to values available in
`PublicNetwork` enum. it should able to accept very wide range of
custom NetworkId.
2021-05-20 14:04:16 +07:00
jangko
a2712c5c7a
eip2718: fixes test_rpc.nim
2021-05-15 18:09:36 +07:00
jangko
8486c1834c
fixes #558 , use distinct uint for ChainId and NetworkId to prevent confusion
2021-02-14 11:01:27 +07:00
jangko
f987e86562
implement more eth rpc
2020-07-30 14:21:11 +07:00
jangko
9c38266ba7
implement eth_estimateGas
2020-07-29 12:42:32 +07:00
jangko
c9802edfce
setup block and state env for more complex eth rpc tests
2020-07-28 23:48:45 +07:00
jangko
bb89a296dd
implement eth_signTransaction, eth_sendTransaction, eth_sendRawTransaction, eth_call
2020-07-24 19:44:36 +07:00
jangko
7819dae7ce
implement eth_signTransaction
2020-07-23 22:30:42 +07:00
jangko
f82dff64fa
implement more eth rpc and keystore management
2020-07-23 14:54:32 +07:00
jangko
336efdb0c3
implement web3, net, and some eth namespace rpc
2020-07-22 23:57:55 +07:00
jangko
8efcfd32d8
fix test_rpc: switch state_db to accounts_cache
2020-06-01 20:37:00 +07:00
Jacek Sieka
2763bd0dd5
std_shims -> stew
2019-07-07 12:12:01 +02:00
kdeme
f34d8d71db
Use await instead of waitFor in RPC tests
2019-05-16 22:20:17 +02:00
kdeme
7ab84641d6
Fix, improve and activate rpc test
2019-04-26 13:38:50 +02:00
andri lim
fdc34a4cf6
fixes vmState construction
2019-02-15 17:20:51 +02:00
Yuriy Glukhov
481c6cf4ed
Use nim-eth ( #224 )
2019-02-05 20:15:50 +01:00
Ștefan Talpalaru
7c7260552d
rebase and various fixes
...
- port to new APIs
- added copyright headers
- bumped the copyright interval in modified files
- fixed tests
- reorganised imports
- normalised function names
- deleted some trailing space
- added test_rpc to all_tests
- assert() -> doAssert()
- moved the RPC port in a constant for the test suite
2019-01-06 20:19:48 +01:00
coffeepots
d19a7f7c04
Add simple test for eth_estimateGas
2019-01-06 19:03:35 +01:00
coffeepots
c2fae69318
Add assertion to check for canonical head
2019-01-06 19:03:34 +01:00
coffeepots
b57427e3ee
Add genesis block
2018-11-28 21:57:10 +00:00
coffeepots
3557567a1b
Moch test for eth_call but needs working header fetching
2018-11-26 18:16:58 +00:00
coffeepots
e5551bb3f7
Update memDB/chain use with eth_trie changes
2018-11-13 19:45:34 +00:00
Zahary Karadjov
41adca1abb
Minimal changes required for building the LES branch
2018-10-16 03:10:01 +03:00
coffeepots
4a944398c9
More newMemoryDb updates
2018-09-18 12:18:59 +01:00
Yuriy Glukhov
e3be8ca30a
Separate Chain from ChainDB
2018-08-29 11:49:01 +03:00
coffeepots
d1f283b004
Updated test_rpc to use EthAddressStr
2018-08-13 17:34:54 +01:00
coffeepots
a48e1e96c5
Rename test suite
2018-08-09 13:50:49 +03:00
coffeepots
f3ccd72f91
Remove redundant account creation, already done in mutateStateDb
2018-08-09 13:50:49 +03:00
coffeepots
155457d47f
Basic eth node setup for RPC testing (WIP)
2018-08-09 13:50:49 +03:00
coffeepots
c5514155ee
Add tests for JSON RPC hex strings
2018-08-09 13:50:49 +03:00
coffeepots
79abeafa41
Setup test rpc server, initial call to eth_getBalance
2018-08-09 13:50:49 +03:00