Skip to content

Commit

Permalink
Merge branch main into utils
Browse files Browse the repository at this point in the history
  • Loading branch information
y-pakorn committed Sep 17, 2021
2 parents dead6c6 + 996c84b commit a191e0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

- Pre-release for utils

## 2.1.1

- Fix BigInt not parsed properly on contract call

## 2.1.0

- Implement EIP-15559 properties (#7)
Expand Down
8 changes: 3 additions & 5 deletions lib/src/ethers/contract.dart
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,10 @@ class Contract extends Interop<_ContractImpl> {
impl,
method,
args.map((e) {
switch (e) {
case BigInt:
return e.toString();
default:
return e;
if (e is BigInt) {
return e.toString();
}
return e;
}).toList()));
}
} catch (error) {
Expand Down

0 comments on commit a191e0d

Please sign in to comment.