Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix struct #19

Merged
merged 8 commits into from
Sep 30, 2021
Merged

Fix struct #19

merged 8 commits into from
Sep 30, 2021

Conversation

r1cs
Copy link
Collaborator

@r1cs r1cs commented Sep 30, 2021

No description provided.

abigen/gen.go Outdated
{{toCamelCase .Name}} {{arg .}}{{end}}
Raw *web3.Log
}
//{{.Name}}Event is in struct.go file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

清理掉吧,没必要在这说明。

}
for _, method := range abi.Methods {
self.ExtractFromType(method.Inputs)
//self.GetOutPutStructs(method.Outputs)
self.ExtractFromType(method.Outputs)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补Output的测试。

abigen/gen_test.go Outdated Show resolved Hide resolved
abigen/gen_test.go Outdated Show resolved Hide resolved
@laizy laizy merged commit d962242 into laizy:master Sep 30, 2021
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