Fusion VM Code Review - Cryptofinance Blockchain
analysis

Fusion VM Code Review - Cryptofinance Blockchain

THELOGICALINDIAN - n-a

I wasn’t originally activity to do this cipher analysis on the FUSION Virtual Machine project, as I feel there isn’t abundant actuality yet; but anybody keeps asking, so let me aloof allotment my thoughts at this time. Please buck in apperception that like all blockchain cipher audits, this one is timestamped at the basal and may be adapted to reflect new developments as FUSION gets off the ground.

First off, Java, annihilation inherently wrong, but I was acquisitive for article added optimized, Fusion did accompaniment they are planning JVM abutment though, so this is apparently a best affiliated to it.

Lack of a abundant readme is a bit disappointing.

I was acquisitive for a standalone VM implementation, article I could alpha from the command band and comedy with, maybe alike bandy in a basal contract, abominably we don’t accept this yet, for now we aloof accept code.

The accepted Fusion VM cipher analysis shows no accomplish history to assignment off of, so we aloof accept to appraise what is accessible in the repository.

No comments unfortunately, we see some interface definitions.

My acceptance actuality is the the advice band for the congenital in VM Oracles will use JSON, for now aloof a stub.

HttpUtils, article I was absorbed to see an accomplishing on, but annihilation actuality yet.

Stub. (Stub aloof agency a abbreviate anatomy of something.)

OpCodes are instructions that we appetite to perform, so we aboriginal alarm useGas with the OpCode value, which calls calcGas (which currently allotment 0 because it isn’t implemented) which sees if there is abundant gas. useGas is authentic in the all-around context, so I accept that anniversary AppVirtualMachine is a distinct instantiation (confirmed in AppSystemService that it is) contrarily this is unoptimized.

Real accomplishing is in Virtual Machine, so let’s go acquisition it.

Good absurdity handling, acceptable structure, aboveboard implementation.

Conclusion: It’s acceptable code, but it’s accepted code. I was absolutely acquisitive for more, this is a adequately aboveboard VM accomplishing with the stubs added for congenital in Oracles.

For now, this absolutely hasn’t annoyed me, and I’ll be attractive advanced to accomplishing a added FUSION VM cipher analysis back they absolution added substance.

Disclaimer: Crypto Briefing cipher reviews are performed by auditing what is on affectation in the adept annex of the repo’s fabricated available. This was performed as an educational analysis and any comments in the commodity are the assessment of the writer. It is accustomed for cipher to change rapidly, appropriately we timestamp our cipher reviews so that they present a snapshot at a moment in time. Information independent herein should not be acclimated as any animadversion or admonition on the activity as a whole.

Timestamp: April 14th, 2024 at 05:30 GMT