You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to deploy contract built with scarb >= 2.7.0 to sepolia network using recipe from here (kindly provided by @thiagodeev). But all I got was error from the node, stating:
{
"jsonrpc": "2.0",
"id": 3,
"error": {
"code": 60,
"message": "The compiled class hash did not match the one supplied in the transaction"
}
}
As I need this functionality in golang I started digging and realised that library has fallen behind agains the recent casm format, especially it lacks accounting of bytecode_segment_lengths field. That results in incorrect class hash.
The text was updated successfully, but these errors were encountered:
Problem statement:
I'm trying to deploy contract built with
scarb >= 2.7.0
to sepolia network using recipe from here (kindly provided by @thiagodeev). But all I got was error from the node, stating:As I need this functionality in golang I started digging and realised that library has fallen behind agains the recent casm format, especially it lacks accounting of
bytecode_segment_lengths
field. That results in incorrect class hash.The text was updated successfully, but these errors were encountered: