[beta] UI backports (#4855)

* Added React Hot Reload to dapps + TokenDeplpoy fix (#4846)

* Fix method decoding (#4845)

* Fix contract deployment method decoding in Signer

* Linting

* Fix TxViewer when no `to` (contract deployment) (#4847)

* Added React Hot Reload to dapps + TokenDeplpoy fix

* Fixes to the LocalTx dapp

* Don't send the nonce for mined transactions

* Don't encode empty to values for options

* Pull steps from actual available steps (#4848)

* Wait for the value to have changed in the input (#4844)

* Backport Regsirty changes from #4589

* Test fixes for #4589
This commit is contained in:
Jaco Greeff
2017-03-10 14:03:10 +01:00
committed by Arkadiy Paronyan
parent 34e81101d7
commit ab236690df
17 changed files with 266 additions and 61 deletions

View File

@@ -138,6 +138,10 @@ export default class MethodDecodingStore {
return Promise.resolve(result);
}
if (!transaction.to) {
return this.decodeContractCreation(result);
}
let signature;
try {
@@ -206,7 +210,7 @@ export default class MethodDecodingStore {
});
}
decodeContractCreation (data, contractAddress) {
decodeContractCreation (data, contractAddress = '') {
const result = {
...data,
contract: true,