Skip to content

Commit

Permalink
refactor/feat:(iota-indexer, iota-types, iota-json-rpc-types): remove…
Browse files Browse the repository at this point in the history
… storage_fund_reinvestment mentions from code base (#996)

* refactor/feat:(iota-indexer, iota-types, iota-json-rpc-types): 
remove storage_fund_reinvestment mentions from code base (Rust, Move parts)
add new migration to remove reinvestment column
  • Loading branch information
Dkwcs authored Jul 25, 2024
1 parent 62dce1f commit 468ef8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -635,13 +635,6 @@ total_stake: u64</code>
</dt>
<dd>

</dd>
<dt>
<code>
storage_fund_reinvestment: u64</code>
</dt>
<dd>

</dd>
<dt>
<code>
Expand Down Expand Up @@ -2389,8 +2382,6 @@ or smaller than the computation reward.
reference_gas_price: self.reference_gas_price,
total_stake: new_total_stake,
storage_charge: storage_charge_value,
// TODO: remove(obsolete)
storage_fund_reinvestment: 0,
storage_rebate: storage_rebate_amount,
storage_fund_balance: self.<Link to="storage_fund#0x3_storage_fund">storage_fund</Link>.total_balance(),
// TODO: remove(obsolete)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ module iota_system::iota_system_state_inner {
protocol_version: u64,
reference_gas_price: u64,
total_stake: u64,
storage_fund_reinvestment: u64,
storage_charge: u64,
storage_rebate: u64,
storage_fund_balance: u64,
Expand Down Expand Up @@ -932,8 +931,6 @@ module iota_system::iota_system_state_inner {
reference_gas_price: self.reference_gas_price,
total_stake: new_total_stake,
storage_charge: storage_charge_value,
// TODO: remove(obsolete)
storage_fund_reinvestment: 0,
storage_rebate: storage_rebate_amount,
storage_fund_balance: self.storage_fund.total_balance(),
// TODO: remove(obsolete)
Expand Down

0 comments on commit 468ef8a

Please sign in to comment.