aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test_util.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-11-27 22:40:29 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-18 17:08:11 +0800
commit371871d685d54b916aef28de689d6f0af7822083 (patch)
treee704b02ba2ffd2d1164001885fba15106b0f7d94 /tests/transaction_test_util.go
parentaa36a6ae4f24f07e2c470a21c93ff37ad5861982 (diff)
downloaddexon-371871d685d54b916aef28de689d6f0af7822083.tar
dexon-371871d685d54b916aef28de689d6f0af7822083.tar.gz
dexon-371871d685d54b916aef28de689d6f0af7822083.tar.bz2
dexon-371871d685d54b916aef28de689d6f0af7822083.tar.lz
dexon-371871d685d54b916aef28de689d6f0af7822083.tar.xz
dexon-371871d685d54b916aef28de689d6f0af7822083.tar.zst
dexon-371871d685d54b916aef28de689d6f0af7822083.zip
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
Diffstat (limited to 'tests/transaction_test_util.go')
-rw-r--r--tests/transaction_test_util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go
index 09511acb7..6f9840523 100644
--- a/tests/transaction_test_util.go
+++ b/tests/transaction_test_util.go
@@ -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")