smartpy_io | Unsorted

Telegram-канал smartpy_io - SmartPy

429

https://smartpy.io/ https://twitter.com/smartpy_io

Subscribe to a channel

SmartPy

which now kinda makes sense after typing it 😜

Читать полностью…

SmartPy

I remember you said and you mentioned the Edonet switch that I am also using

Читать полностью…

SmartPy

@claudebarde, that's what I told you some time ago (we don't analyze yet). Nicely enough, we do support GET_AND_UPDATE.

Читать полностью…

SmartPy

There is a new instruction GET_AND_UPDATE for this.

Читать полностью…

SmartPy

Here is the link to the contract: https://smartpy.io/michelson?code=eJzVV8lu2zAQvecrBjEKOEAP7TmXqpacEJElV0tyFBibtoVocSgqhxr@944WOjGtzUnQou8mckacfdlSTmMmGIdxyuEC3mCcJ6GAL3GYiECEiycmrhQCleMNF2dLxuJmvpIsCjMky1iyrIkyGG9pyIEul5xlGSRUXCHg@iITKadrBuPHcB3EdHsgGVec8rskXqRLBrvyPd@aa8TBs@KDTAPTmHoHQXZHIo2gUBOq_x3d6I49r3_xSrxIkxfG8eE4zZENWdNCXnihUc6OaOe@ewtxLthv@K78RpvZvuUph4ZO7pUjlNy1Z8aJCXcnJ7VwnFHBMhAb1qSQxERz4EetwHUjhWtYuuG0XHpkcmeg9KeuraTI6MuRDGik8qt2ZvODqOZ7ZPHnuua1cVrEhHTLOBVhmjTQ7AcatvRkJniYrOFyYlv3huMS2woMx7Gdy5bHpxoxH4h32_nuviUo1ZDtlm8EVc51@bwhmA9XftvNCFZhsuyNp04P3RhqoEu0RbdEs7KvsmGw98sm4RiaHsjI7aSc6HqbLhIdqa1i5ps9FO6D1mZ_iQ7nHUhanSiB5WHDFk8ZhKuiiglOFwI2aYQ2ZEmarzfwSCOaLJoTVOKnZmrWpC3jJMh0Mpubp_GrotvFEkf5RyzXn07JhBiWF9TStOWgio6cVHFaG94n@wjQ0Em2wjZbRCpnz3mI2Sr7B3aPohEyPuhnnYmmAguV52gTD8q2PIynLyVVDLOBxIBIV@FbpC9fVaDSljs1nMCz7wzLPZO7r2d04R36oZPc4Rz9QSlxnmOUBLvXTKIHGtZBw3WH5pbEGTkm0a9WO0X7TbcJjlS27Lo1BMQKXM92tJvemjJAz1PZhk4co7Iq1H0tG9ibYcXTuJq02kvKm7lYRXsLORqnVXRE_T8aDNbFSlHYoSqyH@2@ZagUM_63j3dy4qE9djhjoFUAMwz2H__np442OpmjfOWrfaKNADehcBUWw34qaKT0NAhxsHjO8RwPDuvSkFmtnB6MX5_UgQcMTxKdca5iBFGabotA4@X0VARcsdp@PaxhcR6JcBvJ_MyAolUO21FcWKNrJ1JRx44UsspXxWGvy1m1UdXxI_ekPpdKnNsFP2taamxEnu1pZlDtzH910vtfe8u@YivC5GL_B3qQSJI-

Читать полностью…

SmartPy

Kudos to the team, this is really a great developer experience.

Читать полностью…

SmartPy

Does anyone have a project that has been affected by the 16KB deploy limit on Tezos? If so - could you get in touch via DM ASAP?

Читать полностью…

SmartPy

For tickets, the UNPAIR instruction is almost necessary in practice to avoid `DUP`s. This is not something that the editor will tell you (yet) so you really need to enable the Edo switch.

Читать полностью…

SmartPy

Very small precision, for purely new instructions or types, we enable them by default. For some optimizations or macros that are now instructions (like `UNPAIR`), you need to enable the Edo switch.

Читать полностью…

SmartPy

Yes, we have a switch on the top-center of the page to enable Edo features.

Читать полностью…

SmartPy

Thanks alot. let me check the same

Читать полностью…

SmartPy

What you can do is writing instantiation and tests of the induced contract separately.

Читать полностью…

SmartPy

i wrote some function which deposit some funds to newly created contract. Not sure how to verify whether it is correct. basically from tests, I need to call some variable of newly created contract. Can you help? I created a viewer to see the adress and tried checking balance. it didnt worked

Читать полностью…

SmartPy

https://smartpy.io/ide?code=eJydUj1PwzAQ3fMrrE62iCJawYJUCdSJBSQEs3UkV4jU2JbPHcqv5@IP2kBAgIco933v3esHZ30QNIAP7iCABLmqandAJDYeIWAnyTUba4KHNqirSvDrcCu07k0ftJaEu232j280mxgKB4dj8eMDttZ3EsRajOatCbV4zsYdBKVicfxcsw951kE725vwMS364qhaOPAw0OlI1xDmeSlYx95PvIWaLtZBgAbWF6tqgtL6_6BsE0GMpFClvtIgoev8mrsba1Dx2J9gpo7f4Wzzfom6lKuLUxKjgBdMQX@kfLlKbC8vVT1pcQKhFjDYvcmdA77JlVKz_J6wyLgSz_cu9NbEU9@wE4nULO0cSwPIDijLKr@4fgu73W@O__flGKwHQ1uMAtjzverCwLmKv0d@s6LqT5Aa69DoCEmpicHHHhFxkg5IQRoYxvMskloWqhqxxUjGQy0a8L0tZ6CgiytLq5jN61LmPqLIdpFS2mURJKt6WiXO1hyecWUdzKY3kX1VvQO_c0k9

Читать полностью…

SmartPy

Thanks. The example you shared was very useful. I was able to resolve my issue

Читать полностью…

SmartPy

I knew about the tickets not being duplicable but I didn’t know it applies to big maps as well

Читать полностью…

SmartPy

@claudebarde, are you using the Edonet switch?

Читать полностью…

SmartPy

Does that mean I cannot duplicate a big map that contains tickets?

Читать полностью…

SmartPy

This probably comes from the DUP on the big map in the last entrypoint. You cannot do that because it would allow you to duplicate the tickets stored within the big map.

Читать полностью…

SmartPy

Hey! I wrote a contract using tickets with the Michelson editor of the website, it looks like there is no issue but when I try to deploy the contract through a node supporting Edonet, I get an unexpected_ticket error from the node. I haven’t used the Michelson editor that much before so I was wondering if I am not missing something 😜

Читать полностью…

SmartPy

I just deployed a smart contract from within the browser using SmartPy's editor and Thanos for the first time. Truly magical stuff to not have to futz around on the command line.

Читать полностью…

SmartPy

And thank you for making the new instructions available so early in the editor, it makes trying them a lot easier!

Читать полностью…

SmartPy

OK, I wanted mainly to work on tickets but it’s good to know, thanks

Читать полностью…

SmartPy

This is a good example where we can see some optimizations between Pre-Edo and Post-Edo: https://smartpy.io/michelson?cid=QmUDHEGWCEi7vkg5bsKGbHSNTC6ca72S9jbtbhjUxe9jJJ&k=c281edd41a2ddbf67663

Читать полностью…

SmartPy

Hey! Does your Michelson editor support Edo features like tickets? Thanks!

Читать полностью…

SmartPy

Like this: https://smartpy.io/ide?code=eJydU0uP1DAMvvdXRMMlEVXFjJYLUiXQnriAhJZzZFIPW6lNQpwiDb8eNw92Ch200ENV24nt79Fx9i5EQTOE6C8CSJBvGjMBkbgPCBEHSb67dzYGMFG9aQQ_A56F1qMdo9aScDqX_PqsYZdK8eJxvfzwCY0LgwTRizV8b2MrvpTgA0Sl0uX0ess55FkX7d1o469pKZdGtcJDgJmuR_qOsMzLxTb1_sxbqO1iA0TooL87NRuULvwPSpMJYiSVKvUnDRKGIfTc3TqLisf@DWbueAunKftl6vJZXZOSGAV8xVwMT5QfT5nt42vVblpcQWgFzG6xpXPEH_Kk1C6_VywyrszzRx9HZ5PU7ziJRGqXdq7lAeRmlHWVZ6hvYJqeI_6_L8dgA1g6YzLAwnq1lYFXKn0@8Vsc1f4GqXMerU6QlNoELPaKiA_piBSlhXmV55DdclDNii1VCh4yaCGMrspAUddUsVYNu8ejLH1Ete0hHzHHakh29faWeNlzeSdVfLB7vEvs58oL8cBLkXBWxEcUox0Wwz9A5SjPv_FXlHxSq3hVXjm1Tz7t2aU7S@Srt_LZM1J1YbGSF4ai85ax7xjG80XjtwUmWW9mFVtxd1LNT1h7kMQ-

Читать полностью…

SmartPy

/channel/SmartPy_io/6987

Читать полностью…

SmartPy

Happy to announce that SmartPy.io now supports Beacon and Thanos extensions.

Читать полностью…

SmartPy

Ok, I was about to send you another link. We can confirm the simulation engine support it.

Читать полностью…

SmartPy

Could it be because SmartPy doesn't handle it already in the simulation engine?

Читать полностью…
Subscribe to a channel