github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/fvm/blueprints/scripts/setExecutionWeightsScript.cdc (about)

     1  transaction(newWeights: {UInt64: UInt64}, path: StoragePath) {
     2      prepare(signer: auth(Storage) &Account) {
     3          signer.storage.load<{UInt64: UInt64}>(from: path)
     4          signer.storage.save(newWeights, to: path)
     5      }
     6  }