Cheng Wang

Results 117 issues of Cheng Wang

`read[Int]("1.1")` returns 1, instead of throwing an error

Three minor updates 1. Enable pull model for incoming connections too. Right now, pull model is only enabled for outgoing connections. 2. Both confirmed and unconfirmed connections are considered when...

To potentially resolve this issue: https://github.com/alephium/alephium/issues/706

* fast parse logging + opaque

It should work as follows: ``` // foo.ral const oneALPH = 1000000000000000000 TxContract Foo() { } ``` ``` // bar.ral import 'foo.ral' TxContract Bar(x: U256) { fn bar() { x...

high priority

Quote from @killerwhile ``` I think it's worth releasing a 1.3+ to ensure 1.3.x series report properly outdate protocol, as well as potentially warn about protocol deprecation. ```

``` ESC[33m2022-06-25 09:25:12,407ESC[0;39m ESC[32m[-dispatcher-7]ESC[0;39m ESC[31mWARN ESC[0;39m ESC[36ma.a.OneForOneStrategyESC[0;39m - null ESC[33m2022-06-25 09:25:12,582ESC[0;39m ESC[32m[-dispatcher-5]ESC[0;39m ESC[1;31mERRORESC[0;39m ESC[36mo.a.u.DefaultStrategyESC[0;39m - Unhandled throwable, resume the actor: java.lang.NullPointerException at org.alephium.flow.network.sync.BlockFlowSynchronizer$$anonfun$handle$1.applyOrElse(BlockFlowSynchronizer.scala:71) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:244) at akka.actor.Actor.aroundReceive(Actor.scala:537) at akka.actor.Actor.aroundReceive$(Actor.scala:535) at...