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

lock_status field missing in ContractPackage #268

Closed
meywood opened this issue Apr 24, 2024 · 0 comments · Fixed by #271
Closed

lock_status field missing in ContractPackage #268

meywood opened this issue Apr 24, 2024 · 0 comments · Fixed by #271
Assignees

Comments

@meywood
Copy link
Collaborator

meywood commented Apr 24, 2024

Following exception thrown when obtaining a contract package:

java.lang.reflect.UndeclaredThrowableException
	at com.sun.proxy.$Proxy25.getStateItem(Unknown Source)
	at com.stormeye.steps.WasmStepDefinitions.theVersionUrefSDictionaryItemValueIs(WasmStepDefinitions.java:446)
	at ✽.the version dictionary item value is 1(file:///Users/imills/casper/terminus-java-tests/src/test/resources/features/wasm.feature:23)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "lock_status" (class com.casper.sdk.model.contract.ContractPackage), not marked as ignorable (4 known properties: "versions", "access_key", "disabled_versions", "groups"])
 at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.casper.sdk.model.storedvalue.StoredValueData["stored_value"]->com.casper.sdk.model.storedvalue.StoredValueContractPackage["ContractPackage"]->com.casper.sdk.model.contract.ContractPackage["lock_status"])
	at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
@meywood meywood self-assigned this Apr 24, 2024
cnorburn added a commit that referenced this issue Apr 25, 2024
issues/268 - Added missing lock_status field to ContractPackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant