neoneo-go/pkg/core/transaction
Anna Shaleva 9a1075d332 dao: fix transaction application log decoding
Conflict record stub has value of 5 bytes length: 1 byte for
storage.ExecTransaction prefix and 4 bytes for the block index LE. This
scheme was implemented in #3138, and this commit should be a part of
this PR.

Also, transaction.DummyVersion is removed since it's unused anymore.

Close #3426. The reason of `failed to locate application log: EOF` error
during genesis AER request is in the following: genesis executable was
overwritten by conflict record stub produced by transaction
0x289c235dcdab8be7426d05f0fbb5e86c619f81481ea136493fa95deee5dbb7cc (ref.
 #3427). As a consequence, an attempt to decode transaction AER was
initited, but conflict record scheme was changed in #3138.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-16 12:13:41 +03:00
..
attribute.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
attribute_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
attrtype.go native: introduce attribute pricing 2023-11-21 13:42:56 +03:00
attrtype_string.go core: adjust types of NVB, Conflicts and NotaryAssisted attributes 2022-06-01 15:09:06 +03:00
bench_test.go transaction: add benchmark for transaction serialization 2021-08-09 12:01:38 +03:00
conflicts.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
doc.go *: add more package-specific documentation 2021-03-19 16:18:45 +03:00
fuzz_test.go *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
helper_test.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
not_valid_before.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
notary_assisted.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
oracle.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
oracle_test.go *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
oracleresponsecode_string.go oracle: check response Content-Type 2021-07-12 13:13:48 +03:00
reserved.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
signer.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
signer_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
transaction.go dao: fix transaction application log decoding 2024-05-16 12:13:41 +03:00
transaction_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_condition.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_condition_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_rule.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_rule_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witness_scope.go core: do not use formatted error if not needed 2023-07-20 10:33:50 +03:00
witness_scope_string.go *: update Stringers wrt fresh Stringer version 2023-10-19 11:33:07 +03:00
witness_scope_test.go neorpc: adjust SignerWithWitness scopes parsing 2023-07-20 10:33:48 +03:00
witness_test.go *: add Copy() to transaction.Transaction and payload.P2PNotaryRequest 2024-04-28 00:59:15 +05:30
witnessaction_string.go transaction: add new Rules witness scope 2021-11-12 15:29:28 +03:00
witnessconditiontype_string.go *: update Stringers wrt fresh Stringer version 2023-10-19 11:33:07 +03:00