Releases: Wire-Network/wire-sysio
Releases · Wire-Network/wire-sysio
Pre-release wire-sysio v3.1.7
wire-sysio v3.1.7
Changes Carried Over from v3.1.6-rc2
Newaccount Logic
- No longer defaults system accounts to 0 NET/CPU/RAM; reverts to infinite CPU/NET for these accounts.
newaccount
can now be called by any privileged account (not justsysio
).
Resource Charging Bug Fix
- Resolves transaction rejections when the contract had resources but the authorizer did not.
Removed “Bios Boot Accommodation”
- 200 block window of "Free resources" is no longer present.
New in v3.1.7
Macro Expansion
- Manually expanded
APP_HANDLER
macro due to issues expandingsysio.roa
account name. (fixingreducepolicy
invocation issue)
Others
- Refined ROA table definitions in
sysio_roa_objects
. - Adapted lower-level database calls for reading/writing to WASM contract tables( fixing
reducepolicy
serialization errors)
Pre-release wire-sysio v3.1.6-rc-2
Bug Fixes
Changed newaccount
logic
- It no longer defaults system accounts to 0 NET / CPU / RAM, it follows its original flow giving them infinite CPU / NET.
newaccount
action now can be called by all privileged accounts despitesysio
.
Removed 7. Bios Boot Accommodation from v3.1.6-rc1
- 200 block window of "Free resources" is no longer present.
Resource charging bug:
- Context: It was rejecting transactions because authorizer didn't have resources even though the contract did. - Temporarily fixed early resource checks in
init()
.
Pre-release wire-sysio v3.1.6-rc-1
sysio.roa
System Contract
-
New Native Action (
reducepolicy
) -
Resource Management Overhaul
- resources are only issued by policies, which are in turn issued by Node Owners
- Replaces the old
userres
approach with sysio.roa’sreslimit
table for resource usage tracking. - RAM usage is tracked during execution and charged at finalize
- Ensures
sysio
pays for account creation resources, and accounts start with zero resources. - Removes
delegatebw
andbuyram
from the account creation process.
-
Policy Enforcement
- Prevents Node Owners from reducing system-required policies (like
sysio
orsysio.*
); they can only expand them.
- Prevents Node Owners from reducing system-required policies (like
-
Restricted Account Creation
- Only
sysio
can invokenewaccount
.
- Only
-
Finalization Logic
- New resource charging logic: first, it will try to charge the contract, and if it doesn't have enough resources, it attempts to charge the authorizer. Rejecting only if neither account has the resources.
-
Integration with Chain Plugin and Tooling
- Updates
chain_plugin
to reflect sysio.roa resource usage. - Adjusts
clio get account
to correctly report resource usage, including unlimited CPU/NET scenarios.
- Updates
7. Bios Boot Accommodation (TBD)
- Modifies the “free resources” condition to accommodate bios boot, toggling post-block 200.