-
Notifications
You must be signed in to change notification settings - Fork 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
Add proposals operation support #2112
Conversation
✅ Deploy Preview for taquito-test-dapp canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only one question otherwise looks good to me!
it('should return proposal hash of Proposals operation', () => { | ||
const op = new ProposalsOperation( | ||
'ooBghN2ok5EpgEuMqYWqvfwNLBiK9eNFoPai91iwqk2nRCyUKgE', | ||
{ proposals: ['PtKathmankSpLLDALzWw7CGD2j2MtyveTwboEYokqUCP4a1LxMg'] } as any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this possible to be typed as something other than any?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a good question, but I suspect the reason we use any
for all of the params in the test is because we might or might not pass anything at all. So any
gives us the flexibility.
In general I'd stay away from the use of any
as you're probably suggesting, but I think this usage in tests is probably okay.
New packages have been deployed to the preview repository at https://npm.preview.tezostaquito.io/. Published packages:
|
A new deploy preview is available on Netlify at https://062f0c0--tezostaquito.netlify.app |
Codecov ReportBase: 81.93% // Head: 81.98% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2112 +/- ##
==========================================
+ Coverage 81.93% 81.98% +0.05%
==========================================
Files 214 216 +2
Lines 12038 12118 +80
Branches 2726 2745 +19
==========================================
+ Hits 9863 9935 +72
- Misses 2153 2161 +8
Partials 22 22
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work :)
* add proposals operation * added tests for proposals operation * updated documentation to combine ballot and proposals op * remove yarn lock files * addressed PR comments and updated docs
* Re-work leading section * Compress SemVer discussion and break into sections * Incorporate feedback as solicited on hackmd.io/aYu2xvrFRbyiYtvgMpeBtw * Mk 1988 add more beacon wallet tests (#1991) * edits * more tests * added tests * test(beacon wallet): add unit tests for bacon wallet * test: fix PR * test(fix the pr): fix the PR * test(fix package problem): fix package problem * test: fix merge conflict * changes per review * add package locks * Multisig documentation (#2033) * Added documentation for multisig and reordered the doc chapters in the sidebar * Pushing uncommitted changes * Added mention of MANAGER_LAMBDA * Corrected error in text * Corrected error in doc * Corrected typo in yarn.lock file * Updated boilerplate section of the doc * Removed conflicting yarn.lock files * Updated .gitignore in /website * fix: upgrade @svgr/webpack from 6.3.1 to 6.4.0 Snyk has created this PR to upgrade @svgr/webpack from 6.3.1 to 6.4.0. See this package in npm: https://www.npmjs.com/package/@svgr/webpack See this project in Snyk: https://app.snyk.io/org/roxane/project/ad4c74dc-f97a-4a6b-8c68-4c305b03e490?utm_source=github&utm_medium=referral&page=upgrade-pr * removed tests with references to timelock feature (#2083) * 1630 ballot operation support in contract API (#2050) * added estimate and contract ballot operation support * added rpc contract provider for ballot op * updated implementation and added docs * added property in OperationContentsAndResultBallot and added unit test * remove metadata property from ballot * addressed PR comments * updated yarn and package-lock * cleaned up comments and switched out async for promise in op emitter * removed unnecessary line break * 660 support customize parser options (#2061) * feat: exposed setParserProvider configuration through TezosToolkit re #660 * test: added integration tests using setParserProvider with TezosToolkit re #660 * docs: updated starting production server commands with taquito-test-dapp readme.md * test: removed unnecessory console.log re #660 * chore: update vite to latest version * docs: fixed some typos in doc to address comments re #660 * contract-security-non-existent-KT-address: use rpc (#2091) * revert changes from ballot operation * Bump @airgap/beacon-dapp to v 3.3.0 * build(deps): bump loader-utils from 1.4.0 to 1.4.1 in /packages/taquito Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md) - [Commits](webpack/loader-utils@v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * build(deps): bump loader-utils from 1.4.0 to 1.4.1 in /website Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md) - [Commits](webpack/loader-utils@v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * chore(releng) bump version to 14.1.0-beta-RC.0 * Commit package-lock file for taquito-test-dapp * Fix unit test related to version in ContractsLibrary * Fix unit test related to version in ContractsLibrary * Update taquito-test-dapp with taquito version 14.1.0-beta-RC.0 * chore(releng) bump version to 14.1.0 * Created version 14.1.0 on the Taquito Website * 1630 ballot (#2107) * added estimate and contract ballot operation support * added rpc contract provider for ballot op * updated implementation and added docs * added property in OperationContentsAndResultBallot and added unit test * remove metadata property from ballot * addressed PR comments * updated yarn and package-lock * cleaned up comments and switched out async for promise in op emitter * removed unnecessary line break * renamed ballotenum to BallotVote * update BallotEnum to BallotVote * Add proposals operation support (#2112) * add proposals operation * added tests for proposals operation * updated documentation to combine ballot and proposals op * remove yarn lock files * addressed PR comments and updated docs * Fix typo (repeat of "breaking changes") in Release Timing section Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Michael Kernaghan <[email protected]> Co-authored-by: Claude Barde <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Davis Sawali <[email protected]> Co-authored-by: hui-an-yang <[email protected]> Co-authored-by: Arvid Jakobsson <[email protected]> Co-authored-by: roxaneletourneau <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
closes #2099
Thank you for your contribution to Taquito.
Before submitting this PR, please make sure:
Release Note Draft Snippet
If relevant, please write a summary of your change that will be suitable for
inclusion in the Release Notes for the next Taquito release.