Skip to content

Commit

Permalink
chore: update nightly docs (#260)
Browse files Browse the repository at this point in the history
Co-authored-by: sarahschwartz <[email protected]>
  • Loading branch information
github-actions[bot] and sarahschwartz authored May 7, 2024
1 parent fa1aae3 commit 50a1f90
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 45 deletions.
2 changes: 1 addition & 1 deletion docs/fuels-wallet
Submodule fuels-wallet updated 51 files
+0 −2 .gitattributes
+9 −0 .github/workflows/pr-tests.yml
+9 −0 .github/workflows/pr.yaml
+21 −14 .github/workflows/release-changeset.yaml
+3 −0 .github/workflows/unpublish-npm.yaml
+3 −0 .github/workflows/update-sdk-cron.yaml
+3 −0 .github/workflows/update-sdk-manual.yaml
+1 −1 .nvmrc
+1 −0 packages/app/.env.example
+1 −0 packages/app/.env.production
+1 −0 packages/app/.env.test
+42 −0 packages/app/CHANGELOG.md
+1 −0 packages/app/env.d.ts
+1 −1 packages/app/package.json
+3 −3 packages/app/playwright.config.ts
+12 −3 packages/app/playwright/crx/crx.test.ts
+6 −6 packages/app/playwright/e2e.ts
+3 −1 packages/app/src/App.tsx
+1 −0 packages/app/src/config.ts
+75 −78 packages/app/src/generated/graphql.ts
+1 −0 packages/app/src/systems/Account/components/AccountForm/AccountForm.tsx
+3 −1 packages/app/src/systems/Account/components/ImportAccountForm/ImportAccountForm.tsx
+6 −1 packages/app/src/systems/Account/pages/EditAccount/EditAccount.tsx
+6 −1 packages/app/src/systems/Account/pages/ImportAccount/ImportAccount.tsx
+5 −0 packages/app/src/systems/Asset/components/AssetForm/AssetForm.tsx
+1 −1 packages/app/src/systems/Asset/pages/UpsertAsset/UpsertAsset.tsx
+72 −0 packages/app/src/systems/CRX/background/actions/autoUpdate.ts
+12 −2 packages/app/src/systems/CRX/background/actions/onInstall.ts
+1 −0 packages/app/src/systems/CRX/background/index.ts
+33 −4 packages/app/src/systems/CRX/background/services/VaultService.ts
+2 −0 packages/app/src/systems/Core/components/SearchInput/SearchInput.tsx
+1 −0 packages/app/src/systems/Core/hooks/index.tsx
+28 −0 packages/app/src/systems/Core/hooks/useRecoverWelcomeFromError.ts
+81 −1 packages/app/src/systems/Core/utils/database.ts
+2 −0 packages/app/src/systems/Network/components/NetworkForm/NetworkForm.tsx
+1 −0 packages/app/src/systems/Network/pages/AddNetwork/AddNetwork.tsx
+6 −1 packages/app/src/systems/Network/pages/UpdateNetwork/UpdateNetwork.tsx
+1 −1 packages/app/src/systems/Send/components/SendSelect/SendSelect.tsx
+1 −0 packages/app/src/systems/Send/pages/SendPage/SendPage.tsx
+1 −1 packages/app/src/systems/Settings/pages/ChangePassword/ChangePassword.tsx
+1 −0 packages/app/src/systems/Transaction/components/TxRecipientCard/TxRecipientCard.tsx
+8 −1 packages/app/src/systems/Vault/services/VaultServer.ts
+1 −0 packages/app/src/vite-env.d.ts
+19 −0 packages/connections/CHANGELOG.md
+1 −2 packages/connections/package.json
+2 −2 packages/e2e-contract-tests/playwright.config.ts
+14 −0 packages/types/CHANGELOG.md
+1 −1 packages/types/package.json
+6 −0 packages/types/src/database.ts
+1 −0 packages/types/src/index.ts
+1 −1 pnpm-lock.yaml
2 changes: 1 addition & 1 deletion docs/nightly/fuels-rs
Submodule fuels-rs updated 98 files
+0 −2 .gitattributes
+4 −29 .github/workflows/ci.yml
+25 −22 Cargo.toml
+2 −2 README.md
+2 −2 ci_checks.sh
+1 −1 docs/src/abigen/the-json-abi-file.md
+2 −2 docs/src/connecting/short-lived.md
+0 −9 docs/src/debugging/function-selector.md
+2 −2 docs/src/deploying/the-fuelvm-binary-file.md
+1 −1 docs/src/getting-started.md
+1 −2 docs/src/testing/the-setup-program-test-macro.md
+1 −1 docs/src/types/evm_address.md
+1 −1 docs/src/types/string.md
+0 −1 examples/contracts/Cargo.toml
+34 −48 examples/contracts/src/lib.rs
+6 −5 examples/cookbook/src/lib.rs
+0 −3 examples/debugging/Cargo.toml
+10 −66 examples/debugging/src/lib.rs
+4 −4 examples/macros/src/lib.rs
+5 −4 examples/predicates/src/lib.rs
+2 −2 examples/rust_bindings/src/rust_bindings_formatted.rs
+1 −1 examples/wallets/src/lib.rs
+3 −2 packages/fuels-accounts/src/provider.rs
+1 −2 packages/fuels-accounts/src/provider/retryable_client.rs
+1 −1 packages/fuels-accounts/src/provider/supported_versions.rs
+1 −1 packages/fuels-code-gen/src/program_bindings.rs
+8 −21 packages/fuels-code-gen/src/program_bindings/abigen.rs
+98 −28 packages/fuels-code-gen/src/program_bindings/abigen/abigen_target.rs
+2 −2 packages/fuels-code-gen/src/program_bindings/abigen/bindings.rs
+3 −15 packages/fuels-code-gen/src/program_bindings/abigen/bindings/contract.rs
+2 −6 packages/fuels-code-gen/src/program_bindings/abigen/bindings/function_generator.rs
+2 −2 packages/fuels-code-gen/src/program_bindings/abigen/bindings/utils.rs
+2 −78 packages/fuels-code-gen/src/program_bindings/custom_types/utils.rs
+0 −9 packages/fuels-code-gen/src/program_bindings/utils.rs
+0 −3 packages/fuels-code-gen/src/utils.rs
+0 −116 packages/fuels-code-gen/src/utils/source.rs
+0 −2 packages/fuels-core/Cargo.toml
+0 −3 packages/fuels-core/src/codec.rs
+3 −240 packages/fuels-core/src/codec/abi_decoder.rs
+0 −158 packages/fuels-core/src/codec/abi_decoder/decode_as_debug_str.rs
+0 −451 packages/fuels-core/src/codec/abi_decoder/legacy_bounded_decoder.rs
+15 −203 packages/fuels-core/src/codec/abi_encoder.rs
+12 −9 packages/fuels-core/src/codec/abi_encoder/configurables_bounded_encoder.rs
+1 −447 packages/fuels-core/src/codec/function_selector.rs
+0 −18 packages/fuels-core/src/codec/logs.rs
+6 −6 packages/fuels-core/src/types.rs
+11 −1 packages/fuels-core/src/types/core/identity.rs
+0 −2 packages/fuels-core/src/types/core/raw_slice.rs
+0 −1 packages/fuels-core/src/types/core/u256.rs
+0 −1 packages/fuels-core/src/types/param_types.rs
+0 −256 packages/fuels-core/src/types/param_types/debug_with_depth.rs
+2 −282 packages/fuels-core/src/types/param_types/param_type.rs
+28 −24 packages/fuels-core/src/types/transaction_builders.rs
+2 −2 packages/fuels-core/src/types/wrappers/block.rs
+2 −1 packages/fuels-core/src/types/wrappers/message.rs
+89 −4 packages/fuels-core/src/types/wrappers/transaction.rs
+2 −0 packages/fuels-core/src/types/wrappers/transaction_response.rs
+38 −12 packages/fuels-core/src/utils/offsets.rs
+24 −11 packages/fuels-macros/src/abigen/parsing.rs
+7 −3 packages/fuels-macros/src/lib.rs
+27 −14 packages/fuels-macros/src/setup_program_test/code_gen.rs
+5 −0 packages/fuels-macros/tests/ui/abigen/invalid_abi_path.rs
+5 −0 packages/fuels-macros/tests/ui/abigen/invalid_abi_path.stderr
+5 −0 packages/fuels-macros/tests/ui/abigen/malformed_abi.rs
+5 −0 packages/fuels-macros/tests/ui/abigen/malformed_abi.stderr
+1 −1 packages/fuels-macros/tests/ui/setup_program_test/duplicate_wallet_command.rs
+1 −1 packages/fuels-macros/tests/ui/setup_program_test/duplicate_wallet_names.rs
+8 −0 packages/fuels-macros/tests/ui/setup_program_test/invalid_path.rs
+5 −0 packages/fuels-macros/tests/ui/setup_program_test/invalid_path.stderr
+5 −0 packages/fuels-macros/tests/ui/setup_program_test/invalid_project_path.rs
+5 −0 packages/fuels-macros/tests/ui/setup_program_test/invalid_project_path.stderr
+0 −1 packages/fuels-programs/Cargo.toml
+1 −337 packages/fuels-programs/src/call_utils.rs
+0 −42 packages/fuels-programs/src/contract.rs
+0 −358 packages/fuels-programs/src/receipt_parser.rs
+3 −7 packages/fuels-programs/src/script_calls.rs
+2 −5 packages/fuels-test-helpers/src/fuel_bin_service.rs
+0 −1 packages/fuels/Cargo.toml
+3 −625 packages/fuels/tests/bindings.rs
+8 −7 packages/fuels/tests/configurables.rs
+22 −31 packages/fuels/tests/contracts.rs
+4 −4 packages/fuels/tests/contracts/lib_contract_caller/src/main.sw
+8 −9 packages/fuels/tests/contracts/liquidity_pool/src/main.sw
+1 −9 packages/fuels/tests/contracts/low_level_caller/src/main.sw
+6 −11 packages/fuels/tests/contracts/token_ops/src/main.sw
+1 −35 packages/fuels/tests/from_token.rs
+7 −44 packages/fuels/tests/logs.rs
+44 −51 packages/fuels/tests/predicates.rs
+13 −15 packages/fuels/tests/providers.rs
+10 −5 packages/fuels/tests/scripts.rs
+3 −3 packages/fuels/tests/scripts/transfer_script/src/main.sw
+6 −6 packages/fuels/tests/storage.rs
+5 −0 packages/fuels/tests/types/contracts/std_lib_string/src/main.sw
+28 −62 packages/fuels/tests/types_contracts.rs
+16 −16 packages/fuels/tests/types_predicates.rs
+0 −1 packages/fuels/tests/types_scripts.rs
+0 −3 packages/wasm-tests/Cargo.toml
+0 −8 packages/wasm-tests/src/lib.rs
2 changes: 1 addition & 1 deletion docs/nightly/fuels-wallet
Submodule fuels-wallet updated 31 files
+0 −1 packages/app/.env.example
+0 −1 packages/app/.env.production
+0 −1 packages/app/.env.test
+13 −0 packages/app/CHANGELOG.md
+1 −3 packages/app/package.json
+0 −31 packages/app/playwright/e2e/FaucetDialog.test.ts
+0 −14 packages/app/playwright/e2e/HomeWallet.test.ts
+0 −1 packages/app/src/config.ts
+0 −1 packages/app/src/systems/Core/types.ts
+7 −38 packages/app/src/systems/Core/utils/database.ts
+0 −14 packages/app/src/systems/Faucet/components/FaucetDialog.stories.tsx
+0 −12 packages/app/src/systems/Faucet/components/FaucetDialog.test.tsx
+0 −96 packages/app/src/systems/Faucet/components/FaucetDialog.tsx
+0 −1 packages/app/src/systems/Faucet/components/index.tsx
+0 −2 packages/app/src/systems/Faucet/hooks/index.tsx
+0 −57 packages/app/src/systems/Faucet/hooks/useCaptcha.ts
+0 −33 packages/app/src/systems/Faucet/hooks/useFaucetDialog.tsx
+9 −11 packages/app/src/systems/Faucet/hooks/useOpenFaucet.ts
+0 −2 packages/app/src/systems/Faucet/index.tsx
+0 −41 packages/app/src/systems/Faucet/machines/captchaMachine.test.ts
+0 −90 packages/app/src/systems/Faucet/machines/captchaMachine.tsx
+0 −58 packages/app/src/systems/Faucet/machines/faucetMachine.test.ts
+0 −126 packages/app/src/systems/Faucet/machines/faucetMachine.tsx
+0 −2 packages/app/src/systems/Faucet/machines/index.tsx
+1 −0 packages/app/src/systems/Home/pages/Home/Home.tsx
+0 −2 packages/app/src/systems/Home/routes.tsx
+2 −0 packages/connections/CHANGELOG.md
+1 −1 packages/connections/package.json
+2 −0 packages/types/CHANGELOG.md
+1 −1 packages/types/package.json
+1 −45 pnpm-lock.yaml
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@
"@fuel-ui/react": "0.21.0-pr-305-04b8434",
"@fuel-wallet/playwright-utils": "^0.13.10",
"@fuel-wallet/sdk": "0.16.2-master-a0e5cbf",
"@fuel-wallet/types": "^0.16.1",
"@fuels/connectors": "0.1.1",
"@fuels/react": "^0.16.0",
"@fuels/react": "^0.19.0",
"@fuels/ts-config": "^0.15.1",
"@mdx-js/mdx": "^2.3.0",
"@mdx-js/react": "^2.3.0",
Expand Down
60 changes: 26 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/wallet-patch-fixes/download-link.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function handleConstantsFile(filePath, version) {

if (start !== undefined && end !== undefined) {
const downloadLink =
'https://wallet.fuel.network/app/fuel-wallet-0.16.1.zip';
'https://github.com/FuelLabs/fuels-wallet/releases/download/v0.16.6/fuel-wallet-0.16.6.zip';
const modifiedContent = `export const DOWNLOAD_LINK = '${downloadLink}';`;
lines.splice(start, end - start + 1, modifiedContent);
const newFileContent = lines.join(EOL);
Expand Down
2 changes: 1 addition & 1 deletion src/config/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"forc": "0.49.3",
"rust": "0.55.0",
"ts": "0.82.0",
"wallet": "0.16.2"
"wallet": "0.16.6"
}
}
14 changes: 10 additions & 4 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type { AppProps } from 'next/app';
import '../styles/docsearch.css';
import '../styles/index.css';

import { defaultConnectors } from '@fuels/connectors';
import { Provider } from '../components/Provider';
import { ShowWarningProvider } from '../hooks/useShowWarning';
import { VersionProvider } from '../hooks/useVersion';
Expand All @@ -13,8 +14,13 @@ const queryClient = new QueryClient();

export default function App({ Component, pageProps }: AppProps) {
return (
<FuelProvider>
<QueryClientProvider client={queryClient}>
<QueryClientProvider client={queryClient}>
<FuelProvider
theme='dark'
fuelConfig={{
connectors: defaultConnectors({ devMode: true }),
}}
>
<VersionProvider>
<ShowWarningProvider>
<Provider>
Expand All @@ -30,7 +36,7 @@ export default function App({ Component, pageProps }: AppProps) {
</Provider>
</ShowWarningProvider>
</VersionProvider>
</QueryClientProvider>
</FuelProvider>
</FuelProvider>
</QueryClientProvider>
);
}
2 changes: 1 addition & 1 deletion tests/utils/fixtures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const test = base.extend<{
// biome-ignore lint/correctness/noEmptyPattern:
context: async ({}, use) => {
// download fuel wallet
const fuelPathExtension = await downloadFuel('0.16.1');
const fuelPathExtension = await downloadFuel('0.16.6');
// prepare browser args
const browserArgs = [
`--disable-extensions-except=${fuelPathExtension}`,
Expand Down

0 comments on commit 50a1f90

Please sign in to comment.