Skip to content

Releases: Wire-Network/wire-sysio

Pre-release wire-sysio v3.1.7

29 Jan 20:00
Compare
Choose a tag to compare
Pre-release

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 just sysio).

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 expanding sysio.roa account name. (fixing reducepolicy 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

14 Jan 18:07
Compare
Choose a tag to compare
Pre-release

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 despite sysio.

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

12 Dec 00:56
Compare
Choose a tag to compare
Pre-release

sysio.roa System Contract

  1. New Native Action (reducepolicy)

  2. 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’s reslimit 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 and buyram from the account creation process.
  3. Policy Enforcement

    • Prevents Node Owners from reducing system-required policies (like sysio or sysio.*); they can only expand them.
  4. Restricted Account Creation

    • Only sysio can invoke newaccount.
  5. 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.
  6. 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.

7. Bios Boot Accommodation (TBD)

  • Modifies the “free resources” condition to accommodate bios boot, toggling post-block 200.