Skip to content

Commit

Permalink
format value field to match bignumber formatting in params
Browse files Browse the repository at this point in the history
  • Loading branch information
zoeyTM committed Nov 22, 2024
1 parent 25284d0 commit bca332d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function calculateListTransactionsDisplay(
}

if (transaction.value !== undefined) {
text += ` - Value: ${transaction.value}\n`;
text += ` - Value: '${transaction.value}n'\n`;
}

text += "\n";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Transaction 1:
- Name: BasicContract
- Address: 0x74e720c9B362ae3A65fF356ad62866511486BBBc
- Params: ['42n']
- Value: 10
- Value: '10n'
`;

Expand Down Expand Up @@ -68,7 +68,7 @@ Transaction 1:
- Name: BasicContract
- Address: 0x74e720c9B362ae3A65fF356ad62866511486BBBc
- Params: [1,2,'A','B',['42n','43n'],{sub:{a:'44n'}}]
- Value: 10
- Value: '10n'
`;

Expand Down

0 comments on commit bca332d

Please sign in to comment.