frostfs-contract/tests
Evgenii Stratonikov bab6b619d0 [#42] container: Make GAS costs more predictable in Delete()
Persisting a transaction is done in 2 stages:
1. TestInvoke
2. Sign and send to the network.
3. At some point the tx is persisted.
Some time passes between 1 and 3, this could lead to different GAS
costs. It is a known issue for container delete: different epoch can
have different size in bytes and thus different cost to store.
Here we introduce fixed-length encoding for integers, so that the
problem can be avoided.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-10-24 13:28:10 +03:00
..
testdata [#42] common: Add routines for fixed-width uint64 marshaling 2023-10-24 13:28:10 +03:00
alphabet_test.go Rename package name 2023-03-07 14:06:21 +03:00
balance_test.go [#161] tests: reuse neo-go testing framework 2021-11-15 18:13:24 +03:00
common_test.go [#42] common: Add routines for fixed-width uint64 marshaling 2023-10-24 13:28:10 +03:00
container_test.go [#42] container: Make GAS costs more predictable in Delete() 2023-10-24 13:28:10 +03:00
frostfs_test.go [#7] Remove notary disabled code 2023-03-14 12:09:22 +03:00
frostfsid_test.go tests: Move owner ID calculation to a separate function 2023-08-10 17:13:07 +00:00
helpers.go [#161] tests: reuse neo-go testing framework 2021-11-15 18:13:24 +03:00
netmap_test.go Rename package name 2023-03-07 14:06:21 +03:00
nns_test.go [#1] tests: Update domain email after rebranding 2023-05-17 10:52:10 +03:00
processing_test.go [TrueCloudLab#3] processing: Rename neofs to frostfs 2023-01-11 17:19:35 +03:00
proxy_test.go [#192] proxy: Add proxy contract tests 2021-12-07 11:28:51 +03:00
reputation_test.go [#101] reputation: allow Put in multiple tx per block 2021-11-19 15:23:59 +03:00
util.go [#293] container: Add IterateContainerSizes method 2023-01-16 14:40:21 +03:00
version_test.go Rename package name 2023-03-07 14:06:21 +03:00