Tests fail after recent changes in laconicd #8
Closed
opened 2022-12-01 13:07:20 +00:00 by nikugogoi
·
10 comments
No Branch/Tag Specified
main
roy/graphql-to-ipld
roy/tests-cleanup
roy/rm-hardcoded-records
murali/record-types
ng-eth-tx
feature_test_record_types
bugfix/insufficient_funds
dboreham/test-new-node
release-v0.1.6
auction_nameservice_tests
readme_quick
jest_timeout
run_tests_github_action
murali/fix-tests
fix_tests
murali/proto-gen
dboreham/is-url-is-broken
dboreham/npm-publish-fixes
release-v0.1.4
release-v0.1.3
release-v0.1.2
release-v0.1.1
release-v0.1.0
dboreham/repo-rename
dboreham/doc-fixes
dboreham/release
dboreham/fix-dependency-versions
ng-send-tokens
v0.1.16
v0.1.15
v0.1.14
v0.1.13
v0.1.12
v0.1.11
v0.1.10
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Labels
Clear labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Further information is requested
This will not be worked on
An issue or PR manually copied from GitHub.
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/laconic-sdk#8
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Test suite in
laconic-sdkfails when running laconicd with changes in https://github.com/cerc-io/laconicd/pull/40Error
Full failing test-suite output
Is this due to a bug in the new laconicd code, or were the tests not originally correct?
The tests all pass prior to PR 40 landing.
Should there be a bug filed in the laconicd project? (or should this bug have been filed there?)
One of the tests on laconic-sdk which is failing now is sendning funds from one account to other (get balance test). I tried to do the same on laconicd directly which worked fine.
Also in the PR #40 we upgraded to cosmos-sdk v0.46.3 from v0.46.2. Could this be the reason why laconic-sdk is failing to complete transactions?
Just to be sure this is the error being returned for every failing test right?
signature verification failed; please verify account number (0) and chain-id (ethermint_9000-1): feePayer pubkey EthPubKeySecp256k1{0233C41D160405A0E97DB0D18B9B26F7DBD21014300CC3B92357FF663F6880ADCF} is different from transaction pubkey EthPubKeySecp256k1{021DE395EE8B253EE9921F44F3638E3D19143ED9E7CEFBCC5293384425F1B1C34E}: invalid pubkey [cerc-io/laconicd/app/ante/eip712.go:251]: unauthorizedI don't see that error in the linked test output, just seeing a bunch of
The error trace doesn't seem to suggest an issue with the code implemented in laconicd, but rather some incompatability between laconic-sdk and the new v0.46.3 version of the cosmos-sdk being used as a dependency in laconicd. But, as Murali pointed out elsewhere, the upgrade was only from v0.46.2 => v0.46.3 and really shouldn't include breaking changes.
When I run the tests locally I see both kinds of errors
@nikugogoi I am not able to recreate the error log mentioned in the issue. Im gettting a bunch of
signature verification failederrors. Could you help me recreate this?@0xmuralik the
signature verification failederrors must be because of the mismatch in chain ID. The chain ID inlaconicdand the chain ID inlaconic-sdk(which can be set asCOSMOS_CHAIN_IDin.envfile) must be same.Previously, the chain ID in laconicd was
laconic_9000-1.On running the test now against latest laconicd I am getting a different error
unable to resolve type URL /vulcanize.nameservice.v1beta1.MsgSetRecord: tx parse errorFull failing test-suite output