permaweb / aos

An operating system for AO: The hyper parallel computer
https://ao.g8way.io
Other
68 stars 46 forks source link

ao.send bug update aos 2.0 #322

Closed zyjblockchain closed 4 weeks ago

zyjblockchain commented 1 month ago

When I upgraded to aos 2.0, ao.send in the code was broken

Test

  1. add test code

    image
  2. test

    image
  3. result ao.send() https://ao_marton.g8way.io/#/message/pIycJqYJvW1becMNj7_yz8AbXE6j-2uIdLTJZ-Mz8Tw

    image

Send() https://ao_marton.g8way.io/#/message/HoEUIn-UW9zbd-D_JjRctQGXIbpL-EjinS0p5h_QFxI

image

END

After 2.0, cu only handles Send() but not ao.send().

image
twilson63 commented 1 month ago

Can you make sure ao is available in global scope? did you .update or is this a new 2.0 process

twilson63 commented 1 month ago

Screen Shot 2024-08-13 at 10 26 30 PM

I am struggling to reproduce

I will keep trying

zyjblockchain commented 1 month ago
image