Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
012b96b
introduce feature flag for fixed base fee
cyberphysic4l Oct 22, 2024
cde1017
target_rewards -> subsidy and computation_reward -> computation_charge
cyberphysic4l Oct 22, 2024
1183df6
Edit feature flag for fixed_based_fee
vekkiokonio Oct 24, 2024
136f9d2
Modified reference_gas_price() based on protocol config
vekkiokonio Oct 24, 2024
ee906cf
Add base_gas_price to AdvanceEpochParams
vekkiokonio Oct 25, 2024
b6c19da
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Nov 4, 2024
f7da081
set fixed_base_fee flag to false in snapshot
cyberphysic4l Nov 4, 2024
8db722a
feat(analytics-indexer): add `computation_cost_burned`
muXxer Nov 11, 2024
f7f6c01
feat(core-node): add `computation_cost_burned` to `ChangeEpoch`
muXxer Nov 11, 2024
824dd92
feat(indexer): add `computation_cost_burned` to checkpoints
muXxer Nov 11, 2024
e2439ee
feat(core-node): add asserts and debug prints for `computation_cost_b…
muXxer Nov 11, 2024
a9b381e
feat(core-node): add `safe_mode_computation_rewards_burned` to system…
muXxer Nov 11, 2024
3f2e043
feat(framework): update framework-snapshot manifest
muXxer Nov 11, 2024
6330fd1
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Nov 12, 2024
db09094
start adding computation_charge_burned to change epoch
cyberphysic4l Nov 13, 2024
fc2ec23
Merge remote-tracking branch 'origin/core-node/feat/add-computation-c…
cyberphysic4l Nov 13, 2024
874df21
implement advance_epoch changes for base fee burning
cyberphysic4l Nov 13, 2024
7c93a95
generate gas cost summary correctly with fixed base fee flag
cyberphysic4l Nov 14, 2024
1a30a81
create IotaSystemStateV2
cyberphysic4l Nov 15, 2024
a6c399a
update to SystemEpochInfoEventV2 with fees and correct burned and minted
cyberphysic4l Nov 20, 2024
f48e24f
update more SystemEpochInfoEventV1 to V2
cyberphysic4l Nov 20, 2024
31ccc42
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Nov 20, 2024
0d6616b
create a v1 of adapter
cyberphysic4l Nov 20, 2024
65ecf33
fixes from valerii review
cyberphysic4l Nov 25, 2024
16d8c52
create v1 cut of adapter using script
cyberphysic4l Nov 25, 2024
115c680
revert snapshot changes
cyberphysic4l Nov 26, 2024
18774de
create v2 framework snapshot
cyberphysic4l Nov 26, 2024
0b8af6f
revert v1 snapshot changes
cyberphysic4l Nov 26, 2024
a653334
fix: the system framework backward compatibility issue fixed and snap…
valeriyr Nov 26, 2024
233f6f0
fix(iota-protocol-config): fixed resolving protocol version for simul…
valeriyr Nov 26, 2024
01c915a
update mock iota systems
cyberphysic4l Nov 26, 2024
c4a4246
add tests for tips to iota-system
cyberphysic4l Nov 28, 2024
ad897c6
format cargo.toml files
cyberphysic4l Nov 28, 2024
f6e3013
rustfmt
cyberphysic4l Nov 28, 2024
9270ed8
clippy lint
cyberphysic4l Nov 28, 2024
ff78bba
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Nov 28, 2024
e10b51a
fix pt_fuzz test
cyberphysic4l Nov 28, 2024
568c3da
remove need for gas_v2 and adapter cut v1
cyberphysic4l Nov 29, 2024
30285b6
Revert "create v1 cut of adapter using script"
cyberphysic4l Nov 29, 2024
f21f897
fix iota-framework
cyberphysic4l Nov 29, 2024
c2d9200
update v2 framework snapshot
cyberphysic4l Nov 29, 2024
141ba70
rust fmt
cyberphysic4l Nov 29, 2024
a822eb2
handle SystemEpochInfoEvents V1 and V2
cyberphysic4l Dec 2, 2024
4e15bd1
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Jan 13, 2025
a26e3bf
adapt for systemepochinfoeventv2
cyberphysic4l Jan 13, 2025
7444ce7
clean up after merging develop
cyberphysic4l Jan 13, 2025
c9c551d
fix reward tests
cyberphysic4l Jan 14, 2025
b5c2edf
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Jan 14, 2025
ff59b00
formatting and max version 4
cyberphysic4l Jan 14, 2025
8e7d545
Minor renaming and formatting
vekkiokonio Jan 14, 2025
f54966d
graphql snapshot and rename validator_target_reward
cyberphysic4l Jan 15, 2025
109a841
revert change of protocol config naming
cyberphysic4l Jan 15, 2025
9ff25dc
target_reward -> subsidy except in protocol config
cyberphysic4l Jan 15, 2025
edd8bbd
remove clippy lint expectation
cyberphysic4l Jan 15, 2025
86b6c2f
revert change to ssh for rust sdk
cyberphysic4l Jan 15, 2025
5770b7d
execution version 1 and protocol version 4
cyberphysic4l Jan 15, 2025
d605bcb
iota framework snapshot
cyberphysic4l Jan 15, 2025
952d016
Merge branch 'core-protocol/procotol-version-3' into protocol/pcr2
cyberphysic4l Jan 15, 2025
b3d5583
revert v1 execution changes
cyberphysic4l Jan 15, 2025
8e765f6
clean framework bytecode snapshot
cyberphysic4l Jan 15, 2025
43f618f
protocol config snapshots
cyberphysic4l Jan 15, 2025
5625d6c
fix some tests
cyberphysic4l Jan 15, 2025
570d28a
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Jan 15, 2025
4f097b7
feat: bump version to 0.10.0-alpha
alexsporn Jan 15, 2025
61a718f
feat: added protocol version 4
alexsporn Jan 15, 2025
bec52d9
feat: updated all e2e tests to use protocol version 4
alexsporn Jan 15, 2025
a807bc9
Merge remote-tracking branch 'origin/core-protocol/procotol-version-4…
cyberphysic4l Jan 15, 2025
52cab77
feat: bump version to 0.10.0-alpha
alexsporn Jan 15, 2025
d7239e9
fix move_package_upgrade_tests
cyberphysic4l Jan 15, 2025
37a8baf
fix pay_iota_tests
cyberphysic4l Jan 15, 2025
e36a0df
fix bridge tests
cyberphysic4l Jan 15, 2025
3dff8ff
Merge branch 'core-protocol/procotol-version-4' into protocol/pcr2
cyberphysic4l Jan 15, 2025
27f812c
update iota-adapter-transactional-tests baseline
cyberphysic4l Jan 16, 2025
bf942d9
update openapi.json
cyberphysic4l Jan 16, 2025
90917a3
update iota-swarm-config snapshot
cyberphysic4l Jan 16, 2025
00a5fb8
Fix checkpoint table
vekkiokonio Jan 16, 2025
d6db345
Update test baselines
vekkiokonio Jan 16, 2025
7dd2a32
fix production upgrade test
cyberphysic4l Jan 16, 2025
76b3704
update basic_read_cmd_snapshot_tests snapshot
cyberphysic4l Jan 16, 2025
05b3cd7
fix safe_mode_reconfig_test
cyberphysic4l Jan 20, 2025
5515ce6
remove unneccesary SystemEpochInfoEvent enum from framework
cyberphysic4l Jan 20, 2025
c83cd54
regenerate light client checkpoints
cyberphysic4l Jan 20, 2025
52daf74
clean snapshot manifest
cyberphysic4l Jan 20, 2025
f8fb0c5
update iota-swarm-config snapshot
cyberphysic4l Jan 20, 2025
2efa5ce
update graphql e2e tests
cyberphysic4l Jan 20, 2025
ad78402
fix protocol version tests
cyberphysic4l Jan 20, 2025
7e4e6a3
create ChangeEpochV2
cyberphysic4l Jan 21, 2025
33972b2
update graphql rpc
cyberphysic4l Jan 21, 2025
417b125
update iota-rust-sdk
cyberphysic4l Jan 22, 2025
52233d6
rust fmt fix
cyberphysic4l Jan 22, 2025
b25e5a9
Revert "regenerate light client checkpoints"
cyberphysic4l Jan 22, 2025
e11ed3e
update openrpc
cyberphysic4l Jan 22, 2025
edee2fc
fix graphql e2e tests
cyberphysic4l Jan 22, 2025
35040ba
update iota-core format
cyberphysic4l Jan 22, 2025
390a45b
update iota-rest-api openapi.json
cyberphysic4l Jan 22, 2025
67e9904
feat: bump version to 0.10.0-alpha
alexsporn Jan 15, 2025
4bb2e64
Merge branch 'core-protocol/procotol-version-4' of github.com:iotaled…
alexsporn Jan 28, 2025
69dda40
use flag for calculating gascostsummary
cyberphysic4l Jan 29, 2025
a02ccda
refactor executiong engine
cyberphysic4l Jan 29, 2025
641fa45
add some move tests for tips
cyberphysic4l Feb 4, 2025
3e3629d
use feature flag instead of protocol version for selecting ChangeEpoc…
cyberphysic4l Feb 4, 2025
bd82e60
Merge branch 'develop' into protocol/pcr2
cyberphysic4l Feb 4, 2025
da71bec
Merge branch 'core-protocol/procotol-version-4' into protocol/pcr2
alexsporn Feb 5, 2025
940a2f6
fmt
cyberphysic4l Feb 5, 2025
4dd05ae
add computation_cost_burned to indexer checkpoint schema
cyberphysic4l Feb 5, 2025
c100adc
Mux review
cyberphysic4l Feb 6, 2025
aef8e1c
update framework snapshot
cyberphysic4l Feb 6, 2025
1867bad
update test baselines
cyberphysic4l Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -414,7 +414,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 = "https://github.com/iotaledger/iota-rust-sdk.git", rev = "2ba6b293bdede769a1d9b4d1aecaede2ff7682dd", features = ["hash", "serde", "schemars"] }
iota-sdk2 = { package = "iota-rust-sdk", git = "https://github.com/iotaledger/iota-rust-sdk.git", rev = "175d28d69a3ff8a4c1b936df5ef5d216672dfd26", 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
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ task 6, lines 47-48:
//# programmable --sender A --inputs object(2,0)@2 0 --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,0)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0

task 7, lines 50-54:
//# programmable --sender A --inputs object(2,0)@3 112 --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
mutated: object(_), object(2,0)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2242000, storage_rebate: 1261600, non_refundable_storage_fee: 0

task 8, lines 56-57:
//# programmable --sender A --inputs object(2,0)@2 112 --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,20 @@ task 8, lines 88-89:
//# programmable --sender A --inputs object(2,3)@2 0 0 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1), Input(2), Input(3))
mutated: object(_), object(2,3)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0

task 9, lines 91-92:
//# programmable --sender A --inputs object(2,3)@3 1 2 vector[3] --dev-inspect
//> test::m::check(Input(0), Input(1), Input(2), Input(3))
mutated: object(_), object(2,3)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0

task 10, lines 94-98:
//# programmable --sender A --inputs object(2,3)@4 1 2 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1), Input(2), Input(3))
// dev-inspect with 'check' and _incorrect_ values
mutated: object(_), object(2,3)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2257200, storage_rebate: 1276800, non_refundable_storage_fee: 0

task 11, lines 100-101:
//# programmable --sender A --inputs object(2,3)@3 0 0 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,20 +199,20 @@ task 8, lines 139-140:
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0

task 9, lines 142-143:
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0

task 10, lines 145-149:
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0

task 11, lines 151-152:
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,20 +199,20 @@ task 8, lines 152-153:
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0

task 9, lines 155-156:
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0

task 10, lines 158-162:
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3891200, storage_rebate: 2910800, non_refundable_storage_fee: 0

task 11, lines 164-165:
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,21 +247,21 @@ task 8, lines 188-189:
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0

task 9, lines 191-192:
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0

task 10, lines 194-199:
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
// Should fail since the field exists but with a different field.
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3952000, storage_rebate: 2971600, non_refundable_storage_fee: 0

task 11, lines 200-203:
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,21 +223,21 @@ task 8, lines 155-156:
//# programmable --sender A --inputs object(2,8)@2 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0

task 9, lines 158-159:
//# programmable --sender A --inputs object(2,8)@3 vector[112] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0

task 10, lines 161-166:
//# programmable --sender A --inputs object(2,8)@4 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
// Should fail since the field exists but with a different field.
mutated: object(_), object(2,8)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 3921600, storage_rebate: 2941200, non_refundable_storage_fee: 0

task 11, lines 167-170:
//# programmable --sender A --inputs object(2,8)@3 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,20 @@ task 8, lines 162-163:
//# programmable --sender A --inputs object(2,9)@2 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,9)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0

task 9, lines 165-166:
//# programmable --sender A --inputs object(2,9)@3 vector[112] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,9)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0

task 10, lines 168-172:
//# programmable --sender A --inputs object(2,9)@4 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
mutated: object(_), object(2,9)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0

task 11, lines 174-175:
//# programmable --sender A --inputs object(2,9)@3 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,21 @@ task 8, lines 241-242:
//# programmable --sender A --inputs object(2,9)@2 vector[0] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,9)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0

task 9, lines 244-245:
//# programmable --sender A --inputs object(2,9)@3 vector[112] --dev-inspect
//> test::m::check(Input(0), Input(1))
mutated: object(_), object(2,9)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0

task 10, lines 247-252:
//# programmable --sender A --inputs object(2,9)@4 vector[] --dev-inspect
//> test::m::check(Input(0), Input(1))
// dev-inspect with 'check' and _incorrect_ values
// Should fail since the field exists but with a different field.
mutated: object(_), object(2,9)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2219200, storage_rebate: 1238800, non_refundable_storage_fee: 0

task 11, lines 253-256:
//# programmable --sender A --inputs object(2,9)@3 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ task 10, lines 86-91:
created: object(10,0)
mutated: object(_), object(2,0)
wrapped: object(6,1)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0

task 11, lines 93-97:
//# programmable --sender P2 --inputs object(2,0)@4 object(6,1)@3 1 --dev-inspect
Expand All @@ -102,7 +102,7 @@ task 11, lines 93-97:
created: object(10,0)
mutated: object(_), object(2,0)
wrapped: object(6,1)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0

task 12, lines 99-103:
//# programmable --sender P2 --inputs object(2,0)@4 object(6,1)@2 1 --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ task 8, lines 80-85:
created: object(8,0)
mutated: object(_), object(2,0)
wrapped: object(4,1)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0

task 9, lines 87-91:
//# programmable --sender P2 --inputs object(2,0)@2 object(4,1)@2 0 --dev-inspect
Expand All @@ -90,7 +90,7 @@ task 9, lines 87-91:
created: object(8,0)
mutated: object(_), object(2,0)
wrapped: object(4,1)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 4104000, storage_rebate: 2401600, non_refundable_storage_fee: 0

task 10, lines 93-97:
//# programmable --sender P2 --inputs object(2,0)@2 object(4,1)@2 1 --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,20 +210,20 @@ task 18, lines 99-100:
//# programmable --sender A --inputs object(2,2)@3 0 0 vector[0] --dev-inspect
//> tto::M1::check(Input(0), Input(1), Input(2), Input(3))
mutated: object(_), object(2,2)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2249600, storage_rebate: 1269200, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2249600, storage_rebate: 1269200, non_refundable_storage_fee: 0

task 19, lines 102-103:
//# programmable --sender A --inputs object(2,2)@4 1 2 vector[3] --dev-inspect
//> tto::M1::check(Input(0), Input(1), Input(2), Input(3))
mutated: object(_), object(2,2)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2249600, storage_rebate: 1269200, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2249600, storage_rebate: 1269200, non_refundable_storage_fee: 0

task 20, lines 105-108:
//# programmable --sender A --inputs object(2,2)@5 1 2 vector[] --dev-inspect
//> tto::M1::check(Input(0), Input(1), Input(2), Input(3))
// dev-inspect with 'check' and _incorrect_ values
mutated: object(_), object(2,2)
gas summary: computation_cost: 500000, computation_cost_burned: 500000, storage_cost: 2249600, storage_rebate: 1269200, non_refundable_storage_fee: 0
gas summary: computation_cost: 1000000, computation_cost_burned: 1000000, storage_cost: 2249600, storage_rebate: 1269200, non_refundable_storage_fee: 0

task 21, lines 110-111:
//# programmable --sender A --inputs object(2,2)@4 0 0 vector[0] --dev-inspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ impl CheckpointHandler {
end_of_epoch: end_of_epoch_data.is_some(),
total_gas_cost,
computation_cost: epoch_rolling_gas_cost_summary.computation_cost,
computation_cost_burned: epoch_rolling_gas_cost_summary.computation_cost_burned,
storage_cost: epoch_rolling_gas_cost_summary.storage_cost,
storage_rebate: epoch_rolling_gas_cost_summary.storage_rebate,
non_refundable_storage_fee: epoch_rolling_gas_cost_summary.non_refundable_storage_fee,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ impl TransactionHandler {
gas_budget: txn_data.gas_budget(),
total_gas_cost: gas_summary.net_gas_usage(),
computation_cost: gas_summary.computation_cost,
computation_cost_burned: gas_summary.computation_cost_burned,
storage_cost: gas_summary.storage_cost,
storage_rebate: gas_summary.storage_rebate,
non_refundable_storage_fee: gas_summary.non_refundable_storage_fee,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CREATE TABLE IF NOT EXISTS chaindata.CHECKPOINT
end_of_epoch BOOL NOT NULL,
total_gas_cost NUMERIC(20, 0) NOT NULL,
computation_cost NUMERIC(20, 0) NOT NULL,
computation_cost_burned NUMERIC(20, 0) NOT NULL,
storage_cost NUMERIC(20, 0) NOT NULL,
storage_rebate NUMERIC(20, 0) NOT NULL,
non_refundable_storage_fee NUMERIC(20, 0) NOT NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ CREATE TABLE IF NOT EXISTS chaindata.TRANSACTION
gas_budget NUMERIC(20, 0) NOT NULL,
total_gas_cost NUMERIC(20, 0) NOT NULL,
computation_cost NUMERIC(20, 0) NOT NULL,
computation_cost_burned NUMERIC(20, 0) NOT NULL,
storage_cost NUMERIC(20, 0) NOT NULL,
storage_rebate NUMERIC(20, 0) NOT NULL,
non_refundable_storage_fee NUMERIC(20, 0) NOT NULL,
Expand Down
Loading
Loading