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

Mocknet block limits #4890

Open
wileyj opened this issue Jun 18, 2024 · 2 comments
Open

Mocknet block limits #4890

wileyj opened this issue Jun 18, 2024 · 2 comments
Assignees
Labels
chore Necessary but less impactful tasks such as cleanup or reorg icebox Issues that are not being worked on

Comments

@wileyj
Copy link
Contributor

wileyj commented Jun 18, 2024

Is there still a benefit from having large block limits for mocknet, compared to testnet/mainnet?
I anticipate it can lead to some strange behaviour where a contract may be valid on mocknet, but rejected on testnet/mocknet.

Proposed change: use the same limits as testnet/mainnet for mocknet (or even have it configurable for mocknet only)

current block limits in mocknet:

    {
      "epoch_id": "Epoch25",
      "start_height": 6,
      "end_height": 9223372036854776000,
      "block_limit": {
        "write_length": 18446744073709552000,
        "write_count": 18446744073709552000,
        "read_length": 18446744073709552000,
        "read_count": 18446744073709552000,
        "runtime": 18446744073709552000
      },
      "network_epoch": 10
    }

compared to mainnet:

    {
    "epoch_id": "Epoch25",
    "start_height": 840360,
    "end_height": 2000000,
    "block_limit": {
      "write_length": 15000000,
      "write_count": 15000,
      "read_length": 100000000,
      "read_count": 15000,
      "runtime": 5000000000
    },
    "network_epoch": 10
  },
@wileyj wileyj added chore Necessary but less impactful tasks such as cleanup or reorg icebox Issues that are not being worked on labels Jun 18, 2024
@jcnelson
Copy link
Member

jcnelson commented Jun 18, 2024 via email

@saralab saralab added this to the Nakamoto-3.0.x milestone Jun 20, 2024
@wileyj
Copy link
Contributor Author

wileyj commented Jun 20, 2024

  1. mocknet should start at epoch 2.5
  2. should mocknet be deprecated? is the more pertinent question to ask here, since mocknet is not compatible with nakamoto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Necessary but less impactful tasks such as cleanup or reorg icebox Issues that are not being worked on
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

3 participants