Skip to content

lib/runtime: implement ext_submit_transaction#1120

Merged
edwardmack merged 8 commits intodevelopmentfrom
ed/ext_submit_transaction
Oct 8, 2020
Merged

lib/runtime: implement ext_submit_transaction#1120
edwardmack merged 8 commits intodevelopmentfrom
ed/ext_submit_transaction

Conversation

@edwardmack
Copy link
Copy Markdown
Contributor

@edwardmack edwardmack commented Oct 3, 2020

Changes

  • implement ext_submit_transaction function

Tests

go test ./lib/runtime/...

Checklist

  • I have read CODE_OF_CONDUCT and CONTRIBUTING
  • I have provided as much information as possible and necessary
  • I have reviewed my own pull request before requesting a review
  • All integration tests and required coverage checks are passing

Issues

@edwardmack edwardmack requested a review from noot October 4, 2020 14:12
@edwardmack edwardmack self-assigned this Oct 4, 2020
}
}

type mockTransaction struct {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

rename to mockTransactionState?


// validate the transaction
txv := transaction.NewValidity(0, [][]byte{{}}, [][]byte{{}}, 0, false)
// todo determine how to validate transaction here, calling runtimeAPI.ValidateTransaction?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove todo, it's good as is!

Copy link
Copy Markdown
Contributor

@noot noot left a comment

Choose a reason for hiding this comment

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

looks good!

@edwardmack edwardmack merged commit 1e9a7ac into development Oct 8, 2020
@edwardmack edwardmack deleted the ed/ext_submit_transaction branch October 8, 2020 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants