ProvableHQ / sdk

A Software Development Kit (SDK) for Zero-Knowledge Transactions
https://provable.tools
GNU General Public License v3.0
584 stars 468 forks source link

[Update] Update SDK methods to support latest `credits.aleo` method signatures #891

Closed iamalwaysuncomfortable closed 2 months ago

iamalwaysuncomfortable commented 2 months ago

Motivation

The latest SnarkVM revision published on the AleoNet/SnarkVM repo (rev: d170a9f) has updated the credits.aleo program to support ARC-41.

This PR updates the Aleo-wasm snarkVM rev to d170a9f and updates all method signatures in the SDK to match the latest method signatures in credits.aleo, it also adds the bond_validator and transfer_public_as_signer methods to the SDK's api.

The work in this PR is meant to represent a release candidate for the SDK that is updated to work with the currently released Aleo Testnet.

Test Plan

All unit tests are now updated to reflect the latest changes.

Related PRs

The work in this PR is a continuation of the work done in #884.