Skip to content

v3.0.3 #117

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

Merged
merged 29 commits into from
Nov 2, 2020
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cc9f80c
Add optional memo param to avm.send.
cgcardona Sep 29, 2020
3add41b
* Add memo field to `avm.send`
cgcardona Sep 29, 2020
71e0b7b
update comment.
cgcardona Sep 29, 2020
a78e6ed
1. Update memo param comment
cgcardona Oct 5, 2020
51a757a
Update all memo comments.
cgcardona Oct 5, 2020
dd42935
Fix return type/values.
cgcardona Oct 5, 2020
c346036
Fix broken tests.
cgcardona Oct 5, 2020
f1985a7
Memo can be string or buffer.
cgcardona Oct 5, 2020
4a90e92
Test for buffer case.
cgcardona Oct 5, 2020
afa314d
Handle changeAddr and memo being passed in as undefined.
cgcardona Oct 5, 2020
02fcb37
Update comments
cgcardona Oct 5, 2020
b626ef6
Fix comment.
cgcardona Oct 5, 2020
4cd8bb6
fixing up the code
Oct 5, 2020
63af322
Merge pull request #109 from ava-labs/send_multiple
collincusce Oct 5, 2020
2a29f59
backing up changes to dev for testing
collincusce Oct 14, 2020
6698083
fixes transaction parsing issues
collincusce Oct 16, 2020
a6658a0
testing pat
collincusce Oct 16, 2020
e5cdc24
possible fix for addValidatorTx
collincusce Oct 17, 2020
fed50f0
AddValidatorTx fixed
collincusce Oct 17, 2020
d41d928
back to normal
collincusce Oct 19, 2020
a8db258
Add support for the new includeReason property of platformvm.getTxSta…
cgcardona Oct 28, 2020
62c09c8
Pushing bundle.
cgcardona Oct 29, 2020
f8edc9f
3.0.2
cgcardona Oct 29, 2020
1e29786
Merge branch 'master' into development
cgcardona Oct 29, 2020
96e327b
fixed api endpoint typo
sponnet Nov 1, 2020
144ba09
Merge pull request #119 from sponnet/master
cgcardona Nov 2, 2020
76bfc7d
Merge branch 'development' into add-support-for-include-reason
cgcardona Nov 2, 2020
2b00e60
Add details for passed back object
cgcardona Nov 2, 2020
aa0e948
Merge pull request #114 from ava-labs/add-support-for-include-reason
cgcardona Nov 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix broken tests.
  • Loading branch information
cgcardona committed Oct 5, 2020
commit c3460361082b7bede64c76dc4325e7a312666361
9 changes: 6 additions & 3 deletions tests/apis/avm/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ describe('AVMAPI', () => {
const response:object = await result;

expect(mockAxios.request).toHaveBeenCalledTimes(1);
expect(response).toBe(txId);
expect(response['txID']).toBe(txId);
expect(response['changeAddr']).toBe(changeAddr);
});

test('can Send 2', async () => {
Expand All @@ -108,7 +109,8 @@ describe('AVMAPI', () => {
const response:object = await result;

expect(mockAxios.request).toHaveBeenCalledTimes(1);
expect(response).toBe(txId);
expect(response['txID']).toBe(txId);
expect(response['changeAddr']).toBe(changeAddr);
});

test('can Send Multiple', async () => {
Expand All @@ -130,7 +132,8 @@ describe('AVMAPI', () => {
const response:object = await result;

expect(mockAxios.request).toHaveBeenCalledTimes(1);
expect(response).toBe(txId);
expect(response['txID']).toBe(txId);
expect(response['changeAddr']).toBe(changeAddr);
});

test('refreshBlockchainID', async () => {
Expand Down