Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • tezos tezos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1,949
    • Issues 1,949
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 264
    • Merge requests 264
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TezosTezos
  • tezostezos
  • Merge requests
  • !2460
The source project of this merge request has been removed.

Increase `max_operation_data_length` Constant

Closed Keefer Taylor requested to merge (removed):master into master Jan 09, 2021
  • Overview 38
  • Pipelines 0
  • Changes 6

Context

Increase max_operation_size constant of the protocol from 16KB to 32KB. This has the effect of slightly more than doubling the maximum size of a smart contract, but also allows for larger operations in general.

A detailed rationale for this change is provided here: https://forum.tezosagora.org/t/increase-operation-size-limit/2593

Manually testing the MR

I tested this operation manually by:

  • Building a smart contract operation that was over 16KB in size
  • Injecting a contract origination operation to rpctest.tzbeta.net (Tezos Foundation's Delphinet Nodes) and verifying that I received node.prevalidation.oversized_operation
  • Building a flextesa sandbox locally (following this guide and injecting the same origination operation, verifying it was able to succeed.

Describe how reviewers and approvers can test this MR.

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Provide automatic testing (see the testing guide).
  • Add item in the Development Version section of CHANGES.md (only for new features and bug fixes).
Edited Jan 28, 2021 by Keefer Taylor
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master