Skip to content

Commit

Permalink
Recovery of cairo0 hash logic (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirugan authored Dec 4, 2023
1 parent 8c47775 commit e1125b6
Show file tree
Hide file tree
Showing 13 changed files with 38,446 additions and 38,412 deletions.
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,
}
}
Loading

0 comments on commit e1125b6

Please sign in to comment.