[BUG] Outdated Contract ABI in Djed Artifacts

Open Beginner friendly
#64 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
javascript, solidity
Domain
blockchain

Research direction

Compare the constructor inputs in DjedABI.json with the constructor in Djed.sol; these are the files named in the issue. Confirm that the ABI includes _rcInitialPrice with the matching parameter details. Done means the ABI reflects the current contract constructor and SDK deployment calls no longer fail with an argument count or parameter mismatch.

Written by the indexing model from the issue text.

Description

Description:
The DjedABI.json stored in the SDK does not match the actual Djed.sol source code. Specifically, the constructor signature is missing the _rcInitialPrice argument.

How to Reproduce:

  1. Compare the inputs array in the DjedABI.json constructor with the constructor in Djed.sol.

Actual Behaviour:
Deployment scripts or SDK interactions using the ABI will fail due to "incorrect number of arguments" or mismatched parameters.

Expected Behaviour:
The ABI should perfectly reflect the current version of the smart contracts.

Location: DjedABI.json

Dominant language
JavaScript
Stars
16
Forks
29
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from StabilityNexus/StablePay

All issues in StabilityNexus/StablePay

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.