ethereum / casper

Casper contract, and related software and tests
The Unlicense
687 stars 175 forks source link

Port validator_service.py to web3.py #48

Open djrtwo opened 6 years ago

djrtwo commented 6 years ago

Due to the pending deprecation of the pethereum/pyethapp stack, I propose porting existing validator_service.py functionality to use web3.py. Not only is web3.py well-featured and actively developed, web3.py can plug into any client that conforms to the standard json-rpc interface. This is particularly exciting because a web3.py validator_service will be able to plug into any of the major clients (yay code reuse).

Proposed Implementation

I haven't fully spec'd this out yet, but it should be a natural translation from pyethapp to web3.py. More details to follow.

ChihChengLiang commented 6 years ago

Note that other clients still need to implement features such as:

specified in the spec

djrtwo commented 6 years ago

Absolutely. In the issue, I should note that this is for when other clients implement the casper spec.

djrtwo commented 6 years ago

decimal10 support in web3.py is currently a blocker https://github.com/ethereum/web3.py/issues/700

pipermerriam commented 6 years ago

Someone can start on decimal10 abi support now. The implementation should be done in eth-abi and should be reasonably straight forward to do if you dig in and look at how the current encoders/decoders are written.

djrtwo commented 6 years ago

eth-abi library is waiting on decision to be made on whether vyper is going to keep decimal10 or just move to support fixedNxM

https://github.com/ethereum/vyper/issues/566