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

Recovery of cairo0 hash logic #1470

Merged
merged 14 commits into from
Dec 4, 2023
13 changes: 13 additions & 0 deletions adapters/core2sn/class.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package core2sn

import (
"github.com/NethermindEth/juno/core"
"github.com/NethermindEth/juno/starknet"
)

func AdaptSierraEntryPoint(ep core.SierraEntryPoint) starknet.SierraEntryPoint {
return starknet.SierraEntryPoint{
Index: ep.Index,
Selector: ep.Selector,
}

Check warning on line 12 in adapters/core2sn/class.go

View check run for this annotation

Codecov / codecov/patch

adapters/core2sn/class.go#L8-L12

Added lines #L8 - L12 were not covered by tests
}
Loading
Loading