[release/1.3.4] parmas, crypto, core, core/vm: homestead consensus protocol changes
* change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code Conflicts: core/vm/environment.go crypto/crypto.go crypto/secp256k1/secp256.go eth/api.go
This commit is contained in:
committed by
Jeffrey Wilcke
parent
300f1e2abf
commit
61404979ed
@ -120,7 +120,7 @@ func runTransactionTest(txTest TransactionTest) (err error) {
|
||||
return nil
|
||||
} else {
|
||||
// RLP decoding failed but is expected to succeed (test FAIL)
|
||||
return fmt.Errorf("RLP decoding failed when expected to succeed: ", err)
|
||||
return fmt.Errorf("RLP decoding failed when expected to succeed: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
@ -142,7 +142,7 @@ func runTransactionTest(txTest TransactionTest) (err error) {
|
||||
return nil
|
||||
} else {
|
||||
// RLP decoding works and validations pass (test FAIL)
|
||||
return fmt.Errorf("Field validations failed after RLP decoding: ", validationError)
|
||||
return fmt.Errorf("Field validations failed after RLP decoding: %s", validationError)
|
||||
}
|
||||
}
|
||||
return errors.New("Should not happen: verify RLP decoding and field validation")
|
||||
|
Reference in New Issue
Block a user