Closed varasev closed 6 years ago
We could merge it before because the new code checks whether isMasterOfCeremonyRemoved
method exists in PoaNetworkConsensus
: https://github.com/varasev/poa-dapps-validators/blob/38663f657cb26995ff8aca1946d8ca7f8affd5df/src/contracts/PoaConsensus.contract.js#L21
It has been done to support the current version of PoaNetworkConsensus
. This code has been tested with the current PoaNetworkConsensus
in Sokol
and Core
networks.
@varasev then let's create for Sokol first
@vbaranov i.e., you suggest adding some code to check whether we are in Sokol
in the place where isMasterOfCeremonyRemoved
is called, right?
yes, if it is not a big change, let's apply changes in this PR only when we are in Sokol. Just to be sure, those changes don't break the functionality and then we will extend it to Core as well.
@vbaranov ok.
I've added checking for Sokol network in the code: https://github.com/poanetwork/poa-dapps-validators/pull/62/commits/81a19e2f331c33b32223422c47c5f858c85a1a64
(Mandatory) Description This PR closes small fixes related to https://github.com/poanetwork/poa-dapps-validators/issues/61 and performs
npm update web3
.(Mandatory) What is it: (Fix), (Feature) or (Refactor) (Fix)