Open maurermi opened 5 months ago
This PR adds support for requesting read locks from Lua contracts. Now values yielded from contracts can include an optional second integer parameter (0 = read, else = write).
CC @ayeshaali
Update: Responded to comments from @eolesinski, additionally caught an error from testing in scripts/gen_bytecode.lua, and rebased onto trunk
scripts/gen_bytecode.lua
This PR adds support for requesting read locks from Lua contracts. Now values yielded from contracts can include an optional second integer parameter (0 = read, else = write).