Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
573bc3e0
Commit
573bc3e0
authored
Apr 22, 2015
by
Gustav Simonsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly skip TransactionTests/tt10mbDataField.json
parent
7254278c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
transaction_test.go
tests/transaction_test.go
+2
-5
transaction_test_util.go
tests/transaction_test_util.go
+1
-1
No files found.
tests/transaction_test.go
View file @
573bc3e0
...
...
@@ -35,11 +35,9 @@ func TestWrongRLPTransactions(t *testing.T) {
}
}
/*
Not working until it's fields are in HEX
//Not working until it's fields are in HEX
func
Test10MBtx
(
t
*
testing
.
T
)
{
t
.
Skip
(
"Skipped in lieu of HEX encoding fix in this file."
)
notWorking
:=
make
(
map
[
string
]
bool
,
100
)
var
err
error
err
=
RunTransactionTests
(
"./files/TransactionTests/tt10mbDataField.json"
,
...
...
@@ -48,4 +46,3 @@ func Test10MBtx(t *testing.T) {
t
.
Fatal
(
err
)
}
}
*/
tests/transaction_test_util.go
View file @
573bc3e0
...
...
@@ -80,7 +80,7 @@ func runTest(txTest TransactionTest) (err error) {
return
nil
}
else
{
// RLP decoding works and validations pass (test FAIL)
return
errors
.
New
(
"Field validations failed after RLP decoding"
)
return
fmt
.
Errorf
(
"Field validations failed after RLP decoding: "
,
validationError
)
}
}
return
errors
.
New
(
"Should not happen: verify RLP decoding and field validation"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment