Skip to content
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

Test code debugging th ole account switcheroonie problem #221

Conversation

radicleart
Copy link
Collaborator

No description provided.

radicleart and others added 30 commits May 19, 2023 14:55
* 1. bug - wrong network selected in peg out flow. (#127)

2. refactored code in the deposit / commit / reveal
3. added settings switch to test the flow with random private key

* Begun support for reclaiming unspent - WP
Refactored the two build views for deposits and Withdrawals to make them simpler.

* Feat/128 as a user i want to spend the reclaim script path (#134)

* 1. bug - wrong network selected in peg out flow. (#127) (#129)

2. refactored code in the deposit / commit / reveal
3. added settings switch to test the flow with random private key

* Begun support for reclaiming unspent - WP
Refactored the two build views for deposits and Withdrawals to make them simpler.

* Chore: test fixes

* Moving types and helper functions to a new typescript sbtc library (#135)

* Moving types and helper functions to a new typescript sbtc library

* Added some unit tests for building and parsing deposit/withdrawal payloads

* Published and installed sbtc-bridge-lib to npm repo

* Bug/137 bug deposit amount tracks utxo set (#138)

* Bug- remove checks vs UTXO set from peg in amount

* Bug- remove pay with web wallet if balance is less than deposit value

* chore: unit tests
* 1. bug - wrong network selected in peg out flow. (#127)

2. refactored code in the deposit / commit / reveal
3. added settings switch to test the flow with random private key

* Begun support for reclaiming unspent - WP
Refactored the two build views for deposits and Withdrawals to make them simpler.

* Feat/128 as a user i want to spend the reclaim script path (#134)

* 1. bug - wrong network selected in peg out flow. (#127) (#129)

2. refactored code in the deposit / commit / reveal
3. added settings switch to test the flow with random private key

* Begun support for reclaiming unspent - WP
Refactored the two build views for deposits and Withdrawals to make them simpler.

* Chore: test fixes

* Moving types and helper functions to a new typescript sbtc library (#135)

* Moving types and helper functions to a new typescript sbtc library

* Added some unit tests for building and parsing deposit/withdrawal payloads

* Published and installed sbtc-bridge-lib to npm repo

* Bug/137 bug deposit amount tracks utxo set (#138)

* Bug- remove checks vs UTXO set from peg in amount

* Bug- remove pay with web wallet if balance is less than deposit value

* chore: unit tests

* Chore: added .npmignore so npm registry doesn't use .gitignore to ignore the dist directory and simplified imports.

* Updated lib imports for docker environment - works a little different from command line
Renamed field btcTxid to btcTxId

* Updated lib imports for docker environment - works a little different from command line

* Switched the cardinal stacks bitcoin address to ordinal. Taproot spend paths require bech32m addresses.

* no message

* bug: path rename
* 1. bug - wrong network selected in peg out flow. (#127)

2. refactored code in the deposit / commit / reveal
3. added settings switch to test the flow with random private key

* Begun support for reclaiming unspent - WP
Refactored the two build views for deposits and Withdrawals to make them simpler.

* Feat/128 as a user i want to spend the reclaim script path (#134)

* 1. bug - wrong network selected in peg out flow. (#127) (#129)

2. refactored code in the deposit / commit / reveal
3. added settings switch to test the flow with random private key

* Begun support for reclaiming unspent - WP
Refactored the two build views for deposits and Withdrawals to make them simpler.

* Chore: test fixes

* Moving types and helper functions to a new typescript sbtc library (#135)

* Moving types and helper functions to a new typescript sbtc library

* Added some unit tests for building and parsing deposit/withdrawal payloads

* Published and installed sbtc-bridge-lib to npm repo

* Bug/137 bug deposit amount tracks utxo set (#138)

* Bug- remove checks vs UTXO set from peg in amount

* Bug- remove pay with web wallet if balance is less than deposit value

* chore: unit tests

* Move the reveal/reclaim pubkeys server side.

* Chore: test fix.

* Aligned unwrap with wrap by altering the flow to be op_drop only.

* Holding back design changes for their own PR.

* Holding back design changes for their own PR.

* Aligned unwrap with wrap by altering the flow to be op_drop only.

* bug - limit on max amount of withdraw
Feature development on deposits
Feature development on op_return
* fix: design implementation

* fix: design implementation

* fix: design implementation

* fix: design implementation

* fix: design implementation
* no message

* Chore: unit tests

* Chore: unit tests
* fix: remove Stacks logo in Brand

* fix: design implementation
* feat/157-replace-satoshis-with-bitcoin:
  chore: ui tweak
  Replace mention and display of sats with btc
* fix: menu responsive

* fix: menu responsive

* fix: menu responsive

* fix: spacing

---------

Co-authored-by: Mike Cohen <[email protected]>
* fix: design implementation

* fix: design implementation

* chore: cleanup

* chore: focus state on tab navigation

* chore: focus state on tab navigation

* chore: cleanup

* fix: design implementation

* fix: button design implementation

* fix: design implementation

* fix: add Bitcoin logo to BitcoinAmountField

* chore: cleanup

* chore: cleanup

---------

Co-authored-by: Mike Cohen <[email protected]>
* fix: design implementation

* fix: design implementation

* fix: address casing consistency

* fix: design implementation

* chore: cleanup

---------

Co-authored-by: Mike Cohen <[email protected]>
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.3 to 2.6.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](microsoft/tslib@v2.5.3...2.6.0)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [svelte-local-storage-store](https://github.com/joshnuss/svelte-local-storage-store) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/joshnuss/svelte-local-storage-store/releases)
- [Changelog](https://github.com/joshnuss/svelte-local-storage-store/blob/master/CHANGELOG.md)
- [Commits](joshnuss/svelte-persisted-store@v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: svelte-local-storage-store
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.3 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.20.5 to 1.21.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/[email protected]/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [flowbite-svelte](https://github.com/themesberg/flowbite-svelte) from 0.37.5 to 0.39.1.
- [Release notes](https://github.com/themesberg/flowbite-svelte/releases)
- [Changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md)
- [Commits](themesberg/flowbite-svelte@v0.37.5...v0.39.1)

---
updated-dependencies:
- dependency-name: flowbite-svelte
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
radicleart and others added 15 commits July 15, 2023 07:36
* Bug: fix for incorrect btnClass attribute on setting/account menu buttons.

* Feature: configure webockets

* support for multi currency
Bug: Encoding of amount in withdrawal
Bug: order of outputs on withdrawal
Environment variables on the target machine not set properly
Withdrawals are broken on https://bridge.stx.eco/withdraw?net=testnet
Bug: Encoding of amount in withdrawal
Bug: order of outputs on withdrawal
Environment variables on the target machine not set properly
Withdrawals are broken on https://bridge.stx.eco/withdraw?net=testnet
* withdrawal bug

* sBTC Alpha support. Message hashing and recovery byte swapping
…-bitcoin-address'

* feat/191-bug-signature-is-over-the-amount-and-the-users-bitcoin-address:
  Bug: Signature is over the amount and the users bitcoin address Bug: Encoding of amount in withdrawal Bug: order of outputs on withdrawal Environment variables on the target machine not set properly Withdrawals are broken on https://bridge.stx.eco/withdraw?net=testnet

# Conflicts:
#	package-lock.json
#	package.json
#	src/lib/components/deposit/op_return/SignTransactionWeb.svelte
#	src/lib/domain/PegOutTransaction.ts
* Settings updated

* Toggle button display fix

* Chore(deps-dev): Bump eslint from 8.43.0 to 8.46.0 (#199)

Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.43.0...v8.46.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps): Bump @stacks/transactions from 6.5.4 to 6.5.5 (#198)

Bumps [@stacks/transactions](https://github.com/hirosystems/stacks.js) from 6.5.4 to 6.5.5.
- [Changelog](https://github.com/hirosystems/stacks.js/blob/main/CHANGELOG.md)
- [Commits](hirosystems/stacks.js@v6.5.4...v6.5.5)

---
updated-dependencies:
- dependency-name: "@stacks/transactions"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps): Bump tailwind-merge from 1.13.2 to 1.14.0 (#197)

Bumps [tailwind-merge](https://github.com/dcastil/tailwind-merge) from 1.13.2 to 1.14.0.
- [Release notes](https://github.com/dcastil/tailwind-merge/releases)
- [Commits](dcastil/tailwind-merge@v1.13.2...v1.14.0)

---
updated-dependencies:
- dependency-name: tailwind-merge
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps-dev): Bump vite from 4.3.9 to 4.4.8 (#196)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.9 to 4.4.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.4.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps-dev): Bump svelte-heros-v2 from 0.7.3 to 0.9.3 (#195)

Bumps [svelte-heros-v2](https://github.com/shinokada/svelte-heros-v2) from 0.7.3 to 0.9.3.
- [Changelog](https://github.com/shinokada/svelte-heros-v2/blob/main/CHANGELOG.md)
- [Commits](shinokada/svelte-heros-v2@v0.7.3...v0.9.3)

---
updated-dependencies:
- dependency-name: svelte-heros-v2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* support multiple keysets in same session - prevents having to keep checking and asking xverse every time.

* Connect and bitcoin addresses working with Xverse
* fix: design implementation for Settings page

* fix: design implementation for Settings page

---------

Co-authored-by: Mike Cohen <[email protected]>
* Feature: simnet support - for running bridge on localhost against clarinet integrate.

* Feature: simnet support - for running bridge on localhost against clarinet integrate.
Bug fix - xverse on second deposit from same account
Improvement - ability to send psbts for Bitcoin Core and Electrum reinstated.
* Fix for Hiro unknown output bug.

* Fix for Hiro unknown output bug.

* Chore(deps-dev): Bump svelte-check from 3.4.3 to 3.5.1 (#218)

Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 3.4.3 to 3.5.1.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](sveltejs/language-tools@svelte-check-3.4.3...svelte-check-3.5.1)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps): Bump @stacks/connect from 7.3.1 to 7.4.0 (#217)

Bumps @stacks/connect from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: "@stacks/connect"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps-dev): Bump vitest from 0.25.8 to 0.34.3 (#216)

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.25.8 to 0.34.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps-dev): Bump @sveltejs/kit from 1.21.0 to 1.24.0 (#215)

Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.21.0 to 1.24.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/[email protected]/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps): Bump @stacks/transactions from 6.5.5 to 6.7.0 (#214)

Bumps [@stacks/transactions](https://github.com/hirosystems/stacks.js) from 6.5.5 to 6.7.0.
- [Changelog](https://github.com/hirosystems/stacks.js/blob/main/CHANGELOG.md)
- [Commits](hirosystems/stacks.js@v6.5.5...v6.7.0)

---
updated-dependencies:
- dependency-name: "@stacks/transactions"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@radicleart radicleart changed the base branch from main to staging September 5, 2023 08:55
@radicleart
Copy link
Collaborator Author

Not to be merged to main.

@radicleart radicleart closed this Sep 5, 2023
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.

Not switching account in Hiro / Leather wallet leads to transactions failing to be signed
2 participants