Make container.Delete() GAS cost more predictable #42

Merged
fyrchik merged 3 commits from fyrchik/frostfs-contract:fixed-marshal into support/v0.18 2023-10-05 14:39:42 +00:00

Close #41.

Another way to fix this is to transform an integer by adding high bit.
We avoid additional struct delInfo, but there are 2 problems:

  1. Transformation is clumsy, because we work with big integers and Go compiler (not neo-go) can complain.
  2. Some big numbers can fail to be encoded, this is a bad API.
Close #41. Another way to fix this is to transform an integer by adding high bit. We avoid additional struct `delInfo`, but there are 2 problems: 1. Transformation is clumsy, because we work with big integers and Go compiler (not neo-go) can complain. 2. Some big numbers can fail to be encoded, this is a bad API.
fyrchik force-pushed fixed-marshal from 49df7b3c50 to 851c31d9b3 2023-10-05 12:09:52 +00:00 Compare
fyrchik requested review from storage-core-committers 2023-10-05 12:10:09 +00:00
fyrchik requested review from storage-core-developers 2023-10-05 12:10:09 +00:00
fyrchik requested review from storage-services-committers 2023-10-05 12:10:11 +00:00
fyrchik requested review from storage-services-developers 2023-10-05 12:10:11 +00:00
fyrchik force-pushed fixed-marshal from 851c31d9b3 to ab18177e45 2023-10-05 12:10:17 +00:00 Compare
fyrchik changed title from Make container.Delete() GAS cost more predictable to Make container.Delete() GAS cost more predictable 2023-10-05 12:13:27 +00:00
fyrchik changed target branch from master to support/v0.18 2023-10-05 12:13:28 +00:00
JuliaKovshova approved these changes 2023-10-05 12:13:55 +00:00
dstepanov-yadro approved these changes 2023-10-05 12:15:09 +00:00
fyrchik force-pushed fixed-marshal from ab18177e45 to 6212b5bf72 2023-10-05 12:50:54 +00:00 Compare
alexvanin approved these changes 2023-10-05 12:54:17 +00:00
acid-ant approved these changes 2023-10-05 13:19:40 +00:00
fyrchik merged commit 6212b5bf72 into support/v0.18 2023-10-05 14:39:42 +00:00
fyrchik deleted branch fixed-marshal 2023-10-05 14:39:44 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-developers
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-contract#42
There is no content yet.