mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Bunch of repotting/curating.
[10:59:28] Vitalik Buterin: block.parent.gas_limit * 1023 / 1024 <= block.gas_limit <= block.parent.gas_limit * 1025/1024
This commit is contained in:
parent
1a31a9aa73
commit
d004f81f3a
@ -23,7 +23,7 @@
|
||||
|
||||
#include <libdevcrypto/TrieCommon.h>
|
||||
#include <libdevcrypto/SHA3.h>
|
||||
#include <libethcore/CommonEth.h>
|
||||
#include <libethcore/Common.h>
|
||||
using namespace std;
|
||||
using namespace dev;
|
||||
using namespace dev::eth;
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <libdevcrypto/TrieCommon.h>
|
||||
#include <libdevcrypto/SHA3.h>
|
||||
#include <libethcore/CommonEth.h>
|
||||
#include <libethcore/Common.h>
|
||||
using namespace std;
|
||||
using namespace dev;
|
||||
using namespace dev::eth;
|
||||
|
@ -42,7 +42,7 @@ BOOST_AUTO_TEST_CASE(jsToAddress)
|
||||
cnote << "Testing jsToPublic...";
|
||||
KeyPair kp = KeyPair::create();
|
||||
string string = toJS(kp.address());
|
||||
Address address = dev::eth::jsToAddress(string);
|
||||
Address address = dev::jsToAddress(string);
|
||||
BOOST_CHECK_EQUAL(kp.address(), address);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user