Skip to content

fix: Improve the typeMap check logic of "gf gen dao"#4410

Merged
hailaz merged 7 commits intomasterfrom
feature/gf_gen_dao_typeMap
Sep 3, 2025
Merged

fix: Improve the typeMap check logic of "gf gen dao"#4410
hailaz merged 7 commits intomasterfrom
feature/gf_gen_dao_typeMap

Conversation

@joy999
Copy link
Contributor

@joy999 joy999 commented Sep 2, 2025

Let it can support such as "Array(UInt256)", "Array(FixedString(25))".
Now we can typeMap as:
"array(uint256)": []big.Int
"array(fixedstring(25))": [25]string
"array(fixedstring)": []string
"array": []any

Now it will first match more precise rules. So it will match array(uint256) and array(fixedstring(25)) first. Then the "array(fixedstring)", the last is "array"

@hailaz hailaz merged commit 2a77d32 into master Sep 3, 2025
27 checks passed
@hailaz hailaz deleted the feature/gf_gen_dao_typeMap branch September 3, 2025 03:16
@hailaz hailaz changed the title Improve the typeMap check logic of "gf gen dao" fix: Improve the typeMap check logic of "gf gen dao" Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants