Skip to content

Commit

Permalink
fix: stop lowercasing struct field names
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Nov 29, 2023
1 parent afb1b12 commit 82f4101
Show file tree
Hide file tree
Showing 8 changed files with 1,362 additions and 1,362 deletions.
2 changes: 1 addition & 1 deletion src/commands/contract/structs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function generateField(
namespace: string | undefined,
abi: ABI.Def
): ts.PropertyDeclaration {
const fieldName = field.name.toLowerCase()
const fieldName = field.name

const isArray = field.type.endsWith('[]')

Expand Down
Loading

0 comments on commit 82f4101

Please sign in to comment.