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

feat(ecocredit): add tx origin duplication check to CreateBatch and MintBatchCredits #1112

Merged
merged 9 commits into from
May 23, 2022
Prev Previous commit
Next Next commit
Update x/ecocredit/server/core/create_batch_test.go
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
  • Loading branch information
aleem1314 and ryanchristo authored May 23, 2022
commit 022ee3391bc2583afde99ab3cc07b062c8a5380b
2 changes: 1 addition & 1 deletion x/ecocredit/server/core/create_batch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func TestCreateBatch_WithOriginTx_Valid(t *testing.T) {
assert.NilError(t, err)
}

func TestCreateBatch_WithOriginTx_InValid(t *testing.T) {
func TestCreateBatch_WithOriginTx_Invalid(t *testing.T) {
t.Parallel()
s := setupBase(t)
batchTestSetup(t, s.ctx, s.stateStore, s.addr)
Expand Down