Skip to content

Commit d2e57ca

Browse files
authored
Merge pull request #188 from gnoswap-labs/GSW-846-uint256-int256
GSW-846: feat: uint256, int256 instead of bigint
2 parents e8bc360 + 51439a5 commit d2e57ca

File tree

107 files changed

+7780
-3643
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+7780
-3643
lines changed

_test/_TEST_0_INIT_VARIABLE_AND_HELPER_test.gno

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ var (
2525
// wugnotPath string = "gno.land/r/demo/wugnot" // from consts
2626
// gnsPath string = "gno.land/r/demo/gns" // from consts
2727

28-
fee100 uint16 = 100
29-
fee500 uint16 = 500
30-
fee3000 uint16 = 3000
28+
fee100 uint32 = 100
29+
fee500 uint32 = 500
30+
fee3000 uint32 = 3000
3131

32-
max_timeout bigint = 9999999999
32+
max_timeout int64 = 9999999999
3333
)
3434

3535
/* UTIL */
@@ -54,8 +54,6 @@ func tid(tokenId interface{}) grc721.TokenID {
5454
}
5555

5656
switch tokenId.(type) {
57-
case bigint:
58-
return grc721.TokenID(string(tokenId.(bigint)))
5957
case string:
6058
return grc721.TokenID(tokenId.(string))
6159
case int:

0 commit comments

Comments
 (0)