|
3862 | 3862 | "token_estimator": "heuristic-v1" |
3863 | 3863 | }, |
3864 | 3864 | { |
3865 | | - "id": "smart-contracts-dev-environments-hardhat-troubleshooting", |
3866 | | - "title": "smart-contracts-dev-environments-hardhat-troubleshooting", |
3867 | | - "slug": "smart-contracts-dev-environments-hardhat-troubleshooting", |
| 3865 | + "id": "smart-contracts-dev-environments-hardhat-troubleshooting-faq", |
| 3866 | + "title": "Troubleshooting Hardhat", |
| 3867 | + "slug": "smart-contracts-dev-environments-hardhat-troubleshooting-faq", |
3868 | 3868 | "categories": [ |
3869 | | - "Uncategorized" |
| 3869 | + "Smart Contracts", |
| 3870 | + "Tooling" |
3870 | 3871 | ], |
3871 | | - "raw_md_url": "https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/master/.ai/pages/smart-contracts-dev-environments-hardhat-troubleshooting.md", |
3872 | | - "html_url": "https://docs.polkadot.com/smart-contracts/dev-environments/hardhat/troubleshooting/", |
3873 | | - "preview": "TODO", |
3874 | | - "outline": [], |
3875 | | - "stats": { |
3876 | | - "chars": 5, |
3877 | | - "words": 1, |
3878 | | - "headings": 0, |
3879 | | - "estimated_token_count_total": 0 |
3880 | | - }, |
3881 | | - "hash": "sha256:56ba36249ea8216ad513b13df3de6c0e490ba214897674d30331f1c7e7edbef3", |
3882 | | - "token_estimator": "heuristic-v1" |
3883 | | - }, |
3884 | | - { |
3885 | | - "id": "smart-contracts-dev-environments-hardhat-verify-a-contract", |
3886 | | - "title": "smart-contracts-dev-environments-hardhat-verify-a-contract", |
3887 | | - "slug": "smart-contracts-dev-environments-hardhat-verify-a-contract", |
3888 | | - "categories": [ |
3889 | | - "Uncategorized" |
| 3872 | + "raw_md_url": "https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/master/.ai/pages/smart-contracts-dev-environments-hardhat-troubleshooting-faq.md", |
| 3873 | + "html_url": "https://docs.polkadot.com/smart-contracts/dev-environments/hardhat/troubleshooting-faq/", |
| 3874 | + "preview": "This guide provides solutions to common issues you may encounter when using Hardhat with Polkadot Hub. If you're experiencing problems with installation, compilation, deployment, testing, or contract interaction, you'll likely find the solution here.", |
| 3875 | + "outline": [ |
| 3876 | + { |
| 3877 | + "depth": 2, |
| 3878 | + "title": "Hardhat fails to install or run with version-related errors", |
| 3879 | + "anchor": "hardhat-fails-to-install-or-run-with-version-related-errors" |
| 3880 | + }, |
| 3881 | + { |
| 3882 | + "depth": 2, |
| 3883 | + "title": "Installation of Hardhat or its dependencies via npm fails", |
| 3884 | + "anchor": "installation-of-hardhat-or-its-dependencies-via-npm-fails" |
| 3885 | + }, |
| 3886 | + { |
| 3887 | + "depth": 2, |
| 3888 | + "title": "Hardhat Toolbox fails to install or causes conflicts", |
| 3889 | + "anchor": "hardhat-toolbox-fails-to-install-or-causes-conflicts" |
| 3890 | + }, |
| 3891 | + { |
| 3892 | + "depth": 2, |
| 3893 | + "title": "Your contract fails to compile or shows errors in the terminal", |
| 3894 | + "anchor": "your-contract-fails-to-compile-or-shows-errors-in-the-terminal" |
| 3895 | + }, |
| 3896 | + { |
| 3897 | + "depth": 2, |
| 3898 | + "title": "The artifacts folder is empty or missing expected files", |
| 3899 | + "anchor": "the-artifacts-folder-is-empty-or-missing-expected-files" |
| 3900 | + }, |
| 3901 | + { |
| 3902 | + "depth": 2, |
| 3903 | + "title": "Errors related to Solidity compiler version or features", |
| 3904 | + "anchor": "errors-related-to-solidity-compiler-version-or-features" |
| 3905 | + }, |
| 3906 | + { |
| 3907 | + "depth": 2, |
| 3908 | + "title": "Tests don't execute or Hardhat throws errors when running tests", |
| 3909 | + "anchor": "tests-dont-execute-or-hardhat-throws-errors-when-running-tests" |
| 3910 | + }, |
| 3911 | + { |
| 3912 | + "depth": 2, |
| 3913 | + "title": "The Hardhat node fails to start or becomes unresponsive", |
| 3914 | + "anchor": "the-hardhat-node-fails-to-start-or-becomes-unresponsive" |
| 3915 | + }, |
| 3916 | + { |
| 3917 | + "depth": 2, |
| 3918 | + "title": "Tests run but fail with assertion errors", |
| 3919 | + "anchor": "tests-run-but-fail-with-assertion-errors" |
| 3920 | + }, |
| 3921 | + { |
| 3922 | + "depth": 2, |
| 3923 | + "title": "Hardhat cannot connect to the local development node", |
| 3924 | + "anchor": "hardhat-cannot-connect-to-the-local-development-node" |
| 3925 | + }, |
| 3926 | + { |
| 3927 | + "depth": 2, |
| 3928 | + "title": "Hardhat cannot access or use the configured private key", |
| 3929 | + "anchor": "hardhat-cannot-access-or-use-the-configured-private-key" |
| 3930 | + }, |
| 3931 | + { |
| 3932 | + "depth": 2, |
| 3933 | + "title": "Deployment or transactions go to the wrong network", |
| 3934 | + "anchor": "deployment-or-transactions-go-to-the-wrong-network" |
| 3935 | + }, |
| 3936 | + { |
| 3937 | + "depth": 2, |
| 3938 | + "title": "Deployment fails with \"insufficient funds\" error", |
| 3939 | + "anchor": "deployment-fails-with-insufficient-funds-error" |
| 3940 | + }, |
| 3941 | + { |
| 3942 | + "depth": 2, |
| 3943 | + "title": "Deployment using Hardhat Ignition fails or throws errors", |
| 3944 | + "anchor": "deployment-using-hardhat-ignition-fails-or-throws-errors" |
| 3945 | + }, |
| 3946 | + { |
| 3947 | + "depth": 2, |
| 3948 | + "title": "Custom deployment scripts fail to execute", |
| 3949 | + "anchor": "custom-deployment-scripts-fail-to-execute" |
| 3950 | + }, |
| 3951 | + { |
| 3952 | + "depth": 2, |
| 3953 | + "title": "Contract deployment hangs or times out", |
| 3954 | + "anchor": "contract-deployment-hangs-or-times-out" |
| 3955 | + }, |
| 3956 | + { |
| 3957 | + "depth": 2, |
| 3958 | + "title": "Scripts fail to interact with a deployed contract", |
| 3959 | + "anchor": "scripts-fail-to-interact-with-a-deployed-contract" |
| 3960 | + }, |
| 3961 | + { |
| 3962 | + "depth": 2, |
| 3963 | + "title": "Transactions revert when calling contract functions", |
| 3964 | + "anchor": "transactions-revert-when-calling-contract-functions" |
| 3965 | + }, |
| 3966 | + { |
| 3967 | + "depth": 2, |
| 3968 | + "title": "View or pure functions don't return expected values", |
| 3969 | + "anchor": "view-or-pure-functions-dont-return-expected-values" |
| 3970 | + }, |
| 3971 | + { |
| 3972 | + "depth": 2, |
| 3973 | + "title": "State-changing functions execute but don't update state", |
| 3974 | + "anchor": "state-changing-functions-execute-but-dont-update-state" |
| 3975 | + }, |
| 3976 | + { |
| 3977 | + "depth": 2, |
| 3978 | + "title": "Contract compilation takes a long time", |
| 3979 | + "anchor": "contract-compilation-takes-a-long-time" |
| 3980 | + }, |
| 3981 | + { |
| 3982 | + "depth": 2, |
| 3983 | + "title": "Can't start Hardhat console or console commands fail", |
| 3984 | + "anchor": "cant-start-hardhat-console-or-console-commands-fail" |
| 3985 | + }, |
| 3986 | + { |
| 3987 | + "depth": 2, |
| 3988 | + "title": "Hardhat plugins not working correctly", |
| 3989 | + "anchor": "hardhat-plugins-not-working-correctly" |
| 3990 | + }, |
| 3991 | + { |
| 3992 | + "depth": 2, |
| 3993 | + "title": "Scripts cannot read environment variables", |
| 3994 | + "anchor": "scripts-cannot-read-environment-variables" |
| 3995 | + } |
3890 | 3996 | ], |
3891 | | - "raw_md_url": "https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/master/.ai/pages/smart-contracts-dev-environments-hardhat-verify-a-contract.md", |
3892 | | - "html_url": "https://docs.polkadot.com/smart-contracts/dev-environments/hardhat/verify-a-contract/", |
3893 | | - "preview": "TODO", |
3894 | | - "outline": [], |
3895 | 3997 | "stats": { |
3896 | | - "chars": 5, |
3897 | | - "words": 1, |
3898 | | - "headings": 0, |
3899 | | - "estimated_token_count_total": 0 |
| 3998 | + "chars": 14684, |
| 3999 | + "words": 1668, |
| 4000 | + "headings": 24, |
| 4001 | + "estimated_token_count_total": 3320 |
3900 | 4002 | }, |
3901 | | - "hash": "sha256:56ba36249ea8216ad513b13df3de6c0e490ba214897674d30331f1c7e7edbef3", |
| 4003 | + "hash": "sha256:f9ab9d7d25947a3bb4059d812eac8b1eb77e2271cac8e7828936f8ffa115eb0b", |
3902 | 4004 | "token_estimator": "heuristic-v1" |
3903 | 4005 | }, |
3904 | 4006 | { |
|
0 commit comments