Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch balance primary key already exists when creating a credit batch #1139

Closed
4 tasks
Tracked by #818
ryanchristo opened this issue May 31, 2022 · 0 comments · Fixed by #1144
Closed
4 tasks
Tracked by #818

Batch balance primary key already exists when creating a credit batch #1139

ryanchristo opened this issue May 31, 2022 · 0 comments · Fixed by #1144
Assignees
Labels
Scope: x/ecocredit Issues that update the x/ecocredit module Type: Bug Something isn't working

Comments

@ryanchristo
Copy link
Member

Summary of Bug

Receiving the following error when attempting to create a credit batch using the create-batch command:

raw_log: 'failed to execute message; message index: 0: "regen.ecocredit.v1.BatchBalance":[[214
  219 19 241 212 17 89 86 241 77 88 42 4 118 217 62 92 68 199 92] 2]: object with
  primary key already exists'

Also noticed the CLI example includes project_jurisdiction which is no longer used given we provide project_id.

Version

master

Steps to Reproduce

https://hackmd.io/ptYs6P_YSJS5pzHUPcU9RQ


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@ryanchristo ryanchristo added Type: Bug Something isn't working Scope: x/ecocredit Issues that update the x/ecocredit module labels May 31, 2022
@ryanchristo ryanchristo added this to the v4.0 - Llangorse Upgrade milestone May 31, 2022
@ryanchristo ryanchristo self-assigned this Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: x/ecocredit Issues that update the x/ecocredit module Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant