casper-network / condor-info

Casper 2.0 technical outreach
Apache License 2.0
3 stars 2 forks source link

[Condor-Release]: Migrated contract from v156 with stored session entry point fails to execute #88

Open davidatwhiletrue opened 1 month ago

davidatwhiletrue commented 1 month ago

Category

Request for Tech Support

Your email address

david.hernando@make.services

Project Name(Optional)

MAKE

Casper Network

Devnet

Priority

Medium

Node Functionality

Execution Engine

Description

We have a contract live on mainnet that contains an entry point with type EntryPointType::Session. We are testing migration from 1.5.6 to Condor. Other entry points seem to work correctly but this one fails with error Invalid context.

On EntryPointType::Caller description I can read: Previously installed 1.x stored session code should continue to work as the binary value matches. Since other methods are working, the binary doesn't seem to be the problem. Could you give any advice for troubleshooting?

Date Issue Began(optional)

25/07/2024

Attachments (optional)

No response

Jiuhong-casperlabs commented 1 month ago

@davidatwhiletrue Are you sending any Wasm to add a new version? We’ve disabled EntryPoint::Session which is why you’re getting that error

davidatwhiletrue commented 1 month ago

I'm not sending any new wasm. The contract is installed on 1.5.6. The entry point can be called normally. Then, I'm upgrading the network to 2.0.0. This entry point cannot be called successfully anymore.