@@ -85,7 +85,7 @@ func createTestEvent(t *testing.T, txBinary string) (cadence.Event, *types.Resul
8585func Test_DecodeEVMTransaction (t * testing.T ) {
8686 cdcEv , _ := createTestEvent (t , evmTxBinary )
8787
88- decTx , _ , _ , err := decodeTransactionEvent (cdcEv )
88+ decTx , _ , _ , err := DecodeTransactionEvent (cdcEv )
8989 require .NoError (t , err )
9090 require .IsType (t , TransactionCall {}, decTx )
9191
@@ -131,7 +131,7 @@ func Test_DecodeEVMTransaction(t *testing.T) {
131131func Test_DecodeDirectCall (t * testing.T ) {
132132 cdcEv , _ := createTestEvent (t , directCallBinary )
133133
134- decTx , _ , _ , err := decodeTransactionEvent (cdcEv )
134+ decTx , _ , _ , err := DecodeTransactionEvent (cdcEv )
135135 require .NoError (t , err )
136136 require .IsType (t , DirectCall {}, decTx )
137137
@@ -179,7 +179,7 @@ func Test_UnmarshalTransaction(t *testing.T) {
179179
180180 cdcEv , _ := createTestEvent (t , evmTxBinary )
181181
182- tx , _ , _ , err := decodeTransactionEvent (cdcEv )
182+ tx , _ , _ , err := DecodeTransactionEvent (cdcEv )
183183 require .NoError (t , err )
184184
185185 encodedTx , err := tx .MarshalBinary ()
@@ -233,7 +233,7 @@ func Test_UnmarshalTransaction(t *testing.T) {
233233
234234 cdcEv , _ := createTestEvent (t , directCallBinary )
235235
236- tx , _ , _ , err := decodeTransactionEvent (cdcEv )
236+ tx , _ , _ , err := DecodeTransactionEvent (cdcEv )
237237 require .NoError (t , err )
238238
239239 encodedTx , err := tx .MarshalBinary ()
@@ -277,7 +277,6 @@ func Test_UnmarshalTransaction(t *testing.T) {
277277 assert .Equal (t , uint64 (0 ), decTx .BlobGas ())
278278 assert .Equal (t , uint64 (61 ), decTx .Size ())
279279 })
280-
281280}
282281
283282func TestValidateTransaction (t * testing.T ) {
@@ -406,11 +405,9 @@ func TestValidateTransaction(t *testing.T) {
406405 }
407406 })
408407 }
409-
410408}
411409
412410func TestValidateConsensusRules (t * testing.T ) {
413-
414411 head := & gethTypes.Header {
415412 Number : big .NewInt (20_182_324 ),
416413 Time : uint64 (time .Now ().Unix ()),
0 commit comments