GithubHelp home page GithubHelp logo

Comments (8)

ericbutz avatar ericbutz commented on September 26, 2024 1

We are doing other ABI updates for the next version. Included this in the list.

from fio.

0xCasey avatar 0xCasey commented on September 26, 2024

The appropriate type should be uint64. This should not break the contract or cause a table migration post change. @ericbutz might want to move this to 1.1 tasks.

from fio.

cc32d9 avatar cc32d9 commented on September 26, 2024

it breaks the decoding of state history, so data analysis becomes difficult

from fio.

adsorptionenthalpy avatar adsorptionenthalpy commented on September 26, 2024

Performed some local tests, setting new abi had no negative impact operation wise. Can continue to register and read domains from table. Concerns regarding decoding state history remain and needs further discussion.

from fio.

ericbutz avatar ericbutz commented on September 26, 2024

Resolved by #78

from fio.

ericbutz avatar ericbutz commented on September 26, 2024

Updating to uint64 broke the setcode for the system contracts. Need to troubleshoot this. Reopening.

from fio.

adsorptionenthalpy avatar adsorptionenthalpy commented on September 26, 2024

Updates: No issues are apparent when spinning up a new blockchain with these contracts.
When testing in devnet @dapixcasey found changing the domain expiration abi type to 64 can result in domain table read failures from the system contract voting.cpp. uint32_t value appears to be used instead of uint64_t and changing the domain expiration type and setting the abi on a live state would require multiple table migrations.

from fio.

ericbutz avatar ericbutz commented on September 26, 2024

Fixed by: #78
Release: https://github.com/fioprotocol/fio.contracts/releases/tag/v2.1.0
Closing

from fio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.