subnet-cli icon indicating copy to clipboard operation
subnet-cli copied to clipboard

[DO NOT MERGE] *: use "avalanchego/wallet" for soft key, and others

Open gyuho opened this issue 2 years ago • 0 comments

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)

gyuho avatar Apr 14 '22 03:04 gyuho

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)

thomthom avatar Oct 31 '23 09:10 thomthom

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)

thomthom avatar Oct 31 '23 09:10 thomthom

Logged as: SKEXT-3890

sketchup[bot] avatar Nov 14 '23 15:11 sketchup[bot]