add assert for r/w message
add assert for r/w message

DoooReyn/pbc,zhuoyikang/pbc,boyuegame/pbc,cloudwu/pbc,MonCoder/pbc,xiaoqunSun/pbc,owent-contrib/pbc,owent-contrib/pbc,yubobarye/pbc,cloudwu/pbc,CheyiLin/pbc,zh423328/pbc