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

Deploying Issues #142

Open
Omeiza559 opened this issue Feb 15, 2024 · 1 comment
Open

Deploying Issues #142

Omeiza559 opened this issue Feb 15, 2024 · 1 comment

Comments

@Omeiza559
Copy link

Upon endeavoring to deploy the ONFT1155 contract onto the testnet via Hardhat, I have encountered a predicament of considerable complexity. The error message proffered indicates that the magnitude of my contract surpasses the stipulated threshold, thereby precipitating impediments to its deployment.

Elucidation of the Issue:

The exemplar size of the ONFT1155 contract stands at 24.190KB, whereas the dimensions of my contract exceed the threshold, tallying over 28KB.

Mitigation Endeavors:

In an earnest bid to ameliorate this conundrum, I have pursued diverse avenues, including but not limited to:

  1. Configurational adjustments to the optimizer parameters within the confines of the Hardhat configuration.
  2. Delving into alternative iterations of the Solidity framework.
  3. Conducting a meticulous review of the contractual codebase to identify and excise redundant segments.
  4. Scrutinizing the import declarations for any inconsistencies or incongruities.

Anticipated Outcome:
I envisage the deployment of the contract to transpire seamlessly, remaining within the confines of the predetermined size threshold.

Current Manifestation:
Regrettably, the persistent issue pertaining to the size of the contract obfuscates the successful execution of the deployment process.

In earnest solicitation of aid and insights to surmount this formidable obstacle engendered by the dimensions of the contract, I beseech your invaluable assistance. Please peruse the repository linked herewith for a more comprehensive elucidation of the matter at hand. Gratitude is extended in anticipation of your kind assistance and guidance in navigating this labyrinthine predicament.

@Aytunsky
Copy link

Let's keep working

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

No branches or pull requests

2 participants