Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove move object has_public_transfer #3831

Merged
Merged
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
1c90443
refactor(iota-types): Remove has_public_transfer
jkrvivian Oct 31, 2024
ba0bf13
refactor(iota-execution): Remove hash_public_transfer
jkrvivian Oct 31, 2024
1f7cb00
refactor(iota-analytics-indexer): Remove has_public_transfer
jkrvivian Oct 31, 2024
f0d42ee
refactor(iota-indexer): Remove has_public_transfer
jkrvivian Oct 31, 2024
f4ad683
refactor(iota-open-rpc): Remove has_public_transfer
jkrvivian Oct 31, 2024
6fac410
refactor(iota-types): Remove has_public_transfer in move_object_to_sdk
jkrvivian Oct 31, 2024
0538ccb
chores: Format codes
jkrvivian Oct 31, 2024
a85ebc8
refactor: Update iota-sdk2 version in Cargo.toml
jkrvivian Nov 1, 2024
bb5041a
refactor(iota-e2e-tests): Remove has_public_transfer
jkrvivian Nov 1, 2024
a406f09
chores: Update iota-rust-sdk version
jkrvivian Nov 4, 2024
66cc553
fix(iota-types): Remove debug_assert in new_from_execution_with_limit
jkrvivian Nov 4, 2024
a3bf331
chores: Remove outdated comments to has_public_transfer
jkrvivian Nov 4, 2024
a6a82e5
chores: Update snapshots
jkrvivian Nov 4, 2024
d14ed7a
fix(iota-types): Update object size in `object_size_for_gas_metering`
jkrvivian Nov 5, 2024
986aed5
fix(iota-types): Fix expected bytes in `test_object_digest_and_serial…
jkrvivian Nov 5, 2024
8f94c3d
refactor(iota-graphql-rpc): Remove has_public_transfer from IMoveObject
jkrvivian Nov 5, 2024
8af03c3
chores: Update graphql files
jkrvivian Nov 5, 2024
8df694d
chores: Update baselines
jkrvivian Nov 5, 2024
968d7f9
chores: Remove outdated comments
jkrvivian Nov 5, 2024
738a7f7
chores: Update baseline in iota-adapter-transactional-tests
jkrvivian Nov 5, 2024
8e71679
chores: Update baseline in iota-verifier-transactional-tests
jkrvivian Nov 5, 2024
917c250
Merge branch 'develop' of github.com:iotaledger/iota into core-node/f…
muXxer Nov 5, 2024
6f8c4f4
fix(node): remove unused `unsafe` and fix comments
muXxer Nov 5, 2024
59d6651
fix(node): update graphql-e2e expected values
muXxer Nov 5, 2024
f1f5435
fix(node): undo changes to sdk graphql schema
muXxer Nov 5, 2024
2409b18
Merge branch 'develop' of github.com:iotaledger/iota into core-node/f…
muXxer Nov 5, 2024
3badb6f
fix(node): rustfmt
muXxer Nov 5, 2024
73ab7d6
fix(iota-graphql-rpc): update schema test snapshot
kodemartin Nov 6, 2024
346ac87
fix(iota-types): Fix expected value in test_object_digest_and_seriali…
jkrvivian Nov 6, 2024
521d569
chores: Update iota-light-client chk
jkrvivian Nov 6, 2024
4d33a7b
fix(iota-e2e-tests): update snapshot for test_full_node_load_migratio…
miker83z Nov 6, 2024
407a18f
fix(node): update light client checkpoints
muXxer Nov 6, 2024
0678ce4
fix(analytics-indexer): remove `has_public_transfer` from schema
muXxer Nov 6, 2024
b2b9acd
fix(graphql-rpc): remove `has_public_transfer`
muXxer Nov 6, 2024
b62d4e3
fix(adapter): remove outdated comments
muXxer Nov 6, 2024
dc1ab1e
fix(light-client): add `read_test_data` to remove hard coded values i…
muXxer Nov 6, 2024
2fc934f
fix(iota-types): remove outdated comment
muXxer Nov 6, 2024
17fdd5d
fix(transaction-fuzzer): remove `has_public_transfer` from regression…
muXxer Nov 6, 2024
22a6f6d
fix(light-client): rustfmt
muXxer Nov 6, 2024
406a814
fix(light-client): update light client checkpoints
muXxer Nov 6, 2024
c3db206
fix(light-client): use digests from test data instead of hardcoded va…
muXxer Nov 6, 2024
fc1e353
Merge branch 'develop' of github.com:iotaledger/iota into core-node/f…
muXxer Nov 6, 2024
4713e56
fix(light-client): rustfmt
muXxer Nov 6, 2024
0231451
fix(light-client): clippy
muXxer Nov 6, 2024
816a749
feat(scripts): Update iota-cost snapshot
jkrvivian Nov 6, 2024
c8ba384
chores: Update iota-cost snapshot
jkrvivian Nov 6, 2024
407ead4
Merge branch 'develop' of github.com:iotaledger/iota into core-node/f…
muXxer Nov 7, 2024
71130d1
fix(graphql-rpc): remove `hasPublicTransfer` from examples
muXxer Nov 7, 2024
cd109ec
fix(docs): remove `hasPublicTransfer` from docs
muXxer Nov 7, 2024
cc41370
fix(graphql-e2e): remove `hasPublicTransfer` from tests
muXxer Nov 7, 2024
c18d9b9
fix(sdk): remove `hasPublicTransfer`
muXxer Nov 7, 2024
4ea205a
fix(node): update `iota-rust-sdk` commit
muXxer Nov 7, 2024
f6a315e
fix(graphql-e2e): update test baseline
muXxer Nov 7, 2024
3a04a5d
fix(indexer): remove `has_public_transfer` parameter from test
muXxer Nov 7, 2024
1c0232e
fix(indexer): remove unused `unsafe` flag from tests
muXxer Nov 7, 2024
734334c
fix(graphql-e2e): fix event_connection expectations
muXxer Nov 7, 2024
f8ff8c5
fix(ci): increase termination timeout for profile-ci to fix flaky ext…
muXxer Nov 7, 2024
d0a9c92
fix(e2e-tests): update snapshot
muXxer Nov 7, 2024
3409f7b
fix(graphql-e2e-tests): update snapshot
muXxer Nov 7, 2024
c67d3f5
Merge branch 'develop' of github.com:iotaledger/iota into core-node/f…
muXxer Nov 7, 2024
873d818
fix(adapter-transactional-tests): fix indexes in `child_of_child.move…
muXxer Nov 7, 2024
fa43bbb
chore(tx-fuzzer): update regressions files
muXxer Nov 7, 2024
34c1f06
fix(adapter-transactional-tests): fix indexes in `child_of_child.move…
muXxer Nov 7, 2024
73ac17e
fix(fuzzer): fix storage usage constants
muXxer Nov 7, 2024
b54d054
fix(adapter-transactional-tests): fix indexes in tests (stable sort p…
jkrvivian Nov 8, 2024
f304d7a
fix(adapter-transactional-tests): fix indexes in tests (stable sort p…
jkrvivian Nov 8, 2024
e61cd2a
Update iota-sdk2 ref
Thoralf-M Nov 8, 2024
07ab05b
fix(adapter-transactional-tests): Revert removing protocol-version in…
jkrvivian Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ failure-output = "immediate"
status-level = "skip"
# Retry failing tests in order to not block builds on flaky tests
retries = 1
# Timeout tests after 4 minutes
slow-timeout = { period = "60s", terminate-after = 4 }
# Timeout tests after 5 minutes
slow-timeout = { period = "60s", terminate-after = 5 }

[profile.simtestnightly]
# Print out output for failing tests as soon as they fail, and also at the end
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ iota-rosetta = { path = "crates/iota-rosetta" }
iota-rpc-loadgen = { path = "crates/iota-rpc-loadgen" }
iota-sdk = { path = "crates/iota-sdk" }
# core-types with json format for REST API
iota-sdk2 = { package = "iota-rust-sdk", git = "ssh://[email protected]/iotaledger/iota-rust-sdk.git", rev = "dd7b331a5ec62fd5e810051d19f31dff90ea7e3f", features = ["hash", "serde", "schemars"] }
iota-sdk2 = { package = "iota-rust-sdk", git = "ssh://[email protected]/iotaledger/iota-rust-sdk.git", rev = "2fdd75d1f06a6a4dc392f0b9c1e8679a7dc73628", features = ["hash", "serde", "schemars"] }
iota-simulator = { path = "crates/iota-simulator" }
iota-snapshot = { path = "crates/iota-snapshot" }
iota-source-validation = { path = "crates/iota-source-validation" }
Expand Down
5 changes: 4 additions & 1 deletion apps/core/src/utils/isAssetTransferable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
import { IotaObjectData } from '@iota/iota-sdk/client';

export const isAssetTransferable = (obj: IotaObjectData | null | undefined): boolean =>
!!obj && obj.content?.dataType === 'moveObject' && obj.content.hasPublicTransfer;
// TODO: Either the type abilities will be added to 'IotaParsedData' and
// we need to check if the object has the 'store' ability or there will be a new endpoint
valeriyr marked this conversation as resolved.
Show resolved Hide resolved
// that returns the "transferable" status of a MoveType.
!!obj && obj.content?.dataType === 'moveObject'; // && obj.content.hasPublicTransfer;
7 changes: 2 additions & 5 deletions apps/wallet/src/ui/app/pages/home/nft-details/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Collapsible } from '_app/shared/collapse';
import { ExplorerLink, ExplorerLinkType, Loading, NFTDisplayCard, PageTemplate } from '_components';
import { useNFTBasicData, useOwnedNFT } from '_hooks';
import { useUnlockedGuard } from '_src/ui/app/hooks/useUnlockedGuard';
import { useGetKioskContents, useGetNFTMeta } from '@iota/core';
import { isAssetTransferable, useGetKioskContents, useGetNFTMeta } from '@iota/core';
import { formatAddress } from '@iota/iota-sdk/utils';
import cl from 'clsx';
import { Link, Navigate, useNavigate, useSearchParams } from 'react-router-dom';
Expand All @@ -24,10 +24,7 @@ function NFTDetailsPage() {
const nftId = searchParams.get('objectId');
const accountAddress = useActiveAddress();
const { data: objectData, isPending: isNftLoading } = useOwnedNFT(nftId || '', accountAddress);
const isTransferable =
!!objectData &&
objectData.content?.dataType === 'moveObject' &&
objectData.content?.hasPublicTransfer;
const isTransferable = isAssetTransferable(objectData);
const { nftFields, fileExtensionType, filePath } = useNFTBasicData(objectData);
const address = useActiveAddress();
const { data } = useGetKioskContents(address);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ task 1, lines 7-26:
//# publish
created: object(1,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 5570800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5563200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 28:
//# run Test::M1::create --args 0 @A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2302800, storage_rebate: 988000, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2287600, storage_rebate: 980400, non_refundable_storage_fee: 0

task 3, line 30:
//# view-object 2,0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ task 1, lines 10-52:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 7516400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 7508800, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 54:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 56:
//# view-object 2,0
Expand All @@ -31,13 +31,13 @@ task 4, line 58:
//# run test::m::add --sender A --args object(2,0) 1
created: object(4,0), object(4,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 5, line 60:
//# run test::m::remove --sender A --args object(2,0) 1
mutated: object(0,0), object(2,0)
deleted: object(4,0), object(4,1)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 5829200, non_refundable_storage_fee: 0

task 6, lines 62-66:
//# view-object 2,0
Expand All @@ -55,7 +55,7 @@ task 7, line 68:
//# run test::m::mint --sender A
created: object(7,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 988000, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 980400, non_refundable_storage_fee: 0

task 8, line 70:
//# view-object 7,0
Expand All @@ -73,12 +73,12 @@ task 9, line 72:
//# run test::m::add --sender A --args object(7,0) 1
created: object(9,0), object(9,1)
mutated: object(0,0), object(7,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 10, line 74:
//# run test::m::remove_and_add --sender A --args object(7,0) 1
mutated: object(0,0), object(7,0), object(9,0), object(9,1)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 5829200, non_refundable_storage_fee: 0

task 11, lines 76-80:
//# view-object 7,0
Expand All @@ -96,7 +96,7 @@ task 12, line 82:
//# run test::m::mint --sender A
created: object(12,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 988000, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 980400, non_refundable_storage_fee: 0

task 13, line 84:
//# view-object 12,0
Expand All @@ -114,14 +114,14 @@ task 14, line 86:
//# run test::m::add --sender A --args object(12,0) 1
created: object(14,0), object(14,1)
mutated: object(0,0), object(12,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 15, line 88:
//# run test::m::remove_and_wrap --sender A --args object(12,0) 1
created: object(15,0)
mutated: object(0,0), object(12,0), object(14,0)
wrapped: object(14,1)
gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 6072400, storage_rebate: 5829200, non_refundable_storage_fee: 0

task 16, line 90:
//# view-object 12,0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 10-38:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 6513200, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 6505600, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 40:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 42:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 44:
//# view-object 2,0
Expand All @@ -38,4 +38,4 @@ task 5, line 46:
created: object(5,0)
mutated: object(0,0)
wrapped: object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 2439600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2424400, storage_rebate: 2181200, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ task 1, lines 10-32:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 6095200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 34:
//# run test::m::test_wrap --sender A
created: object(2,0), object(2,1), object(2,2)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 6102800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 6072400, storage_rebate: 0, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 10-33:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 6026800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 6019200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 35:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 37:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 39:
//# view-object 2,0
Expand All @@ -37,4 +37,4 @@ task 5, line 41:
//# run test::m::delete --sender A --args object(2,0)
mutated: object(0,0)
deleted: object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 980400, storage_rebate: 2181200, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 10-58:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 7987600, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 7980000, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 59:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 61:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 63:
//# view-object 2,0
Expand All @@ -37,10 +37,10 @@ task 5, line 65:
//# run test::m::remove --sender A --args object(2,0) 0
mutated: object(0,0), object(2,0)
deleted: object(3,0), object(3,1)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 5829200, non_refundable_storage_fee: 0

task 6, line 67:
//# run test::m::delete --sender A --args object(2,0)
mutated: object(0,0)
deleted: object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 980400, storage_rebate: 2181200, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 11-70:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 8382800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 8375200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 72:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 74:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 76:
//# view-object 2,0
Expand All @@ -37,4 +37,4 @@ task 5, line 78:
//# run test::m::remove_and_delete --sender A --args object(2,0) 0
mutated: object(0,0)
deleted: object(2,0), object(3,0), object(3,1)
gas summary: computation_cost: 1000000, storage_cost: 988000, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 980400, storage_rebate: 5829200, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 10-62:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 8458800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 8451200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 64:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 66:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 68:
//# view-object 2,0
Expand All @@ -36,4 +36,4 @@ Contents: test::m::S {
task 5, line 70:
//# run test::m::freeze_object --sender A --args object(2,0)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 2181200, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 10-62:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 8458800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 8451200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 64:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 66:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 68:
//# view-object 2,0
Expand All @@ -37,9 +37,9 @@ task 5, line 70:
//# run test::m::remove --sender A --args object(2,0) 0
mutated: object(0,0), object(2,0)
deleted: object(3,0), object(3,1)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 5829200, non_refundable_storage_fee: 0

task 6, line 72:
//# run test::m::freeze_object --sender A --args object(2,0)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 2181200, non_refundable_storage_fee: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ task 1, lines 11-65:
//# publish
created: object(1,0)
mutated: object(0,2)
gas summary: computation_cost: 1000000, storage_cost: 8610800, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 8603200, storage_rebate: 0, non_refundable_storage_fee: 0

task 2, line 67:
//# run test::m::mint --sender A
created: object(2,0)
mutated: object(0,0)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 0, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 0, non_refundable_storage_fee: 0

task 3, line 69:
//# run test::m::add --sender A --args object(2,0) 0
created: object(3,0), object(3,1)
mutated: object(0,0), object(2,0)
gas summary: computation_cost: 1000000, storage_cost: 5859600, storage_rebate: 2196400, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 5829200, storage_rebate: 2181200, non_refundable_storage_fee: 0

task 4, line 71:
//# view-object 2,0
Expand All @@ -37,4 +37,4 @@ task 5, line 73:
//# run test::m::remove_and_freeze --sender A --args object(2,0) 0
mutated: object(0,0), object(2,0)
deleted: object(3,0), object(3,1)
gas summary: computation_cost: 1000000, storage_cost: 2196400, storage_rebate: 5859600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, storage_cost: 2181200, storage_rebate: 5829200, non_refundable_storage_fee: 0
Loading
Loading