Skip to content

Commit

Permalink
feat(dialect): added some types for check_sig
Browse files Browse the repository at this point in the history
  • Loading branch information
woxjro committed Oct 6, 2024
1 parent eb7e132 commit 7f59951
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mlir/dialect/irdl/michelson.irdl.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ module {
///////////////////////////////
irdl.type @address {}

irdl.type @bool {}

irdl.type @bytes {}

irdl.type @key {}

irdl.type @signature {}

irdl.type @string {}

irdl.type @mutez {}

irdl.type @int {}
Expand Down Expand Up @@ -113,6 +121,16 @@ module {
irdl.results(%res)
}

irdl.operation @check_signature {
%key = irdl.any
%signature = irdl.any
%bytes = irdl.any
%res = irdl.any

irdl.operands(%key, %signature, %bytes)
irdl.results(%res)
}

irdl.operation @sha256 {
%byt = irdl.any
%res = irdl.any
Expand Down

0 comments on commit 7f59951

Please sign in to comment.