subnet-cli
subnet-cli copied to clipboard
[DO NOT MERGE] *: use "avalanchego/wallet" for soft key, and others
Found some weird behavior in our avalanchego wallet code (where GetTx
fails if the subnet TX is not found in the cache, e.g., run add subnet
and add subnet-validator
separately... existing internal/wallet library works)
I'm not able to reproduce this. Can you provide a snippet that demonstrate this?
Here is the snippet I used:
class MyTool
def onKeyUp(key, repeat, flags, view)
puts "onKeyUp: key = #{key}"
puts " repeat = #{repeat}"
puts " flags = #{flags}"
puts " view = #{view}"
end
end
Sketchup.active_model.select_tool(MyTool.new)
Oh, you were talking about the onKeyDown
event.
I tried that as well, unable to reproduce:
class MyTool
def onKeyDown(key, repeat, flags, view)
puts "onKeyUp: key = #{key}"
puts " repeat = #{repeat}"
puts " flags = #{flags}"
puts " view = #{view}"
end
end
Sketchup.active_model.select_tool(MyTool.new)
Logged as: SKEXT-3890