Skip to content

fix(clippy): fix coins mod clippy warnings in wasm#2224

Merged
shamardy merged 2 commits intodevfrom
fix-coins-mod-wasm-clippy
Sep 23, 2024
Merged

fix(clippy): fix coins mod clippy warnings in wasm#2224
shamardy merged 2 commits intodevfrom
fix-coins-mod-wasm-clippy

Conversation

@borngraced
Copy link
Copy Markdown

No description provided.

@borngraced borngraced self-assigned this Sep 16, 2024
@onur-ozkan
Copy link
Copy Markdown

Looking at dev CI, there are no linting errors at all ? 🤔

@Alrighttt
Copy link
Copy Markdown

Looking at dev CI, there are no linting errors at all ? 🤔

It's a fix for --all-features case.

@onur-ozkan
Copy link
Copy Markdown

Looking at dev CI, there are no linting errors at all ? 🤔

It's a fix for --all-features case.

We should include this flag to CI then.

@borngraced
Copy link
Copy Markdown
Author

Looking at dev CI, there are no linting errors at all ? 🤔

It's a fix for --all-features case.

We should include this flag to CI then.

those clippy warnings can also show up when running

cargo test --target wasm32-unknown-unknown --package coins

--all-features is unusable now until SiaCode http_client code is synced

@shamardy shamardy mentioned this pull request Sep 20, 2024
5 tasks
@shamardy
Copy link
Copy Markdown
Collaborator

--all-features is unusable now until SiaCode http_client code is synced

Added it to the SIA tracking issue #2201 (comment) c.c. @borngraced @Alrighttt

@shamardy shamardy changed the title fix(chore): coins mod WASM clippy warnings fix(clippy): coins mod WASM clippy warnings Sep 20, 2024
@shamardy shamardy changed the title fix(clippy): coins mod WASM clippy warnings fix(clippy): fix coins mod WASM clippy warnings Sep 20, 2024
@shamardy shamardy changed the title fix(clippy): fix coins mod WASM clippy warnings fix(clippy): fix coins mod clippy warnings in wasm Sep 20, 2024
…to the only place it's used

* use not wasm attribute for solana macros
Copy link
Copy Markdown
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Will merge once @onur-ozkan accepts this.

@shamardy shamardy merged commit cde7f36 into dev Sep 23, 2024
@shamardy shamardy deleted the fix-coins-mod-wasm-clippy branch September 23, 2024 10:28
@mariocynicys
Copy link
Copy Markdown
Collaborator

those clippy warnings can also show up when running
cargo test --target wasm32-unknown-unknown --package coins
--all-features is unusable now until SiaCode http_client code is synced

I think we want to run these tests in CI. Looks like they are never ran.

dimxy pushed a commit that referenced this pull request Oct 4, 2024
* dev:
  fix(orders): fix cancel order race condition using time-based cache (#2232)
  fix(legacy-swap): taker failed spend maker payment marked as failed (#2199)
  chore(adex-cli): deprecate adex-cli (#2234)
  feat(new-RPC): connection healthcheck implementation for peers  (#2194)
  fix(proxy-signature): add message lifetime overflows (#2233)
  feat(CI): handle remote files in a safer way (#2217)
  chore(doc): update issue address in README (#2227)
  fix(merge): remove duplicated db_root function (#2229)
  feat(wallets): add `get_wallet_names` rpc (#2202)
  chore(tests): don't use `.wait()` and use `block_on` instead (#2220)
  fix(native-rpc): remove escaped response body (#2219)
  fix(clippy): fix coins mod clippy warnings in wasm (#2224)
  feat(core): handling CTRL-C signal with graceful shutdown (#2213)
  docs(README): fix typos (#2212)
  remove the non-sense arguments (#2216)
  fix(db): stop creating the all-zeroes dir on KDF start (#2218)
dimxy pushed a commit that referenced this pull request Oct 4, 2024
* dev:
  fix(orders): fix cancel order race condition using time-based cache (#2232)
  fix(legacy-swap): taker failed spend maker payment marked as failed (#2199)
  chore(adex-cli): deprecate adex-cli (#2234)
  feat(new-RPC): connection healthcheck implementation for peers  (#2194)
  fix(proxy-signature): add message lifetime overflows (#2233)
  feat(CI): handle remote files in a safer way (#2217)
  chore(doc): update issue address in README (#2227)
  fix(merge): remove duplicated db_root function (#2229)
  feat(wallets): add `get_wallet_names` rpc (#2202)
  chore(tests): don't use `.wait()` and use `block_on` instead (#2220)
  fix(native-rpc): remove escaped response body (#2219)
  fix(clippy): fix coins mod clippy warnings in wasm (#2224)
  feat(core): handling CTRL-C signal with graceful shutdown (#2213)
  docs(README): fix typos (#2212)
  remove the non-sense arguments (#2216)
  fix(db): stop creating the all-zeroes dir on KDF start (#2218)
dimxy pushed a commit that referenced this pull request Oct 17, 2024
* dev:
  fix(cosmos): fix tx broadcasting error (#2238)
  chore(solana): remove solana implementation (#2239)
  chore(cli): remove leftover subcommands from help message (#2235)
  fix(orders): fix cancel order race condition using time-based cache (#2232)
  fix(legacy-swap): taker failed spend maker payment marked as failed (#2199)
  chore(adex-cli): deprecate adex-cli (#2234)
  feat(new-RPC): connection healthcheck implementation for peers  (#2194)
  fix(proxy-signature): add message lifetime overflows (#2233)
  feat(CI): handle remote files in a safer way (#2217)
  chore(doc): update issue address in README (#2227)
  fix(merge): remove duplicated db_root function (#2229)
  feat(wallets): add `get_wallet_names` rpc (#2202)
  chore(tests): don't use `.wait()` and use `block_on` instead (#2220)
  fix(native-rpc): remove escaped response body (#2219)
  fix(clippy): fix coins mod clippy warnings in wasm (#2224)
  feat(core): handling CTRL-C signal with graceful shutdown (#2213)
  docs(README): fix typos (#2212)
  remove the non-sense arguments (#2216)
  fix(db): stop creating the all-zeroes dir on KDF start (#2218)
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.

5 participants