Updated, contract execution in-place

This commit is contained in:
Jaco Greeff
2016-11-18 15:05:02 +01:00
parent bf58aab6a3
commit b433e7e9a0
6 changed files with 26 additions and 15 deletions

View File

@@ -20,8 +20,8 @@ const ERRORS = {
invalidAmount: 'the supplied amount should be a valid positive number',
invalidDecimals: 'the supplied amount exceeds the allowed decimals',
largeAmount: 'the transaction total is higher than the available balance',
gasException: 'the transaction indicates a thrown exception',
gasBlockLimit: 'the transaction will exceed the block gas limit'
gasException: 'the transaction will throw an exception with the current values',
gasBlockLimit: 'the transaction execution will exceed the block gas limit'
};
export default ERRORS;

View File

@@ -157,6 +157,7 @@
border-radius: 0.5em;
background: #f80;
color: white;
font-size: 0.75em;
padding: 0.75em;
text-align: center;
}

View File

@@ -681,7 +681,7 @@ class Transfer extends Component {
}
function mapStateToProps (state) {
const { gasLimit } = state.status;
const { gasLimit } = state.nodeStatus;
return { gasLimit };
}