Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Migrate transaction commands - Partially closes #558 #577

Merged
merged 6 commits into from
Sep 19, 2018

Conversation

shuse2
Copy link
Contributor

@shuse2 shuse2 commented Jul 3, 2018

Description

Migration from

lisk broadcast transaction
lisk get transaction
lisk sign transaction
lisk verify transaction

npm t
./bin/run transaction:get
./bin/run transaction:broadcast
./bin/run transaction:sign
./bin/run transaction:verify

Review checklist

@shuse2 shuse2 self-assigned this Jul 3, 2018
@shuse2 shuse2 requested a review from willclarktech July 3, 2018 13:24
@shuse2 shuse2 changed the title Migrate transaction commands - Closes #558 Migrate transaction commands - Partially closes #558 Jul 4, 2018
@shuse2 shuse2 force-pushed the 571-migrate_signature_command branch from 768f5f5 to 04cd30a Compare September 5, 2018 13:22
@shuse2 shuse2 force-pushed the 558-migrate_transaction_commands branch from d6e20aa to 33e918e Compare September 5, 2018 14:41
@shuse2 shuse2 force-pushed the 558-migrate_transaction_commands branch from 33e918e to c8391e8 Compare September 11, 2018 08:57
@shuse2 shuse2 changed the base branch from 571-migrate_signature_command to 2.0.0 September 11, 2018 08:57
@shuse2 shuse2 force-pushed the 558-migrate_transaction_commands branch from c8391e8 to 3a59cd1 Compare September 13, 2018 14:36
src/commands/transaction/broadcast.js Show resolved Hide resolved
src/commands/transaction/broadcast.js Show resolved Hide resolved
src/commands/transaction/sign.js Outdated Show resolved Hide resolved
src/commands/transaction/sign.js Outdated Show resolved Hide resolved
src/commands/transaction/broadcast.js Outdated Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
src/utils/transactions.js Show resolved Hide resolved
test/commands/transaction/get.test.js Outdated Show resolved Hide resolved
test/commands/transaction/broadcast.test.js Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
test/commands/transaction/verify.test.js Outdated Show resolved Hide resolved
Copy link
Contributor

@willclarktech willclarktech left a comment

Choose a reason for hiding this comment

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

A couple of minor points.

);
});

it('should throw an validation error when the input is not valid JSON format', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

a validation

)
.command(['transaction:broadcast'])
.it('should broadcast the transaction', () => {
expect(apiClientStub.transactions.broadcast).to.be.calledWithExactly(
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also test the API config.

@shuse2 shuse2 merged commit f75afab into 2.0.0 Sep 19, 2018
@shuse2 shuse2 deleted the 558-migrate_transaction_commands branch September 19, 2018 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants