Skip to content

Commit e571f05

Browse files
committed
Add signed custom types
1 parent bd80592 commit e571f05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/go-gen/src/schema.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,15 @@ pub fn custom_type_of(ty: &str) -> Option<&str> {
261261
match ty {
262262
"Uint64" => Some("string"),
263263
"Uint128" => Some("string"),
264+
"Int64" => Some("string"),
265+
"Int128" => Some("string"),
264266
"Binary" => Some("[]byte"),
265267
"HexBinary" => Some("Checksum"),
266268
"Addr" => Some("string"),
267269
"Decimal" => Some("string"),
268270
"Decimal256" => Some("string"),
271+
"SignedDecimal" => Some("string"),
272+
"SignedDecimal256" => Some("string"),
269273
"Timestamp" => Some("uint64"),
270274
_ => None,
271275
}

0 commit comments

Comments
 (0)