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d\xa0Z\xe1\nP|\xa3\\|\x0b\x92\x11\xae\xa0+\x8aoD\xf1\x8dr1/\xc8C\xbd\xa0\x14\xee\x05Y\xc8Wx8P|\xa34\x04\x0c\x1210\xc8C\xc1bS0G\xe1`P\x16 \x83\x04,\x0c\xd2\xd10\xc8\xc0\xc3\x10S&\xc57R\x96\x8c\x8e\x05\xbdQ|#\x8ao4\xb32\x88\x19\xe0I)\xc0\xa0f\x90\x86\x9bA\x8c\x80\xc8\xc4\xce\x00\xe1\x97\xe2\x1b\x05,\x0bK\x83h\xd8\x958\x9e\x06\x85\x115(\x84\xa9\x01\xc57\xd2\x96\x85\xb0A\x12\xc6\x06\x14\xdf(\xf6\x14(\xbe\xd1\x91\xe8\x1b`\xf078\x02\x81\xf3:\xe4\x14\xdfHY\x1c\x8d\x03\x8ao\xe4\xfbA9\x94\x0eP8\x1dd u\x90\x86\xd5A\x0eZ\x07\xc9x\x1dP|#\xa7\xe5\xa0w^g\x14\xdf\xc8\x18\xc57r\x18eAq\x18v\xe7\x06H%$\x95\xd06R I%$\x95\x90TBR I%$\x95pn\xa4\x12:\x0c[JR \xc3\xfd\x8aT\xc2C#\x95\x90T\xc2\xd8\xf6[\xe8\xaf\xa4\x12\x92J\x88*\x04\xa9\x84q)-\xf8\xe7\xe8\xf5\xa4\x12\x92J81R I%$\x95PY\xac\x94X\xa5\x85TBR I%t\x18eA\xb1\x8c\xb2\xa0P\x16\x94x\xd7\xa7,(=eA\xb1\xec\xb4YP\x0e\x9e\x99\x0c\x7f0\x0d0\x90\x9f\x04e\x16\xa8`\xf6\x1bJ\x89\xa2\x8cR\xa2PJ\x94\xd1(%\n\xa5D\x19\xad(!\x93B\xc7$\x911\x94\x12\xe5X\n&\x83\x80)B\xbf\xa4\x93/\x94\x12\xe5\x18\xd2%\x85r\xc9 \\(%\n\xa5D\xa1\x94(XB\xa5(\x9d\x92C\xa6PJ\x14\xdf\xcf\xa2\x04J\x02}\x82I\xa6\x91B\x9dPJ\x94\x9c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\xbc\xd8J\xb04\x88\xe8Q\x85\xc4\x01\xa1\xa7\xe1j\x9eo\xc50\xeb\x021%\x07y\xf4/\xea\x97\x07\xe1$\xb5\x07\xf9\x1a\xd4X\xcd\x81 \xef&g\xb4\xc7G\xa6\x95\x1e(@3i\"\xdbx\xbe^\xe9\xdcM\xa3\xd0j\x14Z-\xcelPh5\n\xadf\x9b3\xb4\xda\xc10\x9c\xd22z\xe6-\x00\xcd\x98\xb7\x02e\x0eWF\xb0\x0c\xc12\xa3\x11,C\xb0\xcch\x04\xcbp\x82e\xdcF\xb0\x8c1\x82e\x08\x96!X\x06\xb9J\"Xf0\x82el#X\x86`\x19\x87\x11,C\xb0L\xb4\x87\x10,\xe3\xbf\x86`\x99\x89\x11,C\xb0\x8c\xbf\x0b\x10,C\xb0\x8cmXp\x81`\x19i\x04\xcb\x10,\xf3\xeb\x80e\xac\x10,\x93\xa0j\x06\x1d96\"\x1c\x8e\xa0\xa1\x90j\xb9\xf1\xaa(\xa4\xda \x1b7\x1e\x0c\x8cB\xaa\x95hE\n\xa9F!\xd5~\xc3!\xd5\xacHD\xcf\x7f\x11/\xe4@L\xb5\x0f=\xeb\xec\xd0@v85\xcb\x8f!\x84,\xeaS{:\xe0=-o\x8fL\x13u\xf1\xab\xea\x1b\x91\x0c\xed\xe3U\xaf\xe5\x9bb\xfa\xcd\xaf\xdf\x1e\xb0\xacx\xa5\xce_x:E\x94\n\xb6J\xa7\xe9\xe7<&\xd8\xae%\xe1\xc0\x84\x03\xc7\x06\x08\x06'\x01\xc2\x81 \x07\xf6\xfe\x92p`i\x84\x03\x1f\x1a\xe1\xc0\x84\x03\xfb\x8cp`\xc2\x81\xa5\x11\x0eL80\xe1\xc0\x84\x03+#\x1c8\x87\xa8%\x1c\x98p`\xcb\x08\x07v\x18\xe1\xc0\x84\x03\x13\x0eL8\xb0w\xf4\x10\x0eL80\xe1\xc0\x84\x03g\xe1\xc06U;#t,7\xe9dm*o7\x93\xba\xa7\x02\xdfr\xd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15$\xf6C\x89\x82\x8fP\xf0\x11\xb7Q\xf0\x11i\x14|\xe4\xd0(\xf8\x08\x05\x1f\xf1\x19\x05\x1f\xa1\xe0#\xd2(\xf8\x08\x05\x1f\xa1\xe0#\x14|D\x19\x05\x1f\xc9\x89\xdfA\xc1G(\xf8\x88e\x14|\xc4a\x14|\x84\x82\x8fP\xf0\x11\n>\xe2\x1d=\x14|\x84\x82\x8fP\xf0\x11\n>\x92\x13|\xc4}\xd8tSO\xbe?\xbfB\x00\x12\x05A\xc5\x0b\xae\x88\\\x131\xe5\xeb\xc4I)}\xdc\xfcy\xc5y\xb5\xb8\xdb\xb2\xc6\xd0\xa4\xbe\xa3\xe7/\xc7\x1f\x0e\xa7\xd0\xe5\xe6\x8b\xf5\xefv\xc3\xdcU\x9fL(\x15u\"}h\xd2\x83\xb3\xe8\x96\xebG\xa6\xad\x1e\xe8\xb1\xf4\x83\xe6\xb2\x8d\x7f\x03\xf92z\xac=i\xfb\x0e\x93/6\xb0u\x87\x1e\xd4\xbc\x1d\xfe\xa5\xf6\xef\xcf\x8e\x8dm\x9d*\xf0\xfez<\xbe\xecq\x19\xa1\x1b\xbfE3\x1d6\x86\xbb\xd2>OC\x9d\x9d\xbf\x88\xd55\x144\x00\x136`\xa47W\x03$7\x16\xdfy\x89\x94\x05\x1b\xef\xb9\xa7\xc8`\x00\xc4\x80\x00\x84\xa6\x0f\xb8\xc7\x0d\xc8\xbdac\xa9\xfa~\xd0\x99{\x937\xb0OPZ\xe7\x87\xb8\xd6\x0f\x19z\x7f\xb8\x02\x15\xbfCk\xfePJ\xf7\x87L\xed?\xe8P4.Z\xff\x87\xe3\x19\x00H\xe6\x00\x82\xae\xb4>\x99\xc4\x02@i\x1e\x00\x12\x99\x00H\xe5\x02\xc2={`\x06\xb0l\x00\x94\xe6\x03\x00\xc7\x08@IN\x00\x8ef\x05 \x8f\x17\x80R\xcc\x00dq\x03\xe1\xe1P)\xee>:nN\xc2\x0f\xc0 \x19\x028\x0dG\x00\x89,\x01\xe4\xf1\x04\xb1)\x18\xc7\x14@Y\xae\x00\x12\xd8\x02H\xe7\x0b \x831@L\x99O\x10\x9c\x01\x94`\x0d \xc6\x1b\x00~y\x86\xe0\x0e q\x15\x97\xcc\x1f\x04\xbdI6\x01\xc1 @B)\x0b\xb2\x08\x90\xc4#@i&\x012\xb9\x84p\xbf\xea\xe3l\x02\xe4\xf3 ^\x7f\xe2\x8e1F\x01\x8aq\n\x80\x97\xdb\x01\xc3+@\x1a\xb3\x001\x19-\x93]\x00\x84\xdf\xc0V}!\x8e\x01\xb2\x1a\x17\xcf3\x00\xa2\x96\x19\\\x03\xe4\xb2\x0d\x10\x96oQ\x8c\x03\x14\xe6\x1c\xa0\x10\xeb\x00\xe1\x1eS\x8ey\x00<\xf7\x00H\xf6\x01\xd0\xfc\x03\xe0zT:\x07\x01I,\x04\x04y\x08(\xc5D@*\x17\x01\x99l\x04\xa4\xf1\x11\x80x\n\x91\x81\x16\xbf\x1e\xcfK@Af\x020E\x0b\x8c\xb3r\xfc\x04`\x18\n8\x82\xa3\xf0:\x14?\x0c\xb1\x14P\x9a\xa7\x80(S\x01\xb9\\\x85\xd7\x9b\xfa\xba\x0fot\xc4\xf9\n\x08\xca\xc0\x10\xe4, \x8b\xb5\xf0\xba\n2\x18\x90\xcbax\xbd\xa9\x05t`\xbb\xb1\x1c\x8f\x01(&\x032\xb8\x0cHc3 \x87\xcf\x80dF\x03\"\xaf\xf2\x88n\x0e \xda9\x96\xd7\x80\x1cf\x03R\xb9\x0d\x08W<\x87\xdf\xf0:\xb3\xe8\x08\xec\x90\xc1q\x1c\xc1\x01\xd1\xac\xc3,\x07\x94\xe59 \xc6t@\x98\xeb\xf0^\x93\xcb{@\xc1\xbe\x9b\xc0}@\x12\xfb\x01\x81\xd5\x8b9\x1b\xaf\x04\xbe\xe1hFH\x0e41\xbbF\xc5s\x1ak\xa4\xe2\x95\n4b\xc7\xb9\xf7z\x1c\xb3\x11\xf8\x94\xf9\xac\x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xb9\xd4\x80\xd7\x9b\xfa\xba\x0fot\xc4\xe9\x01\x08\x8a\x9c\x10\xa4\x08 \x8b$\xf0\xba\n\x12\x06\x90K\x19x\xbd\xa9\x05t`\xbb\xb1\x1cm\x00(\xe2\x002\xa8\x03H#\x0f \x87>\x80d\x02\x01\"\xaf\xf2\x88*\x0c \xca0\x96F\x80\x1c\"\x01R\xa9\x04\x08W<\x87N\xf0:\xb3\xb4\x7f\xec\x90\xc1Q\n\xc1\x01\xd1\xac\xc3\xa4\x02\x94\xa5\x15 F,@\x98Z\xf0^\x93K3@\xc1\xbe\x9b@5@\x12\xd9\x00\xde\xd5\xcbi\xf2i\x1ba\xd1q\xcd\x90\xe8RK\x8f\xd3l\x9f\x15\xaft\xc4\x911\x89\x9a\xcf\x1beS\xa3ljq\xe6\x80\xb2\xa9\xf5\x94M\xcd\xb2\x84lj\x03qT \xec\x02\xe5Q\xa3\x00\x0c\xce\xbfS\x00\x06\xcb(\x00\x03\x05`\x18\xad(\x92\x92\x82\xa3$\xa1(\x14\x80\xe1X\xec$\x039)\x82\x9b\xa4\xa3&\x14\x80\xe1\x18\xb4$\x05+\xc9@J(\x00\x03\x05`\xa0\x00\x0cX$\xa4(\x0e\x92\x83\x82P\x00\x06\xdf\xcf\xa2\xc8G\x02\xee\x819\xba\x9f\x82yP\x00\x86\x9c\x18\x061\x8c\x83\x020$\xe0\x1aHT\x03\x83i\xe0\x10\x0d\n\xc0 -\x07\xc3H@0(\x00C\x01\xc4\"\x8aW\xe4\xa2\x15\xde7'\x05`80\n\xc0\x90\x81D\xc4q\x88T\x14\"\x01\x83HF \xd2\xf0\x07\n\xc0\x90\x868P\x00\x86\xc1(\x00\x83\xb6\xe3\x020\xa8\xacS\x93\xa8\xee\xfa\xac\xb6'\x1c\x81\xe5\xfbTA\x19\xac\x048\xea\xbc\xba\xaf>\x97\xa2\xa8\xf5\xf2\xa1\x94v\xdfO6\x1fB<\xc3c\xb37\xfe\x04>\xf4\xe2\xdd\xee\x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.\x1c\x8d\xe0BNp\xa1\xdb\x08.4Fp!\xc1\x85\x04\x17\"WI\x04\x17\x0eFp\xa1m\x04\x17\x12\\\xe80\x82\x0b .\x8c\xf6\x10\x82\x0b\xfd\xd7\x10\\81\x82\x0b .\xf4w\x01\x82\x0b .\xb4\x0d\x0bz\x11\\(\x8d\xe0B\x82\x0b\xffu\xe0\xc2\xc4\xd0z\x87\xc8\xc4P\xa5cK^*\xd2\x9e\xf8\xce\x97l\x89||\x81\x08z\x97\xf2\xefN6d\xdb.\xf7\x1bfu\x00}\xed\x8c\x05\x91\xb7Rn\x1e\x99:>P\x0c\xc4n\x0c\xdb\xbc\xae *,\x8a\x8f\xb0e\xd5I\xae\xa4w\x86\xd6\x83\x88\xe0 !\xd1\x13b\xa5S\x16\x13?!\x18v\x0e\xa2\xca\xf0hq\x86C\x99\x83\xe4\x10\xed\x03u\xd3\xd7K6\x99\x10\xbc^\x94\x8fh\xa1\x83\x1b\x960\x96\xe5Z\xfc\xcf\xb48\xde\x8b\xec\xeeY\xac\x00\x81\xcdPa\x8f\x8dx\xf5\x04\xce\xbfp\xd6\x88W\xa2U\x8eYC\xfas\x16+\x93/\xc0J\xacOk\x0e\xd5n\xb7\x91b\xb3/\xeeY\xbc\x84\xefuG\xbfR\xb7\xf7\xe5}\xd4\xbf\x8a\xb5\xaf\x8d\x0d\xef\xea\xc5G\xf1\xf6o\x02\xca\xb6\xda\xed\xef\xda-,\xeb\xd5\x8au\xac\xe1C\xffqo[\xc6j\xf4\xa6\xee\xa5j9J\x16z\x04\xab\xdb\xa8\xb5D\xc3>\x8f\xb7\x11\xe5\xf5\x8d\xbfz\xf1Q\xb4D\xdd\x99\xaf>_U\xda\xc6Q^]V=\x17O\x9a\xd67 O.tg\xd1T\xee\xe2\xa4\x8c\xe2b\xf4\xcd\xaf._\xcd|\x11\x19CdLl\x92\xc3(+@d\x0c\x911\xde_\x12\x19#\x8d\xc8\x98C#2\x86\xc8\x18\x9f\x11\x19Cd\x8c4\"c\x88\x8c!2\x86\xc8\x18eD\xc6\xe4\xc0%D\xc6\x10\x19c\x19\x911\x0e#2\x86\xc8\x18\"c\x88\x8c\xf1\x8e\x1e\"c\x88\x8c!2\xe6\xb7@\xc6$P\x18\xfe\x08\x1f\x164\xe0\x0e\xe3\xa14I\x17\x9f\xa1?Z%\x87\"\xfeC\xa5\x1f\xd2\x1a\xa6\xf8\xca\x8c\x04\xf1\x90\xbf\xd4\x7fz\xb0\xc8\x86\x17\xab\xf8\x16JY4\xccG\xd2N\x11&c!*\xa6\x87\xe4*z\xb5Y\xe4t\x17+\xeeI2\x0e&\xe1\x1eA\xd4\x03\xd1\xa6\x89\x88\x07\x02\xef\xc0\xdf4\xb0\x93\x97\x8ct\x04w\xe6q8\x87.\x95\x97\xd3\xa8n\xdb=\x97\x81<\xa6\x93\xc6\xcc\x15\xe5\x0c\xa4\x9c\x81\xf1.N9\x03{\xca\x19h\x993g\xa0\x1bO\xd2\x0b\x10,\x9fdVB\x04(\x11\xa0\xe4\xf8;\x01J\x96\x11\xa0D\x80\xd2h\x04(q\x02\x94\xdcF\x80\x921\x02\x94\x08P\"@ \xb9J\"@i0\x02\x94l#@\x89\x00%\x87\x11\xa0D\x80R\xb4\x87\x10\xa0\xe4\xbf\x86\x00\xa5\x89\x11\xa0D\x80\x92\xbf\x0b\x10\xa0D\x80\x92mXX\x84\x00%i\x04(\xfdZ\x00\xa5\x13\x87\xee\x89\xf0G\x96\xdb\xf488\xa9\x11|(=`Z\xee5J\x0fx\xc2\xc6\x8d\xf7QJ\x0fX\xa2\x15)= \xa5\x07\xfc\xb5\xa6\x07\xc4\xa2\xc32\x1f`\x1f\xcf\x06\xa8\x00Cg\x06@\xf9\xa7\xbb\xea\x93y\x87\xad\xebO\xac\x81a]\xe0\xa0\x86\x1f\x99:?hh\xb8(\xb7\x18E\x7f\xa3\n\x0c\x9e\xb6+\x01\xfd~\xe5,} \xb0o\x00\xf5\x8d\xb6a\x12\xe6\x1b\x85|\xb1\xb7\xf3*a%\xf1^\x0c\xdc[\x04\xedE@yiL\x1e!y\x84\xe4\xb9\xfeNH\x9ee\x84\xe4\x11\x927\x1a!y\x9c\x90<\xb7\x11\x92g\x8c\x90\x04\xaf\xbc\xe6\xd5\xe9\x95!\x9e\x86.\x8eE\x8a\xfc\xc5ldr^-\xee\x94\"c\x15\xce\xf3\x08$i\xed\x80\x16\x94\xe1\x0b\xf2r\xb9\xecX\xdfO\x1f\xbb\xa7\xc9\xd5\x9c\x14\xbe\xe7\xd1i)y\x84$\x00\\\xf5\x00\xb9#m,\x95*\x08:so-\x07v'J\xd3\x05\x10'\x0c \x832\x08W\xa0\xe2wh\xd2\x00J\xd1\x06\x90I\x1c\x04\x1d\x8a\xc6ES\x07p\xce\x86b\xc6(\xd0\x06\x05\xdap\xfc\x9d\x02mXF\x816(\xd0\xc6hE\x11\x97\x14\xbc% m\xa1@\x1b\xc7b,\x19\x08K\x11|%\x1d]\xa1@\x1b\xc7\xa0*)\x98J\x06\xa2B\x816(\xd0\x06\x05\xda\xc0\"&E\xf1\x92\x1c\xb4\x84\x02m\xf8~\x16EH\x12\xf0\x11L\x88\x86\x14l\x84\x02m\xe4\xc4\xaa\x88a!\x14h#\x01\xff@\xa2\x1f\x18\xec\x03\x87|P\xa0\x0di9XG\x02\xd2A\x816\n \x1bQ\\#\x17\xd5\xf0\xbe9)\xd0\xc6\x81Q\xa0\x8d\x0c\xc4\"\x8eW\xa4\xa2\x15 XE2R\x91\x86SP\xa0\x8d4d\x82\x02m\x0cF\x816\xb4\x1d\x19h\xc3\x13\xc5\xc1r\x91\x1e\xb3\"5\xbc\x86:\x92}fT!_\xf1g\xbb\x04\xb9\xca\xceA\x7f\xf3\xa999\n\x8eK\xa9\xc9Rg\x82*L\xb6\xf2\x92\xa9\xb6\xd8\xaa\xca\xc4\xdf\xe1FD\x86\xaa\x92\xa5\xa4\xcc\x14\x93y\xf3\xcc\xd4\x93\x1c\xc5d\xa6\x8c\xcc\xef0\xbdA\xae22(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8\xaf \xf1\xb7\xed\x1c\xd6\xb1\x1a\x06p\x1az=$a|\x86)l\x86\xa9\\\x86\x01,d\xebH\xc8\n\x07Y\xe1 \xa3\xfe^8\xc8\x14)\x1cd\x85\x83l\x96\xac\xf0\xeb\x1a\xf0u\x15\xf4Z8\xc8R\x01\xd7\x08\xb85\x0b\xd8\xba\x1ej-\x1cd)\x10\xeb\x1a\x8053\xbc\x1a\x06\xaef\x84VC\x81U\xe2 P8\xc8\x96\x12\x00\xa5\x86\xee\x92V\xc3\xa8\x85\x83,\x08<\x8d\x81N\x0b\x07\x99\xed1/\\\xba\x02,\x0da\xafZ\x03\x94\x16\x0e\xb2\x18\x1a/\x1f0Z8\xc8V\x80\xa1\x81Ph\x08\x10\x1a\x06\x83\x16\x0e2.1\xc0\xe7\n\xd8\xb3p\x90e\x809\xbd g,\xc4i]9\x0b\x07\x99!\x85\x83,\x02\xca\xf4\x03\x99ka\xcc\x15 \xe6j\x08s\x1d\x80Y8\xc8\xd6A\x96\x85\x83l\x92\xe7\x80)s\x8c\xb9\x15\x10e8@\xf9\x8c\x1cd\xe3X\x98\xbf\x92\x00\x10\xa7l\xdf\xaf\xcdF6%&\xfb\x9b\xf0\xebT\xd5\x97\x85=\x1e\xeb\xf7O?\x7f\xfa\xfd\xcf\x9b\xba\xdb\x9c\xf6\xd5P7\xbb\x9f\xff\xcf\x965\xed\xc1\x91l\xad8@\xce\xe7\xf7x\xcb$.U\x1d&\x8a\x80\xf6#kzP\n\x90\xab\xfc\xa1\xea>r\xa4z\xd2\xb6p\xe7c\x966\xaf\x8b\xf8m\x91\xa8\xad\x94,\xfe\xfc\xcdfk+m\xbf\xc3._\x01\x86:!l\xa5\x13\xfc8\xb6i\xb9\x10\xd9V\xbf\xe1\xf5\xd5\xb9nq\n\xbe]\xf0m\xb7s\xf7\x19\\\xc3\xae\xb5C5 \xa0\x0f\xbfM[\x0b\xa3\xb1d\x81P\xed\x0f\xce\xc1\xdc6x\xaa^=\x1e\xfa\xba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\x8c\xbc \x1b\xe58_\xe4<\x8bD\x97\x97T\x84\xc3\"\x08\x99\xbf\xe8\xae\xb1\xae5\x0e(0.\x8f\x9e\xc5\xa1\x11\x02\x82\xf8\\\x10\x04\xf8}\x06\x10p\x14\x97\x12\x0bGX\x15.\xcf\xd5\x96\xada$,aU\xe6\x80+ \x16\xb2\xb0j\xe3\x95\xf2\xc0\x16\x90\x03\xba\x80x\xf8\xc2\xaa\xaf\n\x820 \x0d\xc6\x80X(\xc3^myW\x8d\x0f\xce\x80HH\xc3\xaal\xbe\xbf\xc6\x0dk@\x02\xb4aW(\xee\xb4q\xc0\x1b\x90\x13\xe2\x00?\xcc\x01\xb9\xa0\x0eH\x82;`=\xe4\x019`\x0fH\x80>\x1c\xf6\x89<1\xcd\x92\x19\x02\x81g\x82A ?\x14\x02+\xe0\x10\x88\x86D\x9c6\xdc\x0d\x8b@\x144bU\xe5\xbe\x9dg\x96\x15\x10 \xe4\x86I\xc0\x0b\x95@*\\\x02\x19rX<\xd0 \xac\xd8%\xe5\x84P\xc0\x0b\xa3@`\xcd\xe2\xe0\x14R\x95\\#\xdc\x90\n\xe4\x84U \x0dZ!\xf5\x89\x85\xde\xbe\xb1I\x80XH}\xf4MC\xb3\xa4C-\x10\x86(\x80\x0fr\x81p\xd8\x05\\\x9e\xc8\x08\xf8\x05<\xfa,\x9e\x96\x0cP\x0c\xac\xee\xbc0H\x06\x02{(\x10\x9a\x81\x18x\x06\xec\x9el/L\x03\x19\xa1\x1a\xc8\x00\xd7\x80}\x14\xe4\x81m \x0c\xba\x81\x00\xf8\x06\x82 \x1c\xf0\x8f\x90uP\x0e\x04\xc39`\x85t \x07\xac\x03k\xa0\x1d\x88\x80w \x1c\xe2\x01O/;&\x88\xfb\xbd0\xc8\x072\xc1>\xe0\xab\x8eenDA@\xa4&\xcb\x1dP\xb3d\x85\x82\xc0\x01\x07A\x02$D*\xa3\xee\x8f\x9a%\x01\x1a\"\xf5\xd9\x0f\xean\xc8\x08\xac\x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\x85\x11Q\x13\xca\xf7\xd1\xd7\x80W\xcdSp\xf7\x0f\x06\xecBv\x8c\xdda\x93 j\xa1a\x96<\x10K<\xbcB\x03*\xd4\x0e>\x00L\x89\x06Rf\xe8D\xd1\xa6\xfb\x8dV\x03(\x89\xe0 \xff\xc8\xcbNY\x00'\x89\xa0 ?\x95-\xb4\xab\xca\x93\xc1\x12\xe34\x94\x0f\x1aI\x80E2B\"\x91pHN($\x0b\x0c\x92\x0f\x02\xc9\x02\x7f\xb8\xa1\x8fx\xd8\x83\x04:\xb2\x82\x1c\xc4\xe1ai\x0f\xb2\x82\x1b\x11\xc0F\xc8F\x80\x043\xeckSN\x10c\x98\x00\x0c\xba\xbc\x1c\xc0\x85J\x003\x81\x16\x89\x80E:X\xb1Xj\xf2\xc2\x13\xb1\xd0\x84\xd5SO@\x12N8b\xe9Y\x0c\x83!\x96\xef\xfcUo\xcbj\xe8\xc1\xd7\x18\x17\xe4@\xd7\xdf 5\x04\xc2\x0c\xaa\x0b\x97\x82\x17\xd2\xa0\x858Xav,%\xc0 V(\x81\x86\x11l\x10\x82\xd1\x1b!\xd0\x81\x0b6P!\x83H\xb8\xc0\x03\x15\x84\xc1\x04N\x88@\xf3\xc4/\xd4k\x7fsA\x02\xf1p\x80Q\x01\xf1\x7f\xd9 \x80\x8c\xee\xffl\xae\xff\\n\x7f\xca\xe5\xaf\xfaXUW\x7f\xba\x9b?\x8b\x8b?\x9f{\xdf\xef\xdaw\xba\xf5\x03\\\xfa>w\xfe\xc2/\xbe\xd4\x1e\xea\xe4\xb5\xbb\xf0\x03\xdc\xf7\x1e\xd7\xfdT\xbd\\.\xfb\x8c\xee\xfa<\xae\xfa\xd3pY\xef\x13q\xd5 \x87\xe7o\xa1\x90\xba7$\xd1\x0b\x88\x92\xee\x0b\\\xa83\x17\xdcD\xef\xe0B\xd7@\xdc\x07\x12\xeb/D\xf1\\aa\xbd\xf7\xc3\x1b\xd0L\xd3\xce\x87y\x13\xed\xef\xff\x95n\x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\x89_\x85\xae0\xfaW\xf1\xb0\x9f\x04\x16\x85hPNBX\x94$ZXC\x9bA\x13\x8b\x92\x8f,V)&\x0be,J\xea\x18\xf1\xd2\xc7\nu\x1e\x12Y\x14}\xb9\x12nu7\xa1\xec\xe2\xd1\x04ZY(\x18r\xc1\x90\x0b\x86\xfc\xab`\xc8\xff\xaea\xc8$\xa2\x1b~\x1f\xb7\xa6 (\x90\xac\x1fV#\xc7\xc7\x89\x1c\x91|\x81~ \\Hp\xc2\xac\x08\x06|-t\x85`!N\x04',\xea\x8d7L$Q\x04\x02\xa6M\xe8$\x17\xa9\"\xd8\x88\x15\xc1U\xa6P\xbc\x82`\x91\xbf\xb5 Y\\Y\x80\x85l\x11H\xc2EZE(\xe9\"\xd8\xc658\x91i\x9a\x80\x11\xc0\x15\xfcf\x0d\x7fs\xa2\xe3\xe0A\xc8\xc1E\xd8\x05~\x9f6\xf8B\x12\xa4\xd8#1\xa4\xc4\xf0_\xd9\xf8\xea\xc0N\xe2\x05v\"/\xf8\x9bn/\xc9\x036\x8a\x85\xfa\x0e\xc2Z+\x1a\x92H\x81\xa7j\x8a\xa6\xc1S\x94\xac\xe7\x7f\x04+\x07$\x94y\x97s\x1c\x96y'\xe4\xb78\xef\xd6RP\x02IC e\xc6\xad\x1d\x816\xaaJ\xf8\x8d\xce8W{\xad3\xce\x12\xea\x07a\xad\x15\x0d\xc9\xc5~ ~\x06LXU\xb1\xf5L\x98\xca\xcbql\x98\x8a\x82`FL\x00\x9d\x15\x13\x1c\xd3\xdd\xc1\xf2\xf1r\x84\xa8\xcb\xc3\xd2\x11RR\x1e\xce\x8e\x90\x92\xb20x\xa8b\xc9\x05\x00\xff\x0c\xf0.\xd3\x86\xaf\xc9\xc5\xce `g\xe8\x84|\x95\xb1\xec\x17\xe2\xf8\x7fHUKN \x0bk'\x04r\x02\xcd\"\xea\x1f\xcd\x0edh\xca\xc5\xe0 \x0e\x16O\xa5\xb8\x10&Op}g\xca\xe0\x86\xb1zRO\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\x03\xfci\xc8?\x19\xf4\x0f\x86\xfd\xd7\x02\xff\x81\xd0\xbf\xbd\x17-\x03\xdb\xfe|H\x08@\x8e \x00g\x95\x8d\xdf\x93B\x01\x0cmDh@\xd6\xe0\x00[x@b\x80\x80Ye3` \x7f\xc8\x80;h\x80\x0e\x1b\xa0\x03\x07r\x86\x0ed\x0e\x1ex\x8e\xf0\x815\x01\x04\x81!\x04\xab\x82\x08\xc2\xc3\x08,\x81\x046\xe88\x1c<\xf6\x07\x13\xac\n'\x08\x0e( \x1b\x94;\xa8 oX\x81%\xb0 whA\xee\xe0\x82\xf41\x12\x14`\x10\x16b\xa0\xafvyxW\x8dP\x83\xf4`\x83\xc2\xcdT\xb8\x99\n7\xd3\xaf\xc1\xcdd\x81\x85\x83\x00a\x1d\n^\x19\xe1\xa3\xc7|D\x80\xc2\x8e\xb8\x98\x15\xc6\xe3W\x88\xf8\xe1\x04\xb4:\xda;\xb7G\xd1\xf8L)\xc8\xb2$\xca\x9a\xf7\x8fm7\x1c0W \xa0;\x040*\xf8/:\xec\x8f\xb7W\x8fV\xb3\x06\xfcE\x87\xfa\xe1\xec\xd4\xb4Y\x82\xfcR\xc2\xfbx(\x9f\xde\x1a\x02\x7f\x89 \xe9\xb3\x87\xef%\x06\xee\x05\x85\xec\x85\x87\xe7%\x04\xe6%\x84\xe4\x11\x06#c\xe0]\xde\x90\xbbl\xc1v\xfe0\xbbl\x01v\xb6\xd0\xba\x94\xa0:2\x80n\x08 \x9d\x8b\x0d\x9a\xb3\x06\xc8E\x86\xc6\xad\xf1\xf2\x84\x9d`\x8c\x1542\xf8\xcdz\x0f\xcb\xb0\x08{\xb3\x97\x9d\x16\xea\x86\xa1m\x8a:3\xc8-Cx[Z`\x9b6\xca\xf5\xc501\x98Mt\xb4\xaa1%l\xcd\x19\x93e U\xf3\x06\xa9\x99\xd1\x1a\xe1\x81i\xe6\xbb\x7f\xa5\xda\x1a\x15\x86\x16\xd2X_\xe8\x99\xbdm\xdep\xb3\x15\x81fz(\x8d-\xb8,=\xac,>\xa0l \x9b'\x06\x919\xc3\xc7\xec\x81c\xae\x901\xb2\xb7B\xc3\xc4|\x01bzhXBPX@8Xx \x987\x04\x8c\x88\xa42\x8a#\x9e\xf1\x85z\xa5\x05y\x91\x95R~I\n\xe9\xd2C\xb8R\x82\xb7\x88`\xad\xa40-=,+g@\x96-\x14K\x8fO\xd1\xc3\xaf\xf2\x04^e\x0b\xb9\xca\x1bl\x15\x16f\xe5\x0d\xb0\n\x0c\xad\n \xaa2\xa2\x8f\xcc\xd2B\xc3c\xdc!T\x81\xc1S\x01aS\x8b*\xe7\x0c\x95J\n\x922\x83\xa2\xf2\x85C\xe5\x0b\x84\x8a\xff\xba\xde\xe0'_\xd8\x934\xdaz\xa8\x13y\xb4\xf0\x877\xa5\x056\xd1\xae_\xdd_\xfc-8\x81\xd7C\x99\x19\x9d\xb16@\xcd\x06V\xba\xbee,@i\x81&]E\xa5\xc0\x91:\x1e\x91\nA\xce\xb0\xa3\xe8\xba\x19o\x0c\x1b\x84_\xef6\x8bX\xb2\x17\x1d\x95s\xb6\xc1vK\x83\xfb]i\xc7\xc2.o\xb0\x90x\x04w\xdfW\x9a\xce\x0er!w\x00\x15jO!\x152:\x01\xac\xc8 \xc9\x9eC\x8f'\xc87\xa6H\xf2 k\xc3}\xc4A_\xad\xb91$A6\x82 \xdavCH\xdfpZ,\xb4\x1d\xeb\xcd\xc7q\x924\x1a\xe0\x8c\x90F\xd7\x1e`[?\xf0\xcb\x11\x87\xe9{)\x86\x94\xa8\xe1\xdb\xba\xe7 \xe5\x8c\xb5\x88\x91\x8b\xeap\xb5k\xd8\xe7Y\x1d\xaf\xd7X\x91\xb1\x0d\xb5:\xc8d\x1e\x9c\xf2S\xdb\xb0\x05]\x165U\x0f\xed\xf6\xb4\x173\x96\x8d\x06\x81\x9c\x88<,\xe4W\xa0-\xb4Nh\xb0Lj\xa0&6\xd8'7x\xb8\x93\xccI\x0e\x9e\x89\x0e\x9e\xc9\x0e \x13\x1el\x93\x1e\xdcs\x13\xc2'?\xb8\x0d\x00\x04\x17d\xe1nH0\x06\xa4\xbez\xa0\x0d\x028k\x92f\x18\x0cu\xf7\xccj\x1c \xd8@\x80\xa3\xc69\x0d\x05\xd0\xc6\x02T\x83\x01\xeb\x8d\xc6\xf4\x02a+\xec\x91g\x18o&\xca\xa0C\xcc\x96F\x08\xbf\xd8j#\x84\xdd\x15g\x84~\xadL\x8a\x1eC\xc6t\xe6\xd4gJ\x9e\x080@\x84\xe9\xb1\xf6A\x90\xb9\xb1\x1a\x1a\x9fZc\x82$\x98\x15s\x8fA\x18\x14Q\xae\xd5^T\xf7\xedi\xe0\x9b\xe7q\xb8b8\xe9\xd4Xub,\xc7\xafob\x88\xf2\xc2'\xc6\xfa\xe5\xf9\xab\xec\x95\x7f\xe5\x14\x06\xcbL*{xZ\xf9\xaf\xbb\x87\x8f\x9bc%\xff\xa0\xe4\x1f\x94\xfc\x83_#\xff\x80Z}\xc2\xd6\xb5\xd0\x1d\xdf\xf8\xff\x11\xeb\xda\xf8Z\x94)\xf8\x15v|L\xd4w\x06\xa76\x1d\x0b\xba\xb87\xb16X\xac\xf2\x8c\xd8\x0f\xdc\xd5\xdb\xf4\xe3\xf6\xdae\xd4\xb6\x88\x8au\x9c\xec \x05\x01\x81yN\x04\xf6\x94(PY\xdd~\x91\xf1\x8a\xfc\xbe\xfb\x05\xb6ft\xd4\xf8\x03[{\xc3\xc5\xf2~w\xa9Dyt\xa8\xba\x1d\xd3y\xffm\xde\x0b\xbb\xefb(\x17%\x1b\x92-\x9d\x03|<\xcfC|Z\x07dL\xed\x00oz\x07\xc4\xa6x@J\x9a\x07\xd5c~n\xe7\xe8t\x0fB\x97\x97\xd79%\xed\x83PW.JNK\x05\x81\xb4t\x10z\x8a\x92\x95\xcc\x96$\x02\xd9\x13E g\xb2\x08\x04%\x8c@\xce\xa4\x11(\x17%S\xc5D&\x9b@\xb9(9.\x19ESV.J.\x17%\x07\xe8(\x17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x18t\xc6\xc3\x02\xcf\xbe\xfb\xff\x03\x00\x00\xff\xffPK\x07\x08\x84\xe59m\xc5\xcf\x00\x00\xe7\xf1\x0c\x00PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\x00\x00!(\x84\xe59m\xc5\xcf\x00\x00\xe7\xf1\x0c\x00\x0c\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00\x00\x00\x00swagger.yamlUT\x05\x00\x01\x80Cm8PK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x00C\x00\x00\x00\x08\xd0\x00\x00\x00\x00"
fs.Register(data)
}
diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml
index 254dc959b0..17b3774a6f 100644
--- a/client/docs/swagger-ui/swagger.yaml
+++ b/client/docs/swagger-ui/swagger.yaml
@@ -281,8 +281,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -292,7 +296,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -320,9 +324,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -689,8 +693,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -700,7 +708,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -728,9 +736,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -953,8 +961,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -964,7 +976,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -992,9 +1004,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -1225,8 +1237,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -1236,7 +1252,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -1264,9 +1280,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -1416,8 +1432,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -1427,7 +1447,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -1455,9 +1475,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -1601,8 +1621,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -1612,7 +1636,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -1640,9 +1664,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -1858,8 +1882,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -1869,7 +1897,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -1897,9 +1925,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -2198,8 +2226,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -2209,7 +2241,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -2237,9 +2269,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -2472,8 +2504,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -2483,7 +2519,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -2511,9 +2547,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -2663,8 +2699,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -2674,7 +2714,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -2702,9 +2742,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -2848,8 +2888,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -2859,7 +2903,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -2887,9 +2931,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -3109,8 +3153,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -3120,7 +3168,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -3148,9 +3196,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -3449,8 +3497,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -3460,7 +3512,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -3488,9 +3540,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -3837,8 +3889,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -3848,7 +3904,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -3876,9 +3932,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -4031,8 +4087,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -4042,7 +4102,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -4070,9 +4130,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -4222,8 +4282,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -4233,7 +4297,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -4261,9 +4325,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -4863,8 +4927,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -4874,7 +4942,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -4902,9 +4970,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -5179,8 +5247,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -5190,7 +5262,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -5218,9 +5290,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -5389,8 +5461,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -5400,7 +5476,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -5428,9 +5504,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -5569,8 +5645,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -5580,7 +5660,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -5608,9 +5688,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -5800,8 +5880,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -5811,7 +5895,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -5839,9 +5923,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -6074,8 +6158,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -6085,7 +6173,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -6113,9 +6201,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -6254,8 +6342,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -6265,7 +6357,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -6293,9 +6385,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -6487,8 +6579,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -6498,7 +6594,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -6526,9 +6622,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -6828,8 +6924,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -6839,7 +6939,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -6867,9 +6967,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -7138,8 +7238,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -7149,7 +7253,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -7177,9 +7281,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -7389,8 +7493,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -7400,7 +7508,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -7428,9 +7536,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -7707,8 +7815,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -7718,7 +7830,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -7746,9 +7858,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -7983,8 +8095,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -7994,7 +8110,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -8022,9 +8138,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -8274,8 +8390,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -8285,7 +8405,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -8313,9 +8433,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -8501,8 +8621,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -8512,7 +8636,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -8540,9 +8664,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -8769,8 +8893,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -8780,7 +8908,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -8808,9 +8936,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -9257,8 +9385,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -9268,7 +9400,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -9296,9 +9428,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -9698,8 +9830,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -9709,7 +9845,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -9737,9 +9873,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -9923,8 +10059,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -9934,7 +10074,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -9962,9 +10102,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -10149,8 +10289,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -10160,7 +10304,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -10188,9 +10332,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -10483,8 +10627,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -10494,7 +10642,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -10522,9 +10670,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -10979,8 +11127,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -10990,7 +11142,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -11018,9 +11170,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -11295,8 +11447,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -11306,7 +11462,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -11334,9 +11490,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -11510,8 +11666,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -11521,7 +11681,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -11549,9 +11709,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -11740,8 +11900,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -11751,7 +11915,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -11779,9 +11943,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -12020,8 +12184,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -12031,7 +12199,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -12059,9 +12227,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -12220,8 +12388,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -12231,7 +12403,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -12259,9 +12431,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -12501,8 +12673,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -12512,7 +12688,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -12540,9 +12716,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -12794,8 +12970,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -12805,7 +12985,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -12833,9 +13013,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -13044,8 +13224,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -13055,7 +13239,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -13083,9 +13267,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -13300,8 +13484,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -13311,7 +13499,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -13339,9 +13527,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -13589,8 +13777,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -13600,7 +13792,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -13628,9 +13820,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -13816,8 +14008,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -13827,7 +14023,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -13855,9 +14051,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the
regular
@@ -14046,8 +14242,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14057,7 +14257,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -14085,9 +14285,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -14388,8 +14588,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14399,7 +14603,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -14427,9 +14631,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -14588,8 +14792,12 @@ paths:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -14599,7 +14807,7 @@ paths:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -14627,9 +14835,9 @@ paths:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -15241,8 +15449,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15252,7 +15464,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -15276,9 +15488,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -15415,8 +15627,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15426,7 +15642,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -15451,9 +15667,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -15587,8 +15803,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -15598,7 +15818,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -15623,9 +15843,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -16056,8 +16276,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16067,7 +16291,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -16091,9 +16315,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -16222,8 +16446,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16233,7 +16461,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -16257,9 +16485,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -16786,8 +17014,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16797,7 +17029,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -16824,9 +17056,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -16967,8 +17199,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -16978,7 +17214,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -17006,9 +17242,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -17149,8 +17385,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -17160,7 +17400,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -17188,9 +17428,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -17396,8 +17636,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -17407,7 +17651,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -17434,9 +17678,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -17577,8 +17821,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -17588,7 +17836,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -17616,9 +17864,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -17759,8 +18007,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -17770,7 +18022,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -17798,9 +18050,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -18174,8 +18426,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -18185,7 +18441,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -18209,9 +18465,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -18376,8 +18632,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -18387,7 +18647,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -18411,9 +18671,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -18552,8 +18812,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -18563,7 +18827,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -18587,9 +18851,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -18885,8 +19149,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -18896,7 +19164,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -18920,9 +19188,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -19047,8 +19315,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -19058,7 +19330,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -19082,9 +19354,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -19297,8 +19569,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -19308,7 +19584,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -19335,9 +19611,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -19469,8 +19745,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -19480,7 +19760,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -19507,9 +19787,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -19913,8 +20193,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -19924,7 +20208,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -19951,9 +20235,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -20085,8 +20369,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -20096,7 +20384,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -20123,9 +20411,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -20585,8 +20873,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -20596,7 +20888,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -20620,9 +20912,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -21213,8 +21505,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -21224,7 +21520,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -21251,9 +21547,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -22108,8 +22404,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -22119,7 +22419,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -22144,9 +22444,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -22347,8 +22647,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -22358,7 +22662,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -22385,9 +22689,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -22644,8 +22948,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -22655,7 +22963,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -22679,9 +22987,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -23045,8 +23353,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -23056,7 +23368,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -23081,9 +23393,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -23249,8 +23561,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -23260,7 +23576,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -23287,9 +23603,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
@@ -23490,8 +23806,12 @@ definitions:
if (any.is(Foo.class)) {
foo = any.unpack(Foo.class);
}
+ // or ...
+ if (any.isSameTypeAs(Foo.getDefaultInstance())) {
+ foo = any.unpack(Foo.getDefaultInstance());
+ }
- Example 3: Pack and unpack a message in Python.
+ Example 3: Pack and unpack a message in Python.
foo = Foo(...)
any = Any()
@@ -23501,7 +23821,7 @@ definitions:
any.Unpack(foo)
...
- Example 4: Pack and unpack a message in Go
+ Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...}
any, err := anypb.New(foo)
@@ -23525,9 +23845,9 @@ definitions:
name "y.z".
-
JSON
+ ====
The JSON representation of an `Any` value uses the regular
diff --git a/contrib/images/desmos-builder/Dockerfile b/contrib/images/desmos-builder/Dockerfile
index 044fa5004f..5163534812 100644
--- a/contrib/images/desmos-builder/Dockerfile
+++ b/contrib/images/desmos-builder/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.20-alpine
+FROM golang:1.21-alpine
ARG arch=x86_64
# Set up dependencies
diff --git a/contrib/images/desmos-cosmovisor/Dockerfile b/contrib/images/desmos-cosmovisor/Dockerfile
index 658a2e6299..6a9209bb7b 100644
--- a/contrib/images/desmos-cosmovisor/Dockerfile
+++ b/contrib/images/desmos-cosmovisor/Dockerfile
@@ -1,5 +1,5 @@
ARG DESMOS_VERSION="v0.17.2"
-FROM golang:1.20-alpine AS build-env
+FROM golang:1.21-alpine AS build-env
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3
RUN apk add --no-cache $PACKAGES
diff --git a/contrib/images/desmos-env/Dockerfile b/contrib/images/desmos-env/Dockerfile
index f6463d831f..7a774992ec 100644
--- a/contrib/images/desmos-env/Dockerfile
+++ b/contrib/images/desmos-env/Dockerfile
@@ -8,8 +8,8 @@ ARG UID=1000
ARG GID=1000
USER ${UID}:${GID}
-VOLUME [ "/desmos" ]
-WORKDIR /desmos
+VOLUME [ "/.desmos" ]
+WORKDIR /.desmos
EXPOSE 26656 26657
ENTRYPOINT ["/usr/bin/wrapper.sh"]
CMD ["start"]
diff --git a/contrib/images/desmos-env/wrapper.sh b/contrib/images/desmos-env/wrapper.sh
index 983e6c09ba..43798c3164 100755
--- a/contrib/images/desmos-env/wrapper.sh
+++ b/contrib/images/desmos-env/wrapper.sh
@@ -16,7 +16,7 @@ if [ -z "${BINARY_CHECK}" ]; then
exit 1
fi
-export DESMOSDHOME="/desmos/node${ID}/desmos"
+export DESMOSDHOME="/desmos/node${ID}/.desmos"
if [ -d "$(dirname "${DESMOSDHOME}"/"${LOG}")" ]; then
"${BINARY}" --home "${DESMOSDHOME}" "$@" | tee "${DESMOSDHOME}/${LOG}"
diff --git a/go.mod b/go.mod
index a7c6f72159..03102a32f5 100644
--- a/go.mod
+++ b/go.mod
@@ -1,25 +1,33 @@
module github.com/desmos-labs/desmos/v6
-go 1.20
+go 1.21
require (
- cosmossdk.io/api v0.3.1
- cosmossdk.io/core v0.5.1
+ cosmossdk.io/api v0.7.2
+ cosmossdk.io/client/v2 v2.0.0-beta.1
+ cosmossdk.io/core v0.11.0
cosmossdk.io/depinject v1.0.0-alpha.4
cosmossdk.io/errors v1.0.1
+ cosmossdk.io/log v1.3.0
cosmossdk.io/math v1.2.0
cosmossdk.io/simapp v0.0.0-20230323161446-0af178d721ff
- github.com/CosmWasm/wasmd v0.45.0
+ cosmossdk.io/store v1.0.2
+ cosmossdk.io/tools/confix v0.1.0
+ cosmossdk.io/x/evidence v0.1.0
+ cosmossdk.io/x/feegrant v0.1.0
+ cosmossdk.io/x/tx v0.13.0
+ cosmossdk.io/x/upgrade v0.1.0
+ github.com/CosmWasm/wasmd v0.50.0
github.com/CosmWasm/wasmvm v1.5.1
- github.com/armon/go-metrics v0.4.1
github.com/btcsuite/btcd/btcec/v2 v2.3.2
- github.com/cometbft/cometbft v0.37.4
- github.com/cometbft/cometbft-db v0.9.1
- github.com/cosmos/cosmos-proto v1.0.0-beta.2
- github.com/cosmos/cosmos-sdk v0.47.5
+ github.com/cometbft/cometbft v0.38.2
+ github.com/cosmos/cosmos-db v1.0.0
+ github.com/cosmos/cosmos-proto v1.0.0-beta.3
+ github.com/cosmos/cosmos-sdk v0.50.3
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/gogoproto v1.4.11
- github.com/cosmos/ibc-go/v7 v7.3.1
+ github.com/cosmos/ibc-go/modules/capability v1.0.0
+ github.com/cosmos/ibc-go/v8 v8.0.0
github.com/ethereum/go-ethereum v1.10.18
github.com/ghodss/yaml v1.0.0
github.com/gogo/protobuf v1.3.2
@@ -28,6 +36,7 @@ require (
github.com/golangci/golangci-lint v1.55.2
github.com/gorilla/mux v1.8.1
github.com/grpc-ecosystem/grpc-gateway v1.16.0
+ github.com/hashicorp/go-metrics v0.5.1
github.com/manifoldco/promptui v0.9.0
github.com/mr-tron/base58 v1.2.0
github.com/osmosis-labs/go-mutesting v0.0.0-20221219192234-827e6d6b9d4e
@@ -36,9 +45,9 @@ require (
github.com/spf13/cast v1.6.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
- github.com/spf13/viper v1.16.0
+ github.com/spf13/viper v1.17.0
github.com/stretchr/testify v1.8.4
- golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb
+ golang.org/x/exp v0.0.0-20231006140011-7918f672742d
golang.org/x/perf v0.0.0-20230221235046-aebcfb61e84c
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f
google.golang.org/grpc v1.60.1
@@ -54,8 +63,8 @@ require (
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
- cosmossdk.io/log v1.2.1 // indirect
- cosmossdk.io/tools/rosetta v0.2.1 // indirect
+ cosmossdk.io/collections v0.4.0 // indirect
+ cosmossdk.io/x/circuit v0.1.0 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/4meepo/tagalign v1.3.3 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
@@ -65,7 +74,8 @@ require (
github.com/Antonboom/nilnil v0.1.7 // indirect
github.com/Antonboom/testifylint v0.2.3 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
- github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
+ github.com/DataDog/datadog-go v3.2.0+incompatible // indirect
+ github.com/DataDog/zstd v1.5.5 // indirect
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
@@ -77,10 +87,11 @@ require (
github.com/alingse/asasalint v0.0.11 // indirect
github.com/ashanbrown/forbidigo v1.6.0 // indirect
github.com/ashanbrown/makezero v1.1.1 // indirect
- github.com/aws/aws-sdk-go v1.44.203 // indirect
+ github.com/aws/aws-sdk-go v1.44.224 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
+ github.com/bits-and-blooms/bitset v1.8.0 // indirect
github.com/bkielbasa/cyclop v1.2.1 // indirect
github.com/blizzy78/varnamelen v0.8.0 // indirect
github.com/bombsimon/wsl/v3 v3.4.0 // indirect
@@ -97,40 +108,42 @@ require (
github.com/chavacava/garif v0.1.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
- github.com/cockroachdb/errors v1.10.0 // indirect
+ github.com/cockroachdb/errors v1.11.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
+ github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
- github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect
- github.com/confio/ics23/go v0.9.0 // indirect
+ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
+ github.com/cometbft/cometbft-db v0.9.1 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/gogogateway v1.2.0 // indirect
- github.com/cosmos/iavl v0.20.1 // indirect
+ github.com/cosmos/iavl v1.0.0 // indirect
github.com/cosmos/ics23/go v0.10.0 // indirect
- github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect
- github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect
- github.com/creachadair/taskgroup v0.4.2 // indirect
+ github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
+ github.com/creachadair/atomicfile v0.3.2 // indirect
+ github.com/creachadair/tomledit v0.0.25 // indirect
github.com/curioswitch/go-reassign v0.2.0 // indirect
github.com/daixiang0/gci v0.11.2 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
- github.com/davecgh/go-spew v1.1.1 // indirect
- github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
+ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/denis-tingaikin/go-header v0.4.3 // indirect
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
github.com/dgraph-io/ristretto v0.1.1 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
- github.com/docker/distribution v2.8.2+incompatible // indirect
+ github.com/distribution/reference v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
+ github.com/emicklei/dot v1.6.0 // indirect
github.com/esimonov/ifshort v1.0.4 // indirect
github.com/ettle/strcase v0.1.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fatih/structtag v1.2.0 // indirect
- github.com/felixge/httpsnoop v1.0.2 // indirect
+ github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/firefart/nonamedreturns v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
- github.com/getsentry/sentry-go v0.23.0 // indirect
+ github.com/getsentry/sentry-go v0.25.0 // indirect
github.com/ghostiam/protogetter v0.2.3 // indirect
github.com/go-critic/go-critic v0.9.0 // indirect
github.com/go-kit/kit v0.12.0 // indirect
@@ -148,7 +161,7 @@ require (
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/gofrs/flock v0.8.1 // indirect
github.com/gogo/googleapis v1.4.1 // indirect
- github.com/golang/glog v1.1.2 // indirect
+ github.com/golang/glog v1.2.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect
@@ -169,28 +182,30 @@ require (
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 // indirect
- github.com/gorilla/handlers v1.5.1 // indirect
+ github.com/gorilla/handlers v1.5.2 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
github.com/gostaticanalysis/comment v1.4.2 // indirect
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
- github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
+ github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
- github.com/gtank/merlin v0.1.1 // indirect
- github.com/gtank/ristretto255 v0.1.2 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-getter v1.7.1 // indirect
+ github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
+ github.com/hashicorp/go-plugin v1.5.2 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
- github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
+ github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
+ github.com/hashicorp/yamux v0.1.1 // indirect
github.com/hdevalence/ed25519consensus v0.1.0 // indirect
github.com/hexops/gotextdiff v1.0.3 // indirect
github.com/huandu/skiplist v1.2.0 // indirect
+ github.com/iancoleman/strcase v0.3.0 // indirect
github.com/improbable-eng/grpc-web v0.15.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jessevdk/go-flags v1.4.0 // indirect
@@ -203,7 +218,7 @@ require (
github.com/kisielk/errcheck v1.6.3 // indirect
github.com/kisielk/gotool v1.0.0 // indirect
github.com/kkHAIKE/contextcheck v1.1.4 // indirect
- github.com/klauspost/compress v1.16.7 // indirect
+ github.com/klauspost/compress v1.17.4 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/kulti/thelper v0.6.3 // indirect
@@ -222,12 +237,11 @@ require (
github.com/maratori/testpackage v1.1.1 // indirect
github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
- github.com/mattn/go-isatty v0.0.19 // indirect
+ github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/mbilski/exhaustivestruct v1.2.0 // indirect
github.com/mgechev/revive v1.3.4 // indirect
- github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
github.com/minio/highwayhash v1.0.2 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
@@ -238,12 +252,14 @@ require (
github.com/nishanths/exhaustive v0.11.0 // indirect
github.com/nishanths/predeclared v0.2.2 // indirect
github.com/nunnatsa/ginkgolinter v0.14.1 // indirect
+ github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
+ github.com/oklog/run v1.1.0 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
- github.com/pelletier/go-toml/v2 v2.0.8 // indirect
- github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
+ github.com/pelletier/go-toml/v2 v2.1.0 // indirect
+ github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect
github.com/pkg/errors v0.9.1 // indirect
- github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/polyfloyd/go-errorlint v1.4.5 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
@@ -255,9 +271,11 @@ require (
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/cors v1.8.3 // indirect
- github.com/rs/zerolog v1.30.0 // indirect
+ github.com/rs/zerolog v1.31.0 // indirect
github.com/ryancurrah/gomodguard v1.3.0 // indirect
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
+ github.com/sagikazarmark/locafero v0.3.0 // indirect
+ github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
@@ -269,19 +287,19 @@ require (
github.com/sivchari/nosnakecase v1.7.0 // indirect
github.com/sivchari/tenv v1.7.1 // indirect
github.com/sonatard/noctx v0.0.2 // indirect
+ github.com/sourcegraph/conc v0.3.0 // indirect
github.com/sourcegraph/go-diff v0.7.0 // indirect
- github.com/spf13/afero v1.9.5 // indirect
- github.com/spf13/jwalterweatherman v1.1.0 // indirect
+ github.com/spf13/afero v1.10.0 // indirect
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect
github.com/stretchr/objx v0.5.0 // indirect
- github.com/subosito/gotenv v1.4.2 // indirect
+ github.com/subosito/gotenv v1.6.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect
github.com/tdakkota/asciicheck v0.2.0 // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tetafro/godot v1.4.15 // indirect
- github.com/tidwall/btree v1.6.0 // indirect
+ github.com/tidwall/btree v1.7.0 // indirect
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect
github.com/timonwong/loggercheck v0.9.4 // indirect
github.com/tomarrell/wrapcheck/v2 v2.8.1 // indirect
@@ -305,14 +323,14 @@ require (
go.opencensus.io v0.24.0 // indirect
go.tmz.dev/musttag v0.7.2 // indirect
go.uber.org/atomic v1.10.0 // indirect
- go.uber.org/multierr v1.8.0 // indirect
+ go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.13.0 // indirect
- golang.org/x/sync v0.4.0 // indirect
+ golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
@@ -324,28 +342,29 @@ require (
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
+ gotest.tools/v3 v3.5.1 // indirect
honnef.co/go/tools v0.4.6 // indirect
mvdan.cc/gofumpt v0.5.0 // indirect
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d // indirect
nhooyr.io/websocket v1.8.7 // indirect
- pgregory.net/rapid v0.5.5 // indirect
- sigs.k8s.io/yaml v1.3.0 // indirect
+ pgregory.net/rapid v1.1.0 // indirect
+ sigs.k8s.io/yaml v1.4.0 // indirect
)
replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
- // Our cosmos-sdk branch is: https://github.com/desmos-labs/cosmos-sdk v0.47.x-desmos
- github.com/cosmos/cosmos-sdk => github.com/desmos-labs/cosmos-sdk v0.47.7-desmos
+ // Our cosmos-sdk branch is: https://github.com/desmos-labs/cosmos-sdk v0.50.x-desmos
+ github.com/cosmos/cosmos-sdk => github.com/desmos-labs/cosmos-sdk v0.50.3-desmos
// Replace the Cosmos Ledger app with the Desmos fork
- github.com/cosmos/ledger-cosmos-go => github.com/desmos-labs/ledger-desmos-go v0.12.1-desmos
+ github.com/cosmos/ledger-cosmos-go => github.com/desmos-labs/ledger-desmos-go v0.13.0-desmos
// Fix upstream GHSA-h395-qcrw-5vmq vulnerability.
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409
- github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1
+ github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.1
// Downgraded to avoid bugs in following commits which caused simulations to fail.
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
diff --git a/go.sum b/go.sum
index acd8ba10be..443adf8c30 100644
--- a/go.sum
+++ b/go.sum
@@ -196,22 +196,40 @@ cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuW
cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0=
cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M=
collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE=
-cosmossdk.io/api v0.3.1 h1:NNiOclKRR0AOlO4KIqeaG6PS6kswOMhHD0ir0SscNXE=
-cosmossdk.io/api v0.3.1/go.mod h1:DfHfMkiNA2Uhy8fj0JJlOCYOBp4eWUUJ1te5zBGNyIw=
-cosmossdk.io/core v0.5.1 h1:vQVtFrIYOQJDV3f7rw4pjjVqc1id4+mE0L9hHP66pyI=
-cosmossdk.io/core v0.5.1/go.mod h1:KZtwHCLjcFuo0nmDc24Xy6CRNEL9Vl/MeimQ2aC7NLE=
+cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4=
+cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38=
+cosmossdk.io/client/v2 v2.0.0-beta.1 h1:XkHh1lhrLYIT9zKl7cIOXUXg2hdhtjTPBUfqERNA1/Q=
+cosmossdk.io/client/v2 v2.0.0-beta.1/go.mod h1:JEUSu9moNZQ4kU3ir1DKD5eU4bllmAexrGWjmb9k8qU=
+cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s=
+cosmossdk.io/collections v0.4.0/go.mod h1:oa5lUING2dP+gdDquow+QjlF45eL1t4TJDypgGd+tv0=
+cosmossdk.io/core v0.11.0 h1:vtIafqUi+1ZNAE/oxLOQQ7Oek2n4S48SWLG8h/+wdbo=
+cosmossdk.io/core v0.11.0/go.mod h1:LaTtayWBSoacF5xNzoF8tmLhehqlA9z1SWiPuNC6X1w=
cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98okJopc=
cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU=
cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0=
cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U=
-cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk=
-cosmossdk.io/log v1.2.1/go.mod h1:GNSCc/6+DhFIj1aLn/j7Id7PaO8DzNylUZoOYBL9+I4=
+cosmossdk.io/log v1.3.0 h1:L0Z0XstClo2kOU4h3V1iDoE5Ji64sg5HLOogzGg67Oo=
+cosmossdk.io/log v1.3.0/go.mod h1:HIDyvWLqZe2ovlWabsDN4aPMpY/nUEquAhgfTf2ZzB8=
cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig=
cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0=
cosmossdk.io/simapp v0.0.0-20230323161446-0af178d721ff h1:P1ialzTepD1oxdNPYc5N8Eggq3RdejZq3cJs8YYMs9Y=
cosmossdk.io/simapp v0.0.0-20230323161446-0af178d721ff/go.mod h1:AKzx6Mb544LjJ9RHmGFHjY9rEOLiUAi8I0F727TR0dY=
-cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw=
-cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw=
+cosmossdk.io/store v1.0.2 h1:lSg5BTvJBHUDwswNNyeh4K/CbqiHER73VU4nDNb8uk0=
+cosmossdk.io/store v1.0.2/go.mod h1:EFtENTqVTuWwitGW1VwaBct+yDagk7oG/axBMPH+FXs=
+cosmossdk.io/tools/confix v0.1.0 h1:2OOZTtQsDT5e7P3FM5xqM0bPfluAxZlAwxqaDmYBE+E=
+cosmossdk.io/tools/confix v0.1.0/go.mod h1:TdXKVYs4gEayav5wM+JHT+kTU2J7fozFNqoVaN+8CdY=
+cosmossdk.io/x/circuit v0.1.0 h1:IAej8aRYeuOMritczqTlljbUVHq1E85CpBqaCTwYgXs=
+cosmossdk.io/x/circuit v0.1.0/go.mod h1:YDzblVE8+E+urPYQq5kq5foRY/IzhXovSYXb4nwd39w=
+cosmossdk.io/x/evidence v0.1.0 h1:J6OEyDl1rbykksdGynzPKG5R/zm6TacwW2fbLTW4nCk=
+cosmossdk.io/x/evidence v0.1.0/go.mod h1:hTaiiXsoiJ3InMz1uptgF0BnGqROllAN8mwisOMMsfw=
+cosmossdk.io/x/feegrant v0.1.0 h1:c7s3oAq/8/UO0EiN1H5BIjwVntujVTkYs35YPvvrdQk=
+cosmossdk.io/x/feegrant v0.1.0/go.mod h1:4r+FsViJRpcZif/yhTn+E0E6OFfg4n0Lx+6cCtnZElU=
+cosmossdk.io/x/nft v0.1.0 h1:VhcsFiEK33ODN27kxKLa0r/CeFd8laBfbDBwYqCyYCM=
+cosmossdk.io/x/nft v0.1.0/go.mod h1:ec4j4QAO4mJZ+45jeYRnW7awLHby1JZANqe1hNZ4S3g=
+cosmossdk.io/x/tx v0.13.0 h1:8lzyOh3zONPpZv2uTcUmsv0WTXy6T1/aCVDCqShmpzU=
+cosmossdk.io/x/tx v0.13.0/go.mod h1:CpNQtmoqbXa33/DVxWQNx5Dcnbkv2xGUhL7tYQ5wUsY=
+cosmossdk.io/x/upgrade v0.1.0 h1:z1ZZG4UL9ICTNbJDYZ6jOnF9GdEK9wyoEFi4BUScHXE=
+cosmossdk.io/x/upgrade v0.1.0/go.mod h1:/6jjNGbiPCNtmA1N+rBtP601sr0g4ZXuj3yC6ClPCGY=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek=
filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns=
@@ -231,19 +249,21 @@ github.com/Antonboom/testifylint v0.2.3/go.mod h1:IYaXaOX9NbfAyO+Y04nfjGI8wDemC1
github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM=
github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I=
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo=
-github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8=
+github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0=
+github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
-github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM=
-github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4=
-github.com/CosmWasm/wasmd v0.45.0 h1:9zBqrturKJwC2kVsfHvbrA++EN0PS7UTXCffCGbg6JI=
-github.com/CosmWasm/wasmd v0.45.0/go.mod h1:RnSAiqbNIZu4QhO+0pd7qGZgnYAMBPGmXpzTADag944=
+github.com/CosmWasm/wasmd v0.50.0 h1:NVaGqCSTRfb9UTDHJwT6nQIWcb6VjlQl88iI+u1+qjE=
+github.com/CosmWasm/wasmd v0.50.0/go.mod h1:UjmShW4l9YxaMytwJZ7IB7MWzHiynSZP3DdWrG0FRtk=
github.com/CosmWasm/wasmvm v1.5.1 h1:2MHN9uFyHP6pxfvpBJ0JW6ujvAIBk9kQk283zyri0Ro=
github.com/CosmWasm/wasmvm v1.5.1/go.mod h1:fXB+m2gyh4v9839zlIXdMZGeLAxqUdYdFQqYsTha2hc=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
+github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
+github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ=
+github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 h1:3ZBs7LAezy8gh0uECsA6CGU43FF3zsx5f4eah5FxTMA=
@@ -253,7 +273,9 @@ github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg=
+github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
+github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/OpenPeeDeeP/depguard/v2 v2.1.0 h1:aQl70G173h/GZYhWf36aE5H0KaujXfVMnn/f1kSDVYY=
@@ -268,13 +290,16 @@ github.com/aclements/go-gg v0.0.0-20170118225347-6dbb4e4fefb0/go.mod h1:55qNq4vc
github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 h1:xlwdaKcTNVW4PtpQb8aKA4Pjy0CdJHEqvFbAnvR5m2g=
github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794/go.mod h1:7e+I0LQFUI9AXWxOfsQROs9xPhoJtbsyWcjJqDd4KPY=
github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I=
+github.com/adlio/schema v1.3.3/go.mod h1:1EsRssiv9/Ce2CMzq5DoL7RiMshhuigQxrR4DMV9fHg=
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
github.com/ajstarks/svgo v0.0.0-20210923152817-c3b6e2f0c527/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
github.com/alecthomas/assert/v2 v2.2.2 h1:Z/iVC0xZfWTaFNE6bA3z07T86hd45Xe2eLt6WVy2bbk=
+github.com/alecthomas/assert/v2 v2.2.2/go.mod h1:pXcQ2Asjp247dahGEmsZ6ru0UVwnkhktn7S0bBDLxvQ=
github.com/alecthomas/go-check-sumtype v0.1.3 h1:M+tqMxB68hcgccRXBMVCPI4UJ+QUfdSx0xdbypKCqA8=
github.com/alecthomas/go-check-sumtype v0.1.3/go.mod h1:WyYPfhfkdhyrdaligV6svFopZV8Lqdzn5pyVBaV6jhQ=
github.com/alecthomas/repr v0.2.0 h1:HAzS41CIzNW5syS8Mf9UwXhNH1J9aix/BvDRf1Ml2Yk=
+github.com/alecthomas/repr v0.2.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -295,8 +320,6 @@ github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
-github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA=
-github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4=
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A=
github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8gerOIVIY=
@@ -306,8 +329,8 @@ github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvx
github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
-github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F+U=
-github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
+github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ=
+github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
github.com/aws/aws-sdk-go-v2 v1.2.0/go.mod h1:zEQs02YRBw1DjK0PoJv3ygDYOFTre1ejlJWl8FwAuQo=
github.com/aws/aws-sdk-go-v2/config v1.1.1/go.mod h1:0XsVy9lBI/BCXm+2Tuvt39YmdHwS5unDQmxZOYe8F5Y=
@@ -319,6 +342,7 @@ github.com/aws/aws-sdk-go-v2/service/sso v1.1.1/go.mod h1:SuZJxklHxLAXgLTc1iFXbE
github.com/aws/aws-sdk-go-v2/service/sts v1.1.1/go.mod h1:Wi0EBZwiz/K44YliU0EKxqTCJGUfYTWXrrBwkq736bM=
github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
+github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
@@ -328,6 +352,8 @@ github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2gVpmOtVTJZNodLdLQLn/KsJqFvXwnd/s=
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
+github.com/bits-and-blooms/bitset v1.8.0 h1:FD+XqgOZDUxxZ8hzoBFuV9+cGWY9CslN6d5MS5JVb4c=
+github.com/bits-and-blooms/bitset v1.8.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bkielbasa/cyclop v1.2.1 h1:AeF71HZDob1P2/pRm1so9cd1alZnrpyc4q2uP2l0gJY=
github.com/bkielbasa/cyclop v1.2.1/go.mod h1:K/dT/M0FPAiYjBgQGau7tz+3TMh4FWAEqlMhzFWCrgM=
github.com/blizzy78/varnamelen v0.8.0 h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M=
@@ -345,14 +371,19 @@ github.com/breml/errchkjson v0.3.6/go.mod h1:jhSDoFheAF2RSDOlCfhHO9KqhZgAYLyvHe7
github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU=
github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U=
github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
-github.com/btcsuite/btcd/btcutil v1.1.2 h1:XLMbX8JQEiwMcYft2EGi8zPUkoa0abKIU6/BJSRsjzQ=
+github.com/btcsuite/btcd/btcutil v1.1.3 h1:xfbtw8lwpp0G6NwSHb+UE67ryTFHJAiNuipusjXSohQ=
+github.com/btcsuite/btcd/btcutil v1.1.3/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0=
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U=
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc=
-github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA=
+github.com/bufbuild/protocompile v0.6.0 h1:Uu7WiSQ6Yj9DbkdnOe7U4mNKp58y9WDMKDn28/ZlunY=
+github.com/bufbuild/protocompile v0.6.0/go.mod h1:YNP35qEYoYGme7QMtz5SBCoN4kL4g12jTtjuzRNdjpE=
github.com/butuzov/ireturn v0.2.2 h1:jWI36dxXwVrI+RnXDwux2IZOewpmfv930OuIRfaBUJ0=
github.com/butuzov/ireturn v0.2.2/go.mod h1:RfGHUvvAuFFxoHKf4Z8Yxuh6OjlCw1KvR2zM1NFHeBk=
github.com/butuzov/mirror v1.1.0 h1:ZqX54gBVMXu78QLoiqdwpl2mgmoOJTk7s4p4o+0avZI=
github.com/butuzov/mirror v1.1.0/go.mod h1:8Q0BdQU6rC6WILDiBM60DBfvV78OLJmMmixe7GF45AE=
+github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
+github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s=
+github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34=
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
github.com/catenacyber/perfsprint v0.2.0 h1:azOocHLscPjqXVJ7Mf14Zjlkn4uNua0+Hcg1wTR6vUo=
@@ -377,6 +408,9 @@ github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoG
github.com/chavacava/garif v0.1.0 h1:2JHa3hbYf5D9dsgseMKAmc/MZ109otzgNFk5s87H9Pc=
github.com/chavacava/garif v0.1.0/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww=
github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
+github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY=
+github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams=
+github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM=
github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ=
@@ -403,24 +437,27 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH
github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E=
github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw=
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
-github.com/cockroachdb/errors v1.10.0 h1:lfxS8zZz1+OjtV4MtNWgboi/W5tyLEB6VQZBXN+0VUU=
-github.com/cockroachdb/errors v1.10.0/go.mod h1:lknhIsEVQ9Ss/qKDBQS/UqFSvPQjOwNq2qyKAxtHRqE=
+github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f h1:otljaYPt5hWxV3MUfO5dFPFiOXg9CyG5/kCfayTqsJ4=
+github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU=
+github.com/cockroachdb/errors v1.11.1 h1:xSEW75zKaKCWzR3OfxXUxgrk/NtT4G1MiOv5lWZazG8=
+github.com/cockroachdb/errors v1.11.1/go.mod h1:8MUxA3Gi6b25tYlFEBGLf+D8aISL+M4MIpiWMSNRfxw=
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE=
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs=
+github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb h1:6Po+YYKT5B5ZXN0wd2rwFBaebM0LufPf8p4zxOd48Kg=
+github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb/go.mod h1:acMRUGd/BK8AUmQNK3spUCCGzFLZU2bSST3NMXSq2Kc=
github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30=
github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
+github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo=
+github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ=
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
-github.com/coinbase/rosetta-sdk-go/types v1.0.0 h1:jpVIwLcPoOeCR6o1tU+Xv7r5bMONNbHU7MuEHboiFuA=
-github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c=
-github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg=
-github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8=
+github.com/cometbft/cometbft v0.38.2 h1:io0JCh5EPxINKN5ZMI5hCdpW3QVZRy+o8qWe3mlJa/8=
+github.com/cometbft/cometbft v0.38.2/go.mod h1:PIi48BpzwlHqtV3mzwPyQgOyOnU94BNBimLS2ebBHOg=
github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M=
github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U=
-github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4=
-github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak=
github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ=
github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q=
github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg=
+github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
@@ -429,9 +466,10 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV
github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk=
github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis=
-github.com/cosmos/cosmos-proto v1.0.0-beta.2 h1:X3OKvWgK9Gsejo0F1qs5l8Qn6xJV/AzgIWR2wZ8Nua8=
-github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0=
-github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
+github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0E=
+github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U=
+github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o=
+github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I=
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE=
@@ -439,21 +477,23 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ
github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU=
github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g=
github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y=
-github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg=
-github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A=
-github.com/cosmos/ibc-go/v7 v7.3.1 h1:bil1IjnHdyWDASFYKfwdRiNtFP6WK3osW7QFEAgU4I8=
-github.com/cosmos/ibc-go/v7 v7.3.1/go.mod h1:wvx4pPBofe5ZdMNV3OFRxSI4auEP5Qfqf8JXLLNV04g=
+github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so=
+github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc=
+github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE=
+github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco=
+github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg=
+github.com/cosmos/ibc-go/v8 v8.0.0/go.mod h1:C6IiJom0F3cIQCD5fKwVPDrDK9j/xTu563AWuOmXois=
github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM=
github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0=
github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo=
github.com/cosmos/keyring v1.2.0/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA=
-github.com/cosmos/rosetta-sdk-go v0.10.0 h1:E5RhTruuoA7KTIXUcMicL76cffyeoyvNybzUGSKFTcM=
-github.com/cosmos/rosetta-sdk-go v0.10.0/go.mod h1:SImAZkb96YbwvoRkzSMQB6noNJXFgWl/ENIznEoYQI4=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
-github.com/creachadair/taskgroup v0.4.2 h1:jsBLdAJE42asreGss2xZGZ8fJra7WtwnHWeJFxv2Li8=
-github.com/creachadair/taskgroup v0.4.2/go.mod h1:qiXUOSrbwAY3u0JPGTzObbE3yf9hcXHDKBZ2ZjpCbgM=
+github.com/creachadair/atomicfile v0.3.2 h1:f8haU8NcZ1NABfhHafpJIG+atR7481lqnx04clrxSOA=
+github.com/creachadair/atomicfile v0.3.2/go.mod h1:3ZSR9ApQoZLvVNI5eRhzpU0a2Efu88TgNBIm0jRXCgA=
+github.com/creachadair/tomledit v0.0.25 h1:QBzoVTd4hVsKF4tTrrHFbrtAbxT41WvW348aE4lvr3o=
+github.com/creachadair/tomledit v0.0.25/go.mod h1:m4Z0a8730G9sNfBkfbFAM+iw2cBBr/YmNeSjTnBCkfw=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/curioswitch/go-reassign v0.2.0 h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo=
@@ -465,24 +505,26 @@ github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuA
github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0=
github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
+github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo=
-github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0=
github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc=
+github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y=
+github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs=
-github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4=
-github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc=
+github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs=
+github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0=
github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M=
github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw=
github.com/denis-tingaikin/go-header v0.4.3 h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU=
github.com/denis-tingaikin/go-header v0.4.3/go.mod h1:0wOCWuN71D5qIgE2nz9KrKmuYBAC2Mra5RassOIQ2/c=
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I=
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE=
-github.com/desmos-labs/cosmos-sdk v0.47.7-desmos h1:tVDgBdQiRxMfsI9xiweGx1jYEeymWbVdYxCYYXYbk3k=
-github.com/desmos-labs/cosmos-sdk v0.47.7-desmos/go.mod h1:rHrJgrXEk6AsXiC96iezAzn067FaTMGibYp/g/sbGlk=
-github.com/desmos-labs/ledger-desmos-go v0.12.1-desmos h1:uYU67f1pZ7Jht/q9cn5sTdeto0J+lRUHIJgmedDGEVM=
-github.com/desmos-labs/ledger-desmos-go v0.12.1-desmos/go.mod h1:dhO6kj+Y+AHIOgAe4L9HL/6NDdyyth4q238I9yFpD2g=
+github.com/desmos-labs/cosmos-sdk v0.50.3-desmos h1:CtUgeZH6x6hZEEWzNvXy1tcjpY/olZDiKhz/S7f9ue4=
+github.com/desmos-labs/cosmos-sdk v0.50.3-desmos/go.mod h1:tlrkY1sntOt1q0OX/rqF0zRJtmXNoffAS6VFTcky+w8=
+github.com/desmos-labs/ledger-desmos-go v0.13.0-desmos h1:e72xKoOLZ1Vy9CPf0OgFjGuf0Rs7f7iMSUsR8Uj/VD4=
+github.com/desmos-labs/ledger-desmos-go v0.13.0-desmos/go.mod h1:ZcqYgnfNJ6lAXe4HPtWgarNEY+B74i+2/8MhZw4ziiI=
github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o=
github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk=
github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E=
@@ -494,14 +536,16 @@ github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUn
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y=
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw=
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
+github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0=
+github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc=
github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko=
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
-github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
-github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/docker v1.6.2/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
+github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
+github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk=
github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y=
github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
@@ -515,6 +559,8 @@ github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1
github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts=
github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
+github.com/emicklei/dot v1.6.0 h1:vUzuoVE8ipzS7QkES4UfxdpCwdU2U97m2Pb2tQCoYRY=
+github.com/emicklei/dot v1.6.0/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s=
github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
@@ -533,13 +579,13 @@ github.com/ethereum/go-ethereum v1.10.18/go.mod h1:RD3NhcSBjZpj3k+SnQq24wBrmnmie
github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw=
github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
+github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94=
-github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
-github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o=
-github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
+github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
+github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/firefart/nonamedreturns v1.0.4 h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y=
github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI=
github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c/go.mod h1:AzA8Lj6YtixmJWL+wkKoBGsLWy9gFrAzi4g+5bCKwpY=
@@ -547,35 +593,40 @@ github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
+github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
+github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA=
+github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
+github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8=
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww=
github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4=
github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4=
-github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZWO05nE=
-github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
+github.com/getsentry/sentry-go v0.25.0 h1:q6Eo+hS+yoJlTO3uu/azhQadsD8V+jQn2D8VvX1eOyI=
+github.com/getsentry/sentry-go v0.25.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/ghostiam/protogetter v0.2.3 h1:qdv2pzo3BpLqezwqfGDLZ+nHEYmc5bUpIdsMbBVwMjw=
github.com/ghostiam/protogetter v0.2.3/go.mod h1:KmNLOsy1v04hKbvZs8EfGI1fk39AgTdRDxWNYPfXVc4=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
-github.com/gin-gonic/gin v1.8.1 h1:4+fr/el88TOO3ewCmQr8cx/CtZ/umlIRIs5M4NTNjf8=
-github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk=
+github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg=
+github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU=
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE=
github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24=
github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs=
github.com/go-critic/go-critic v0.9.0 h1:Pmys9qvU3pSML/3GEQ2Xd9RZ/ip+aXHKILuxczKGV/U=
github.com/go-critic/go-critic v0.9.0/go.mod h1:5P8tdXL7m/6qnyG6oRAlYLORvoXH0WDypYgAEmagT40=
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
+github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g=
github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks=
github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY=
@@ -600,22 +651,24 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG
github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4=
github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs=
github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ=
+github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8=
github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M=
-github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
-github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU=
-github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs=
-github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho=
-github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA=
-github.com/go-playground/validator/v10 v10.10.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos=
-github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ=
+github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
+github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
+github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
+github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
+github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
+github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js=
+github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU=
github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg=
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
+github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls=
github.com/go-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8=
github.com/go-toolsmith/astcast v1.1.0/go.mod h1:qdcuFWeGGS2xX5bLM/c3U9lewg7+Zu4mr+xPwZIB4ZU=
github.com/go-toolsmith/astcopy v1.1.0 h1:YGwBN0WM+ekI/6SS6+52zLDEf8Yvp3n2seZITCUBt5s=
@@ -628,6 +681,7 @@ github.com/go-toolsmith/astfmt v1.1.0/go.mod h1:OrcLlRwu0CuiIBp/8b5PYF9ktGVZUjlN
github.com/go-toolsmith/astp v1.1.0 h1:dXPuCl6u2llURjdPLLDxJeZInAeZ0/eZwFJmqZMnpQA=
github.com/go-toolsmith/astp v1.1.0/go.mod h1:0T1xFGz9hicKs8Z5MfAqSUitoUYS30pDMsRVIDHs8CA=
github.com/go-toolsmith/pkgload v1.2.2 h1:0CtmHq/02QhxcF7E9N5LIFcYFsMR5rdovfqTtRKkgIk=
+github.com/go-toolsmith/pkgload v1.2.2/go.mod h1:R2hxLNRKuAsiXCo2i5J6ZQPhnPMOVtU+f0arbFPWCus=
github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8=
github.com/go-toolsmith/strparse v1.1.0 h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQiyP2Bvw=
github.com/go-toolsmith/strparse v1.1.0/go.mod h1:7ksGy58fsaQkGQlY8WVoBFNyEPMGuJin1rfoPS4lBSQ=
@@ -637,14 +691,16 @@ github.com/go-xmlfmt/xmlfmt v1.1.2 h1:Nea7b4icn8s57fTx1M5AI4qQT5HEM3rVUO8MuE6g80
github.com/go-xmlfmt/xmlfmt v1.1.2/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM=
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
-github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0=
github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo=
-github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8=
+github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU=
+github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM=
github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
+github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og=
+github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo=
github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM=
-github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
-github.com/goccy/go-json v0.9.11 h1:/pAaQDLHEoCq/5FFmSKBswWmK6H0e8g4159Kc/X/nqk=
+github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
+github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0=
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
@@ -665,8 +721,8 @@ github.com/golang-jwt/jwt/v4 v4.3.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzw
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo=
-github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ=
+github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68=
+github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
@@ -766,6 +822,7 @@ github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIG
github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw=
+github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
github.com/google/orderedcode v0.0.1 h1:UzfcAexk9Vhv8+9pNOgRu41f16lHq725vPwnSeiG/Us=
github.com/google/orderedcode v0.0.1/go.mod h1:iVyU4/qPKHY5h/wSd6rZZCDcLJNxiWO6dvsYES2Sb20=
github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
@@ -782,8 +839,9 @@ github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLe
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec=
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20230228050547-1710fef4ab10 h1:CqYfpuYIjnlNxM3msdyPRKabhXZWbKjf3Q8BWROFBso=
+github.com/google/pprof v0.0.0-20230228050547-1710fef4ab10/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o=
github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw=
@@ -817,8 +875,8 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORR
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 h1:mrEEilTAUmaAORhssPPkxj84TsHrPMLBGW2Z4SoTxm8=
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
-github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4=
-github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q=
+github.com/gorilla/handlers v1.5.2 h1:cLTUSsNkgcwhgRqvCNmdbRWG0A3N4F+M2nWKdScwyEE=
+github.com/gorilla/handlers v1.5.2/go.mod h1:dX+xVpaxdSw+q0Qek8SSsl3dfMk3jNddUkMzo0GtH0w=
github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
@@ -840,22 +898,18 @@ github.com/gostaticanalysis/nilerr v0.1.1 h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3
github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A=
github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M=
github.com/gostaticanalysis/testutil v0.4.0 h1:nhdCmubdmDF6VEatUNjgUZBJKWRqugoISdUv3PPQgHY=
+github.com/gostaticanalysis/testutil v0.4.0/go.mod h1:bLIoPefWXrRi/ssLFWX1dx7Repi5x3CuviD3dgAZaBU=
github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc=
github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI=
-github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw=
-github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y=
+github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI=
+github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8=
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU=
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0=
-github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s=
-github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is=
-github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s=
-github.com/gtank/ristretto255 v0.1.2 h1:JEqUCPA1NvLq5DwYtuzigd7ss8fwbYay9fi4/5uMzcc=
-github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o=
github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
@@ -868,13 +922,19 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY=
github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744=
+github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c=
+github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc=
github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
+github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/Hqck/U=
+github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE=
github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
+github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y=
+github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4=
github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo=
@@ -882,8 +942,9 @@ github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoD
github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
-github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE=
github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
+github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE=
+github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
@@ -891,14 +952,17 @@ github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09
github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
-github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs=
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
+github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c=
+github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
+github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE=
+github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ=
github.com/hdevalence/ed25519consensus v0.1.0 h1:jtBwzzcHuTmFrQN6xQZn6CQEO/V9f7HsjsjeEZ6auqU=
github.com/hdevalence/ed25519consensus v0.1.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo=
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
@@ -913,6 +977,8 @@ github.com/huandu/skiplist v1.2.0/go.mod h1:7v3iFjLcSAzO4fN5B8dvebvo/qsfumiLiDXM
github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
github.com/huin/goupnp v1.0.3/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y=
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o=
+github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI=
+github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ=
@@ -938,7 +1004,8 @@ github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGAR
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/jgautheron/goconst v1.6.0 h1:gbMLWKRMkzAc6kYsQL6/TxaoBUg3Jm9LSF/Ih1ADWGA=
github.com/jgautheron/goconst v1.6.0/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4=
-github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c=
+github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls=
+github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k=
github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs=
github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c=
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=
@@ -986,9 +1053,13 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs
github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM=
-github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I=
-github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
+github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4=
+github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
+github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5 h1:2U0HzY8BJ8hVwDKIzp7y4voR9CX/nvcfymLmg2UiOio=
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
+github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
+github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZXnvk=
+github.com/klauspost/cpuid/v2 v2.2.4/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg=
github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
@@ -997,7 +1068,6 @@ github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
-github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
@@ -1019,8 +1089,8 @@ github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdB
github.com/ldez/tagliatelle v0.5.0 h1:epgfuYt9v0CG3fms0pEgIMNPuFf/LpPIfjk4kyqSioo=
github.com/ldez/tagliatelle v0.5.0/go.mod h1:rj1HmWiL1MiKQuOONhd09iySTEkUuE/8+5jtPYz9xa4=
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
-github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w=
-github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
+github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
+github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=
github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
@@ -1057,6 +1127,7 @@ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaO
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
+github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
@@ -1067,8 +1138,9 @@ github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2y
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
-github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
+github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
+github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
@@ -1086,9 +1158,6 @@ github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aks
github.com/mgechev/revive v1.3.4 h1:k/tO3XTaWY4DEHal9tWBkkUMJYO/dLDVyMmAQxmIMDc=
github.com/mgechev/revive v1.3.4/go.mod h1:W+pZCMu9qj8Uhfs1iJMQsEFLRozUfvwFwqVvRbSNLVw=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
-github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM=
-github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 h1:QRUSJEgZn2Snx0EmT/QLXibWjSUDjKWvXIT19NBVp94=
-github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM=
github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g=
github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
@@ -1145,8 +1214,13 @@ github.com/nunnatsa/ginkgolinter v0.14.1 h1:khx0CqR5U4ghsscjJ+lZVthp3zjIFytRXPTa
github.com/nunnatsa/ginkgolinter v0.14.1/go.mod h1:nY0pafUSst7v7F637e7fymaMlQqI9c0Wka2fGsDkzWg=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
+github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
+github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a h1:dlRvE5fWabOchtH7znfiFCcOvmIYgOeAS5ifBXBlh9Q=
+github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a/go.mod h1:hVoHR2EVESiICEMbg137etN/Lx+lSrHPTD39Z/uE+2s=
github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs=
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
+github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
+github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
@@ -1158,16 +1232,21 @@ github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+
github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY=
github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc=
+github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0=
github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4=
+github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.28.1 h1:MijcGUbfYuznzK/5R4CPNoUP/9Xvuo20sXfEm6XxoTA=
+github.com/onsi/gomega v1.28.1/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ=
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.1.0-rc2 h1:2zx/Stx4Wc5pIPDvIxHXvXtQFW/7XWJGmnM7r3wg034=
+github.com/opencontainers/image-spec v1.1.0-rc2/go.mod h1:3OVijpioIKYWTqjiG0zfF6wvoJ4fAXGbjdZuI2NgsRQ=
github.com/opencontainers/runc v1.1.3 h1:vIXrkId+0/J2Ymu2m7VjGvbSlAId9XNRPhn2p4b+d8w=
+github.com/opencontainers/runc v1.1.3/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg=
github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis=
github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
@@ -1178,10 +1257,12 @@ github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJ
github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA=
+github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs=
github.com/osmosis-labs/go-mutesting v0.0.0-20221219192234-827e6d6b9d4e h1:yuDnnXG7UYi96gOVrDpEamdx14xr772yRg/LmJYobHE=
github.com/osmosis-labs/go-mutesting v0.0.0-20221219192234-827e6d6b9d4e/go.mod h1:lV6KnqXYD/ayTe7310MHtM3I2q8Z6bBfMAi+bhwPYtI=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
github.com/otiai10/copy v1.11.0 h1:OKBD80J/mLBrwnzXqGtFCzprFSGioo30JcmR4APsNwc=
+github.com/otiai10/copy v1.11.0/go.mod h1:rSaLseMUsZFFbsFGc7wCJnnkTAvdc5L6VWxPE4308Ww=
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs=
github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo=
@@ -1193,15 +1274,15 @@ github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144T
github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
-github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo=
-github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ=
github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4=
+github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4=
+github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc=
github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac=
github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc=
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0=
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o=
-github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6R18ax0tZ2BJeNB3NehB3trOwYBsdU=
-github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
+github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA=
+github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU=
github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY=
github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI=
@@ -1209,6 +1290,7 @@ github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk
github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc=
github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4=
+github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
@@ -1217,8 +1299,9 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA=
github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg=
github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ=
-github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
+github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/polyfloyd/go-errorlint v1.4.5 h1:70YWmMy4FgRHehGNOUask3HtSFSOLKgmDn7ryNe7LqI=
github.com/polyfloyd/go-errorlint v1.4.5/go.mod h1:sIZEbFoDOCnTYYZoVkjc4hTnM459tuWA9H/EkdXwsKk=
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
@@ -1281,8 +1364,6 @@ github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRr
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
-github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
@@ -1290,8 +1371,8 @@ github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo=
github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
-github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c=
-github.com/rs/zerolog v1.30.0/go.mod h1:/tk+P47gFdPXq4QYjvCmT5/Gsug2nagsFWBWhAiSi1w=
+github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A=
+github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
@@ -1302,6 +1383,10 @@ github.com/ryancurrah/gomodguard v1.3.0/go.mod h1:ggBxb3luypPEzqVtq33ee7YSN35V28
github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU=
github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
+github.com/sagikazarmark/locafero v0.3.0 h1:zT7VEGWC2DTflmccN/5T1etyKvxSxpHsjb9cJvm4SvQ=
+github.com/sagikazarmark/locafero v0.3.0/go.mod h1:w+v7UsPNFwzF1cHuOajOOzoq4U7v/ig1mpRjqV+Bu1U=
+github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE=
+github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ=
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
github.com/sanposhiho/wastedassign/v2 v2.0.7 h1:J+6nrY4VW+gC9xFzUc+XjPD3g3wF3je/NsJFwFK7Uxc=
github.com/sanposhiho/wastedassign/v2 v2.0.7/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI=
@@ -1341,14 +1426,16 @@ github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4k
github.com/sonatard/noctx v0.0.2 h1:L7Dz4De2zDQhW8S0t+KUjY0MAQJd6SgVwhzNIc4ok00=
github.com/sonatard/noctx v0.0.2/go.mod h1:kzFz+CzWSjQ2OzIm46uJZoXuBpa2+0y3T36U18dWqIo=
github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY=
+github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo=
+github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0=
github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0=
github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI=
github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
-github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM=
-github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ=
+github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY=
+github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ=
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0=
github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
@@ -1357,15 +1444,13 @@ github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tL
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
-github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
-github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
-github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc=
-github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg=
+github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI=
+github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI=
github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=
github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I=
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
@@ -1387,13 +1472,15 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
-github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8=
-github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
+github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
+github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY=
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c h1:+aPplBwWcHBo6q9xrfWdMrT9o4kltkmmvpemgIjep/8=
@@ -1408,8 +1495,8 @@ github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpR
github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY=
github.com/tetafro/godot v1.4.15 h1:QzdIs+XB8q+U1WmQEWKHQbKmCw06QuQM7gLx/dky2RM=
github.com/tetafro/godot v1.4.15/go.mod h1:2oVxTBSftRTh4+MVfUaUXR6bn2GDXCaMcOG4Dk3rfio=
-github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg=
-github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY=
+github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI=
+github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY=
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 h1:quvGphlmUVU+nhpFa4gg4yJyTRJ13reZMDHrKwYw53M=
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966/go.mod h1:27bSVNWSBOHm+qRp1T9qzaIpsWEP6TbUnei/43HK+PQ=
github.com/timonwong/loggercheck v0.9.4 h1:HKKhqrjcVj8sxL7K77beXh0adEm6DLjV/QOGeMXEVi4=
@@ -1423,12 +1510,12 @@ github.com/tomarrell/wrapcheck/v2 v2.8.1/go.mod h1:/n2Q3NZ4XFT50ho6Hbxg+RV1uyo2U
github.com/tommy-muehle/go-mnd/v2 v2.5.1 h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw=
github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
+github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
+github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs=
-github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo=
-github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
-github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0=
-github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY=
+github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU=
+github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
@@ -1476,6 +1563,7 @@ github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1U
gitlab.com/bosi/decorder v0.4.1 h1:VdsdfxhstabyhZovHafFw+9eJ6eU0d2CkFNJcZz/NU4=
gitlab.com/bosi/decorder v0.4.1/go.mod h1:jecSqWUew6Yle1pCr2eLWTensJMmsxHsBwt+PVbkAqA=
go-simpler.org/assert v0.6.0 h1:QxSrXa4oRuo/1eHMXSBFHKvJIpWABayzKldqZyugG7E=
+go-simpler.org/assert v0.6.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28=
go-simpler.org/sloglint v0.1.2 h1:IjdhF8NPxyn0Ckn2+fuIof7ntSnVUAqBFcQRrnG9AiM=
go-simpler.org/sloglint v0.1.2/go.mod h1:2LL+QImPfTslD5muNPydAEYmpXIj6o/WYcqnJjLi4o4=
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
@@ -1502,17 +1590,24 @@ go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ=
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
+go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
+go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
-go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8=
-go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak=
+go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
+go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
+go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA=
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
+go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
+golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
+golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k=
+golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -1522,17 +1617,17 @@ golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
-golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw=
+golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
+golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@@ -1551,8 +1646,8 @@ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EH
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw=
golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE=
-golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb h1:mIKbk8weKhSeLH2GmUTrvx8CjkyJmnU1wFmg59CUjFA=
-golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
+golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI=
+golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo=
golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 h1:jWGQJV4niP+CCmFW9ekjA9Zx8vYORzOUH2/Nl5WPuLQ=
@@ -1669,6 +1764,8 @@ golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
+golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
+golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
golang.org/x/oauth2 v0.0.0-20170207211851-4464e7848382/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
@@ -1716,8 +1813,8 @@ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ=
-golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
+golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=
+golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1804,6 +1901,7 @@ golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -1823,6 +1921,7 @@ golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220702020025-31831981b65f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -1834,6 +1933,8 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
@@ -1843,6 +1944,8 @@ golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
+golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
+golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1858,6 +1961,8 @@ golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
+golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
+golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -2212,6 +2317,7 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
@@ -2248,8 +2354,8 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
-gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY=
+gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU=
+gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
@@ -2272,13 +2378,13 @@ mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d/go.mod h1:IeHQjmn6TOD+e4Z3RF
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g=
nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
-pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA=
-pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
+pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
+pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
-sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo=
-sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=
+sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
+sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
diff --git a/proto/buf.lock b/proto/buf.lock
index 9cfb67e595..eb98d7f7b4 100644
--- a/proto/buf.lock
+++ b/proto/buf.lock
@@ -9,8 +9,8 @@ deps:
- remote: buf.build
owner: cosmos
repository: cosmos-sdk
- commit: 954f7b05f38440fc8250134b15adec47
- digest: shake256:2ab4404fd04a7d1d52df0e2d0f2d477a3d83ffd88d876957bf3fedfd702c8e52833d65b3ce1d89a3c5adf2aab512616b0e4f51d8463f07eda9a8a3317ee3ac54
+ commit: b446f3279dcf4c42b2dac30d5fa759dc
+ digest: shake256:855b9e3f8e880ded88af1fee0363af80a1bd16b5dc89d142f89bbec12a31a66e7f194646a9afdacdc19df71fa810385ef127d3b46f939cb0c4710bc1c4d5743a
- remote: buf.build
owner: cosmos
repository: gogo-proto
@@ -19,8 +19,8 @@ deps:
- remote: buf.build
owner: cosmos
repository: ibc
- commit: e6b07bb8a5a548f6a5135067a2538ddd
- digest: shake256:5794f44aeabb1402b4d52c98c16f34536aa3b536edfe37354723364da8e98c84c4ade83b0bc32a378e60870e9442222132dcc4bf47d3b4395956f4ab73ed32b1
+ commit: 2d4d5bdf83d54cafade8e48e3f6cc4b3
+ digest: shake256:b1966cd943612d7694f5006e0021ed3ac2cba6881a7b1af5901042eede22b29772b7e481326240313cbf1f41d1bc42036f775a9663e3fc49e085d42ee0d03ffe
- remote: buf.build
owner: cosmos
repository: ics23
@@ -29,5 +29,10 @@ deps:
- remote: buf.build
owner: googleapis
repository: googleapis
- commit: cc916c31859748a68fd229a3c8d7a2e8
- digest: shake256:469b049d0eb04203d5272062636c078decefc96fec69739159c25d85349c50c34c7706918a8b216c5c27f76939df48452148cff8c5c3ae77fa6ba5c25c1b8bf8
+ commit: 28151c0d0a1641bf938a7672c500e01d
+ digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de
+ - remote: buf.build
+ owner: protocolbuffers
+ repository: wellknowntypes
+ commit: 657250e6a39648cbb169d079a60bd9ba
+ digest: shake256:00de25001b8dd2e29d85fc4bcc3ede7aed886d76d67f5e0f7a9b320b90f871d3eb73507d50818d823a0512f3f8db77a11c043685528403e31ff3fef18323a9fb
diff --git a/proto/buf.yaml b/proto/buf.yaml
index 046b2a7390..ea670d003e 100644
--- a/proto/buf.yaml
+++ b/proto/buf.yaml
@@ -1,7 +1,7 @@
version: v1
name: buf.build/desmos-labs/desmos
deps:
- - buf.build/cosmos/cosmos-sdk:v0.47.0
+ - buf.build/cosmos/cosmos-sdk
- buf.build/cosmos/cosmos-proto
- buf.build/cosmos/gogo-proto
- buf.build/cosmos/ibc
diff --git a/proto/desmos/profiles/v2/models_params.proto b/proto/desmos/profiles/v2/models_params.proto
index 4c191b494d..cd3d4cd3ce 100644
--- a/proto/desmos/profiles/v2/models_params.proto
+++ b/proto/desmos/profiles/v2/models_params.proto
@@ -35,13 +35,13 @@ message NicknameParams {
option (gogoproto.goproto_getters) = false;
bytes min_length = 1 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"min_length\""
];
bytes max_length = 2 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"max_length\""
];
@@ -54,14 +54,14 @@ message DTagParams {
string reg_ex = 1 [ (gogoproto.moretags) = "yaml:\"reg_ex\"" ];
bytes min_length = 2 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"min_length\"",
(gogoproto.customname) = "MinLength"
];
bytes max_length = 3 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"max_length\"",
(gogoproto.customname) = "MaxLength"
@@ -73,7 +73,7 @@ message BioParams {
option (gogoproto.goproto_getters) = false;
bytes max_length = 3 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"max_length\""
];
diff --git a/proto/desmos/profiles/v3/models_params.proto b/proto/desmos/profiles/v3/models_params.proto
index 0f1920b484..991cf190fe 100644
--- a/proto/desmos/profiles/v3/models_params.proto
+++ b/proto/desmos/profiles/v3/models_params.proto
@@ -47,14 +47,14 @@ message NicknameParams {
option (gogoproto.goproto_getters) = false;
bytes min_length = 1 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"min_length\"",
(amino.dont_omitempty) = true
];
bytes max_length = 2 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"max_length\"",
(amino.dont_omitempty) = true
@@ -68,7 +68,7 @@ message DTagParams {
string reg_ex = 1 [ (gogoproto.moretags) = "yaml:\"reg_ex\"" ];
bytes min_length = 2 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"min_length\"",
(gogoproto.customname) = "MinLength",
@@ -76,7 +76,7 @@ message DTagParams {
];
bytes max_length = 3 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"max_length\"",
(gogoproto.customname) = "MaxLength",
@@ -89,7 +89,7 @@ message BioParams {
option (gogoproto.goproto_getters) = false;
bytes max_length = 3 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"max_length\"",
(amino.dont_omitempty) = true
diff --git a/proto/desmos/profiles/v3/msg_server.proto b/proto/desmos/profiles/v3/msg_server.proto
index 1a3549f68c..205ae365f2 100644
--- a/proto/desmos/profiles/v3/msg_server.proto
+++ b/proto/desmos/profiles/v3/msg_server.proto
@@ -1,13 +1,17 @@
syntax = "proto3";
package desmos.profiles.v3;
+import "google/protobuf/any.proto";
+import "gogoproto/gogo.proto";
+
import "cosmos/msg/v1/msg.proto";
+import "amino/amino.proto";
+import "cosmos_proto/cosmos.proto";
+import "ibc/core/client/v1/client.proto";
-import "desmos/profiles/v3/msgs_profile.proto";
-import "desmos/profiles/v3/msgs_dtag_requests.proto";
-import "desmos/profiles/v3/msgs_chain_links.proto";
-import "desmos/profiles/v3/msgs_app_links.proto";
-import "desmos/profiles/v3/msgs_params.proto";
+import "desmos/profiles/v3/models_app_links.proto";
+import "desmos/profiles/v3/models_chain_links.proto";
+import "desmos/profiles/v3/models_params.proto";
option go_package = "github.com/desmos-labs/desmos/v6/x/profiles/types";
@@ -70,4 +74,353 @@ service Msg {
//
// Since: Desmos 5.0.0
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
-}
\ No newline at end of file
+}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgSaveProfile represents a message to save a profile.
+message MsgSaveProfile {
+ option (cosmos.msg.v1.signer) = "creator";
+ option (amino.name) = "desmos/MsgSaveProfile";
+
+ // DTag of the profile. If it shouldn't be changed, [do-no-modify] can be used
+ // instead.
+ string dtag = 1 [
+ (gogoproto.moretags) = "yaml:\"dtag\"",
+ (gogoproto.customname) = "DTag"
+ ];
+
+ // Nickname of the profile. If it shouldn't be changed, [do-no-modify] can be
+ // used instead.
+ string nickname = 2 [ (gogoproto.moretags) = "yaml:\"nickname\"" ];
+
+ // Bio of the profile. If it shouldn't be changed, [do-no-modify] can be used
+ // instead.
+ string bio = 3 [ (gogoproto.moretags) = "yaml:\"bio\"" ];
+
+ // URL to the profile picture. If it shouldn't be changed, [do-no-modify] can
+ // be used instead.
+ string profile_picture = 4
+ [ (gogoproto.moretags) = "yaml:\"profile_picture\"" ];
+
+ // URL to the profile cover. If it shouldn't be changed, [do-no-modify] can be
+ // used instead.
+ string cover_picture = 5 [ (gogoproto.moretags) = "yaml:\"cover_picture\"" ];
+
+ // Address of the user associated to the profile
+ string creator = 6 [
+ (gogoproto.moretags) = "yaml:\"creator\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgSaveProfileResponse defines the Msg/SaveProfile response type.
+message MsgSaveProfileResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgDeleteProfile represents the message used to delete an existing profile.
+message MsgDeleteProfile {
+ option (cosmos.msg.v1.signer) = "creator";
+ option (amino.name) = "desmos/MsgDeleteProfile";
+
+ // Address associated to the profile to be deleted
+ string creator = 1 [
+ (gogoproto.moretags) = "yaml:\"creator\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.
+message MsgDeleteProfileResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgRequestDTagTransfer represents the message used to request the DTag
+// transfer to another user.
+message MsgRequestDTagTransfer {
+ option (cosmos.msg.v1.signer) = "sender";
+ option (amino.name) = "desmos/MsgRequestDTagTransfer";
+
+ // Receiver contains the address of the request receiver that owns the DTag to
+ // transfer if the request is accepted
+ string receiver = 1 [ (gogoproto.moretags) = "yaml:\"receiver\"" ];
+
+ // Sender contains the address of the request sender that will receive the
+ // receiver DTag if the requet is accepted
+ string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+}
+
+// MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response
+// type.
+message MsgRequestDTagTransferResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgCancelDTagTransferRequest represents the message used to cancel a DTag
+// transfer request.
+message MsgCancelDTagTransferRequest {
+ option (cosmos.msg.v1.signer) = "sender";
+ option (amino.name) = "desmos/MsgCancelDTagTransferRequest";
+
+ // Receiver contains the address of the request receiver
+ string receiver = 1 [
+ (gogoproto.moretags) = "yaml:\"receiver\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+
+ // Sender contains the address of the requets sender
+ string sender = 2 [
+ (gogoproto.moretags) = "yaml:\"sender\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgCancelDTagTransferRequestResponse represents the
+// Msg/CancelDTagTransferRequest response type.
+message MsgCancelDTagTransferRequestResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgAcceptDTagTransferRequest represents the message used to accept a DTag
+// transfer request.
+message MsgAcceptDTagTransferRequest {
+ option (cosmos.msg.v1.signer) = "receiver";
+ option (amino.name) = "desmos/MsgAcceptDTagTransferRequest";
+
+ // NewDTag represents the DTag that the request receiver will obtain if they
+ // accept the request
+ string new_dtag = 1 [
+ (gogoproto.moretags) = "yaml:\"new_dtag\"",
+ (gogoproto.customname) = "NewDTag"
+ ];
+
+ // Sender represents the request sender
+ string sender = 2 [
+ (gogoproto.moretags) = "yaml:\"sender\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+
+ // Receiver represents the request receiver
+ string receiver = 3 [
+ (gogoproto.moretags) = "yaml:\"receiver\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgAcceptDTagTransferRequestResponse defines the
+// Msg/AcceptDTagTransferRequest response.
+message MsgAcceptDTagTransferRequestResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgRefuseDTagTransferRequest represents the message used to refuse a DTag
+// transfer request.
+message MsgRefuseDTagTransferRequest {
+ option (cosmos.msg.v1.signer) = "receiver";
+ option (amino.name) = "desmos/MsgRefuseDTagTransferRequest";
+
+ // Sender represents the request sender
+ string sender = 1 [
+ (gogoproto.moretags) = "yaml:\"sender\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+
+ // Receiver represents the request receiver
+ string receiver = 2 [
+ (gogoproto.moretags) = "yaml:\"receiver\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgRefuseDTagTransferRequestResponse defines the
+// Msg/RefuseDTagTransferRequest response.
+message MsgRefuseDTagTransferRequestResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgLinkChainAccount represents a message to link an account to a profile.
+message MsgLinkChainAccount {
+ option (cosmos.msg.v1.signer) = "signer";
+ option (amino.name) = "desmos/MsgLinkChainAccount";
+
+ // ChainAddress contains the details of the external chain address to be
+ // linked
+ google.protobuf.Any chain_address = 1 [
+ (gogoproto.moretags) = "yaml:\"source_address\"",
+ (cosmos_proto.accepts_interface) = "desmos.profiles.v3.AddressData"
+ ];
+
+ // Proof contains the proof of ownership of the external chain address
+ desmos.profiles.v3.Proof proof = 2 [
+ (gogoproto.nullable) = false,
+ (gogoproto.moretags) = "yaml:\"source_proof\"",
+ (amino.dont_omitempty) = true
+ ];
+
+ // ChainConfig contains the configuration of the external chain
+ desmos.profiles.v3.ChainConfig chain_config = 3 [
+ (gogoproto.nullable) = false,
+ (gogoproto.moretags) = "yaml:\"source_chain_config\"",
+ (amino.dont_omitempty) = true
+ ];
+
+ // Signer represents the Desmos address associated with the
+ // profile to which link the external account
+ string signer = 4 [
+ (gogoproto.moretags) = "yaml:\"signer\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgLinkChainAccountResponse defines the Msg/LinkAccount response type.
+message MsgLinkChainAccountResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgUnlinkChainAccount represents a message to unlink an account from a
+// profile.
+message MsgUnlinkChainAccount {
+ option (cosmos.msg.v1.signer) = "owner";
+ option (amino.name) = "desmos/MsgUnlinkChainAccount";
+
+ // Owner represents the Desmos profile from which to remove the link
+ string owner = 1 [
+ (gogoproto.moretags) = "yaml:\"owner\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+
+ // ChainName represents the name of the chain to which the link to remove is
+ // associated
+ string chain_name = 2 [ (gogoproto.moretags) = "yaml:\"chain_name\"" ];
+
+ // Target represents the external address to be removed
+ string target = 3 [ (gogoproto.moretags) = "yaml:\"target\"" ];
+}
+
+// MsgUnlinkChainAccountResponse defines the Msg/UnlinkAccount response type.
+message MsgUnlinkChainAccountResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgSetDefaultExternalAddress represents the message used to set a default
+// address for a specific chain
+message MsgSetDefaultExternalAddress {
+ option (cosmos.msg.v1.signer) = "signer";
+ option (amino.name) = "desmos/MsgSetDefaultExternalAddress";
+
+ // Name of the chain for which to set the default address
+ string chain_name = 1;
+
+ // Address to be set as the default one
+ string target = 2;
+
+ // User signing the message
+ string signer = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
+}
+
+// MsgSetDefaultExternalAddressResponse represents the
+// Msg/SetDefaultExternalAddress response type
+message MsgSetDefaultExternalAddressResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgLinkApplication defines a msg to connect a profile with a
+// centralized application account (eg. Twitter, GitHub, etc).
+message MsgLinkApplication {
+ option (cosmos.msg.v1.signer) = "sender";
+ option (amino.name) = "desmos/MsgLinkApplication";
+
+ // The sender of the connection request
+ string sender = 1 [
+ (gogoproto.moretags) = "yaml:\"sender\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+
+ // LinkData contains the data related to the application to which connect
+ Data link_data = 2 [
+ (gogoproto.nullable) = false,
+ (gogoproto.moretags) = "yaml:\"link_data\"",
+ (amino.dont_omitempty) = true
+ ];
+
+ // Hex encoded call data that will be sent to the data source in order to
+ // verify the link
+ string call_data = 3 [ (gogoproto.moretags) = "yaml:\"call_data\"" ];
+
+ // The port on which the packet will be sent
+ string source_port = 4 [ (gogoproto.moretags) = "yaml:\"source_port\"" ];
+
+ // The channel by which the packet will be sent
+ string source_channel = 5
+ [ (gogoproto.moretags) = "yaml:\"source_channel\"" ];
+
+ // Timeout height relative to the current block height.
+ // The timeout is disabled when set to 0.
+ ibc.core.client.v1.Height timeout_height = 6 [
+ (gogoproto.nullable) = false,
+ (gogoproto.moretags) = "yaml:\"timeout_height\"",
+ (amino.dont_omitempty) = true
+ ];
+
+ // Timeout timestamp (in nanoseconds) relative to the current block timestamp.
+ // The timeout is disabled when set to 0.
+ uint64 timeout_timestamp = 7
+ [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ];
+}
+
+// MsgLinkApplicationResponse defines the Msg/LinkApplication
+// response type.
+message MsgLinkApplicationResponse {}
+
+// -------------------------------------------------------------------------------------------------------------------
+
+// MsgUnlinkApplication defines a msg to delete an application link from a user
+// profile
+message MsgUnlinkApplication {
+ option (cosmos.msg.v1.signer) = "signer";
+ option (amino.name) = "desmos/MsgUnlinkApplication";
+
+ // Application represents the name of the application to unlink
+ string application = 1 [ (gogoproto.moretags) = "yaml:\"application\"" ];
+
+ // Username represents the username inside the application to unlink
+ string username = 2 [ (gogoproto.moretags) = "yaml:\"username\"" ];
+
+ // Signer represents the Desmos account to which the application should be
+ // unlinked
+ string signer = 3 [
+ (gogoproto.moretags) = "yaml:\"signer\"",
+ (cosmos_proto.scalar) = "cosmos.AddressString"
+ ];
+}
+
+// MsgUnlinkApplicationResponse defines the Msg/UnlinkApplication response
+// type.
+message MsgUnlinkApplicationResponse {}
+
+// --------------------------------------------------------------------------------------------------------------------
+
+// MsgUpdateParams is the Msg/UpdateParams request type.
+//
+// Since: Desmos 5.0.0
+message MsgUpdateParams {
+ option (cosmos.msg.v1.signer) = "authority";
+ option (amino.name) = "desmos/x/profiles/MsgUpdateParams";
+
+ // authority is the address that controls the module (defaults to x/gov unless
+ // overwritten).
+ string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
+
+ // params defines the parameters to update.
+ //
+ // NOTE: All parameters must be supplied.
+ Params params = 2
+ [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ];
+}
+
+// MsgUpdateParamsResponse defines the response structure for executing a
+// MsgUpdateParams message.
+//
+// Since: Desmos 5.0.0
+message MsgUpdateParamsResponse {}
\ No newline at end of file
diff --git a/proto/desmos/profiles/v3/msgs_app_links.proto b/proto/desmos/profiles/v3/msgs_app_links.proto
deleted file mode 100644
index 6a7ac9cc8a..0000000000
--- a/proto/desmos/profiles/v3/msgs_app_links.proto
+++ /dev/null
@@ -1,86 +0,0 @@
-syntax = "proto3";
-package desmos.profiles.v3;
-
-option go_package = "github.com/desmos-labs/desmos/v6/x/profiles/types";
-
-import "desmos/profiles/v3/models_app_links.proto";
-
-import "amino/amino.proto";
-import "gogoproto/gogo.proto";
-import "cosmos/msg/v1/msg.proto";
-import "cosmos_proto/cosmos.proto";
-import "ibc/core/client/v1/client.proto";
-
-// MsgLinkApplication defines a msg to connect a profile with a
-// centralized application account (eg. Twitter, GitHub, etc).
-message MsgLinkApplication {
- option (cosmos.msg.v1.signer) = "sender";
- option (amino.name) = "desmos/MsgLinkApplication";
-
- // The sender of the connection request
- string sender = 1 [
- (gogoproto.moretags) = "yaml:\"sender\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-
- // LinkData contains the data related to the application to which connect
- Data link_data = 2 [
- (gogoproto.nullable) = false,
- (gogoproto.moretags) = "yaml:\"link_data\"",
- (amino.dont_omitempty) = true
- ];
-
- // Hex encoded call data that will be sent to the data source in order to
- // verify the link
- string call_data = 3 [ (gogoproto.moretags) = "yaml:\"call_data\"" ];
-
- // The port on which the packet will be sent
- string source_port = 4 [ (gogoproto.moretags) = "yaml:\"source_port\"" ];
-
- // The channel by which the packet will be sent
- string source_channel = 5
- [ (gogoproto.moretags) = "yaml:\"source_channel\"" ];
-
- // Timeout height relative to the current block height.
- // The timeout is disabled when set to 0.
- ibc.core.client.v1.Height timeout_height = 6 [
- (gogoproto.nullable) = false,
- (gogoproto.moretags) = "yaml:\"timeout_height\"",
- (amino.dont_omitempty) = true
- ];
-
- // Timeout timestamp (in nanoseconds) relative to the current block timestamp.
- // The timeout is disabled when set to 0.
- uint64 timeout_timestamp = 7
- [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ];
-}
-
-// MsgLinkApplicationResponse defines the Msg/LinkApplication
-// response type.
-message MsgLinkApplicationResponse {}
-
-// -------------------------------------------------------------------------------------------------------------------
-
-// MsgUnlinkApplication defines a msg to delete an application link from a user
-// profile
-message MsgUnlinkApplication {
- option (cosmos.msg.v1.signer) = "signer";
- option (amino.name) = "desmos/MsgUnlinkApplication";
-
- // Application represents the name of the application to unlink
- string application = 1 [ (gogoproto.moretags) = "yaml:\"application\"" ];
-
- // Username represents the username inside the application to unlink
- string username = 2 [ (gogoproto.moretags) = "yaml:\"username\"" ];
-
- // Signer represents the Desmos account to which the application should be
- // unlinked
- string signer = 3 [
- (gogoproto.moretags) = "yaml:\"signer\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgUnlinkApplicationResponse defines the Msg/UnlinkApplication response
-// type.
-message MsgUnlinkApplicationResponse {}
\ No newline at end of file
diff --git a/proto/desmos/profiles/v3/msgs_chain_links.proto b/proto/desmos/profiles/v3/msgs_chain_links.proto
deleted file mode 100644
index 5346268ed6..0000000000
--- a/proto/desmos/profiles/v3/msgs_chain_links.proto
+++ /dev/null
@@ -1,95 +0,0 @@
-syntax = "proto3";
-package desmos.profiles.v3;
-
-import "amino/amino.proto";
-import "gogoproto/gogo.proto";
-import "google/protobuf/any.proto";
-import "cosmos_proto/cosmos.proto";
-import "cosmos/msg/v1/msg.proto";
-import "desmos/profiles/v3/models_chain_links.proto";
-
-option go_package = "github.com/desmos-labs/desmos/v6/x/profiles/types";
-
-// MsgLinkChainAccount represents a message to link an account to a profile.
-message MsgLinkChainAccount {
- option (cosmos.msg.v1.signer) = "signer";
- option (amino.name) = "desmos/MsgLinkChainAccount";
-
- // ChainAddress contains the details of the external chain address to be
- // linked
- google.protobuf.Any chain_address = 1 [
- (gogoproto.moretags) = "yaml:\"source_address\"",
- (cosmos_proto.accepts_interface) = "desmos.profiles.v3.AddressData"
- ];
-
- // Proof contains the proof of ownership of the external chain address
- desmos.profiles.v3.Proof proof = 2 [
- (gogoproto.nullable) = false,
- (gogoproto.moretags) = "yaml:\"source_proof\"",
- (amino.dont_omitempty) = true
- ];
-
- // ChainConfig contains the configuration of the external chain
- desmos.profiles.v3.ChainConfig chain_config = 3 [
- (gogoproto.nullable) = false,
- (gogoproto.moretags) = "yaml:\"source_chain_config\"",
- (amino.dont_omitempty) = true
- ];
-
- // Signer represents the Desmos address associated with the
- // profile to which link the external account
- string signer = 4 [
- (gogoproto.moretags) = "yaml:\"signer\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgLinkChainAccountResponse defines the Msg/LinkAccount response type.
-message MsgLinkChainAccountResponse {}
-
-// --------------------------------------------------------------------------------------------------------------------
-
-// MsgUnlinkChainAccount represents a message to unlink an account from a
-// profile.
-message MsgUnlinkChainAccount {
- option (cosmos.msg.v1.signer) = "owner";
- option (amino.name) = "desmos/MsgUnlinkChainAccount";
-
- // Owner represents the Desmos profile from which to remove the link
- string owner = 1 [
- (gogoproto.moretags) = "yaml:\"owner\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-
- // ChainName represents the name of the chain to which the link to remove is
- // associated
- string chain_name = 2 [ (gogoproto.moretags) = "yaml:\"chain_name\"" ];
-
- // Target represents the external address to be removed
- string target = 3 [ (gogoproto.moretags) = "yaml:\"target\"" ];
-}
-
-// MsgUnlinkChainAccountResponse defines the Msg/UnlinkAccount response type.
-message MsgUnlinkChainAccountResponse {}
-
-// --------------------------------------------------------------------------------------------------------------------
-
-// MsgSetDefaultExternalAddress represents the message used to set a default
-// address for a specific chain
-message MsgSetDefaultExternalAddress {
- option (cosmos.msg.v1.signer) = "signer";
- option (amino.name) = "desmos/MsgSetDefaultExternalAddress";
-
- // Name of the chain for which to set the default address
- string chain_name = 1;
-
- // Address to be set as the default one
- string target = 2;
-
- // User signing the message
- string signer = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
-}
-
-// MsgSetDefaultExternalAddressResponse represents the
-// Msg/SetDefaultExternalAddress response type
-message MsgSetDefaultExternalAddressResponse {}
\ No newline at end of file
diff --git a/proto/desmos/profiles/v3/msgs_dtag_requests.proto b/proto/desmos/profiles/v3/msgs_dtag_requests.proto
deleted file mode 100644
index 8bd3436c33..0000000000
--- a/proto/desmos/profiles/v3/msgs_dtag_requests.proto
+++ /dev/null
@@ -1,110 +0,0 @@
-syntax = "proto3";
-package desmos.profiles.v3;
-
-import "amino/amino.proto";
-import "gogoproto/gogo.proto";
-import "cosmos/msg/v1/msg.proto";
-import "cosmos_proto/cosmos.proto";
-
-option go_package = "github.com/desmos-labs/desmos/v6/x/profiles/types";
-
-// MsgRequestDTagTransfer represents the message used to request the DTag
-// transfer to another user.
-message MsgRequestDTagTransfer {
- option (cosmos.msg.v1.signer) = "sender";
- option (amino.name) = "desmos/MsgRequestDTagTransfer";
-
- // Receiver contains the address of the request receiver that owns the DTag to
- // transfer if the request is accepted
- string receiver = 1 [ (gogoproto.moretags) = "yaml:\"receiver\"" ];
-
- // Sender contains the address of the request sender that will receive the
- // receiver DTag if the requet is accepted
- string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
-}
-
-// MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response
-// type.
-message MsgRequestDTagTransferResponse {}
-
-// --------------------------------------------------------------------------------------------------------------------
-
-// MsgCancelDTagTransferRequest represents the message used to cancel a DTag
-// transfer request.
-message MsgCancelDTagTransferRequest {
- option (cosmos.msg.v1.signer) = "sender";
- option (amino.name) = "desmos/MsgCancelDTagTransferRequest";
-
- // Receiver contains the address of the request receiver
- string receiver = 1 [
- (gogoproto.moretags) = "yaml:\"receiver\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-
- // Sender contains the address of the requets sender
- string sender = 2 [
- (gogoproto.moretags) = "yaml:\"sender\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgCancelDTagTransferRequestResponse represents the
-// Msg/CancelDTagTransferRequest response type.
-message MsgCancelDTagTransferRequestResponse {}
-
-// --------------------------------------------------------------------------------------------------------------------
-
-// MsgAcceptDTagTransferRequest represents the message used to accept a DTag
-// transfer request.
-message MsgAcceptDTagTransferRequest {
- option (cosmos.msg.v1.signer) = "receiver";
- option (amino.name) = "desmos/MsgAcceptDTagTransferRequest";
-
- // NewDTag represents the DTag that the request receiver will obtain if they
- // accept the request
- string new_dtag = 1 [
- (gogoproto.moretags) = "yaml:\"new_dtag\"",
- (gogoproto.customname) = "NewDTag"
- ];
-
- // Sender represents the request sender
- string sender = 2 [
- (gogoproto.moretags) = "yaml:\"sender\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-
- // Receiver represents the request receiver
- string receiver = 3 [
- (gogoproto.moretags) = "yaml:\"receiver\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgAcceptDTagTransferRequestResponse defines the
-// Msg/AcceptDTagTransferRequest response.
-message MsgAcceptDTagTransferRequestResponse {}
-
-// --------------------------------------------------------------------------------------------------------------------
-
-// MsgRefuseDTagTransferRequest represents the message used to refuse a DTag
-// transfer request.
-message MsgRefuseDTagTransferRequest {
- option (cosmos.msg.v1.signer) = "receiver";
- option (amino.name) = "desmos/MsgRefuseDTagTransferRequest";
-
- // Sender represents the request sender
- string sender = 1 [
- (gogoproto.moretags) = "yaml:\"sender\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-
- // Receiver represents the request receiver
- string receiver = 2 [
- (gogoproto.moretags) = "yaml:\"receiver\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgRefuseDTagTransferRequestResponse defines the
-// Msg/RefuseDTagTransferRequest response.
-message MsgRefuseDTagTransferRequestResponse {}
diff --git a/proto/desmos/profiles/v3/msgs_params.proto b/proto/desmos/profiles/v3/msgs_params.proto
deleted file mode 100644
index fba8fda4cd..0000000000
--- a/proto/desmos/profiles/v3/msgs_params.proto
+++ /dev/null
@@ -1,35 +0,0 @@
-syntax = "proto3";
-package desmos.profiles.v3;
-
-import "amino/amino.proto";
-import "gogoproto/gogo.proto";
-import "cosmos_proto/cosmos.proto";
-import "cosmos/msg/v1/msg.proto";
-
-import "desmos/profiles/v3/models_params.proto";
-
-option go_package = "github.com/desmos-labs/desmos/v6/x/profiles/types";
-
-// MsgUpdateParams is the Msg/UpdateParams request type.
-//
-// Since: Desmos 5.0.0
-message MsgUpdateParams {
- option (cosmos.msg.v1.signer) = "authority";
- option (amino.name) = "desmos/x/profiles/MsgUpdateParams";
-
- // authority is the address that controls the module (defaults to x/gov unless
- // overwritten).
- string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
-
- // params defines the parameters to update.
- //
- // NOTE: All parameters must be supplied.
- Params params = 2
- [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ];
-}
-
-// MsgUpdateParamsResponse defines the response structure for executing a
-// MsgUpdateParams message.
-//
-// Since: Desmos 5.0.0
-message MsgUpdateParamsResponse {}
\ No newline at end of file
diff --git a/proto/desmos/profiles/v3/msgs_profile.proto b/proto/desmos/profiles/v3/msgs_profile.proto
deleted file mode 100644
index 6c2fc721f8..0000000000
--- a/proto/desmos/profiles/v3/msgs_profile.proto
+++ /dev/null
@@ -1,65 +0,0 @@
-syntax = "proto3";
-package desmos.profiles.v3;
-
-import "amino/amino.proto";
-import "gogoproto/gogo.proto";
-import "cosmos/msg/v1/msg.proto";
-import "cosmos_proto/cosmos.proto";
-
-option go_package = "github.com/desmos-labs/desmos/v6/x/profiles/types";
-
-// MsgSaveProfile represents a message to save a profile.
-message MsgSaveProfile {
- option (cosmos.msg.v1.signer) = "creator";
- option (amino.name) = "desmos/MsgSaveProfile";
-
- // DTag of the profile. If it shouldn't be changed, [do-no-modify] can be used
- // instead.
- string dtag = 1 [
- (gogoproto.moretags) = "yaml:\"dtag\"",
- (gogoproto.customname) = "DTag"
- ];
-
- // Nickname of the profile. If it shouldn't be changed, [do-no-modify] can be
- // used instead.
- string nickname = 2 [ (gogoproto.moretags) = "yaml:\"nickname\"" ];
-
- // Bio of the profile. If it shouldn't be changed, [do-no-modify] can be used
- // instead.
- string bio = 3 [ (gogoproto.moretags) = "yaml:\"bio\"" ];
-
- // URL to the profile picture. If it shouldn't be changed, [do-no-modify] can
- // be used instead.
- string profile_picture = 4
- [ (gogoproto.moretags) = "yaml:\"profile_picture\"" ];
-
- // URL to the profile cover. If it shouldn't be changed, [do-no-modify] can be
- // used instead.
- string cover_picture = 5 [ (gogoproto.moretags) = "yaml:\"cover_picture\"" ];
-
- // Address of the user associated to the profile
- string creator = 6 [
- (gogoproto.moretags) = "yaml:\"creator\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgSaveProfileResponse defines the Msg/SaveProfile response type.
-message MsgSaveProfileResponse {}
-
-// --------------------------------------------------------------------------------------------------------------------
-
-// MsgDeleteProfile represents the message used to delete an existing profile.
-message MsgDeleteProfile {
- option (cosmos.msg.v1.signer) = "creator";
- option (amino.name) = "desmos/MsgDeleteProfile";
-
- // Address associated to the profile to be deleted
- string creator = 1 [
- (gogoproto.moretags) = "yaml:\"creator\"",
- (cosmos_proto.scalar) = "cosmos.AddressString"
- ];
-}
-
-// MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.
-message MsgDeleteProfileResponse {}
\ No newline at end of file
diff --git a/proto/desmos/supply/v1/query.proto b/proto/desmos/supply/v1/query.proto
index 938d629fed..3f241981dc 100644
--- a/proto/desmos/supply/v1/query.proto
+++ b/proto/desmos/supply/v1/query.proto
@@ -40,7 +40,7 @@ message QueryTotalResponse {
option (gogoproto.goproto_getters) = false;
string total_supply = 1 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false
];
}
@@ -66,7 +66,7 @@ message QueryCirculatingResponse {
option (gogoproto.goproto_getters) = false;
string circulating_supply = 1 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
+ (gogoproto.customtype) = "cosmossdk.io/math.Int",
(gogoproto.nullable) = false
];
}
\ No newline at end of file
diff --git a/tests/wasm/any_resolver_test.go b/tests/wasm/any_resolver_test.go
index 45958f5948..937be3cbfb 100644
--- a/tests/wasm/any_resolver_test.go
+++ b/tests/wasm/any_resolver_test.go
@@ -10,27 +10,29 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/stretchr/testify/require"
+ ibctesting "github.com/cosmos/ibc-go/v8/testing"
+
"github.com/desmos-labs/desmos/v6/tests/wasm"
- "github.com/desmos-labs/desmos/v6/testutil/ibctesting"
+ desmosibctesting "github.com/desmos-labs/desmos/v6/testutil/ibctesting"
profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
wasmtypes "github.com/desmos-labs/desmos/v6/x/wasm/types"
)
func TestAnyResolverByProfile(t *testing.T) {
// Create a test chain
- coord := ibctesting.NewCoordinator(t, 1)
+ coord := desmosibctesting.NewCoordinator(t, 1)
chain := &wasm.TestChain{coord.GetChain(ibctesting.GetChainID(1))}
+ // Store and instantiate test contract
+ contractAddr := wasm.InstantiateTestContract(t, chain)
+
// Save a profile
saveProfileMsg := profilestypes.NewMsgSaveProfile(
- "test_user", "test_user", "test bio", "https://profile.pic", "https://cover.pic", chain.Account.GetAddress().String(),
+ "test_user", "test_user", "test bio", "https://profile.pic", "https://cover.pic", chain.SenderAccount.GetAddress().String(),
)
_, err := chain.SendMsgs(saveProfileMsg)
require.NoError(t, err)
- // Store and instantiate test contract
- contractAddr := wasm.InstantiateTestContract(t, chain)
-
// Request profile via test contract
profileReq := profilestypes.QueryProfileRequest{
User: "test_user",
@@ -69,13 +71,16 @@ func TestAnyResolverByProfile(t *testing.T) {
profilestypes.NewPictures(
"https://profile.pic", "https://cover.pic",
),
- chain.CurrentHeader.Time,
- chain.Account,
+ chain.LastHeader.GetTime(), // creation time is the latest block time
+ chain.SenderAccount,
)
require.NoError(t, err)
// Encode expected profile response by stargate codec
expRes := stargateCdc.MustMarshalJSON(&profilestypes.QueryProfileResponse{Profile: codectypes.UnsafePackAny(expProfile)})
+ var r profilestypes.QueryProfileResponse
+ stargateCdc.MustUnmarshalJSON(expRes, &r)
+
require.Equal(t, expRes, res)
}
diff --git a/tests/wasm/helpers.go b/tests/wasm/helpers.go
index 2f49df4548..c653d21128 100644
--- a/tests/wasm/helpers.go
+++ b/tests/wasm/helpers.go
@@ -12,10 +12,10 @@ import (
"github.com/CosmWasm/wasmd/x/wasm/types"
abci "github.com/cometbft/cometbft/abci/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- ibctesting "github.com/cosmos/ibc-go/v7/testing"
+ "github.com/cosmos/gogoproto/proto"
"github.com/stretchr/testify/require"
- chaintesting "github.com/desmos-labs/desmos/v6/testutil/ibctesting"
+ chaintesting "github.com/cosmos/ibc-go/v8/testing"
)
type TestChain struct {
@@ -25,14 +25,14 @@ type TestChain struct {
// StoreCodeFile compresses code file then stores its byte code on chain
func (chain *TestChain) StoreCodeFile(filename string) types.MsgStoreCodeResponse {
wasmCode, err := os.ReadFile(filename)
- require.NoError(chain.T, err)
+ require.NoError(chain, err)
if strings.HasSuffix(filename, "wasm") { // compress for gas limit
var buf bytes.Buffer
gz := gzip.NewWriter(&buf)
_, err := gz.Write(wasmCode)
- require.NoError(chain.T, err)
+ require.NoError(chain, err)
err = gz.Close()
- require.NoError(chain.T, err)
+ require.NoError(chain, err)
wasmCode = buf.Bytes()
}
return chain.StoreCode(wasmCode)
@@ -41,41 +41,52 @@ func (chain *TestChain) StoreCodeFile(filename string) types.MsgStoreCodeRespons
// StoreCode stores byte code on chain
func (chain *TestChain) StoreCode(byteCode []byte) types.MsgStoreCodeResponse {
storeMsg := &types.MsgStoreCode{
- Sender: chain.Account.GetAddress().String(),
+ Sender: chain.SenderAccount.GetAddress().String(),
WASMByteCode: byteCode,
}
r, err := chain.SendMsgs(storeMsg)
- require.NoError(chain.T, err)
- // unmarshal protobuf response from data
- require.Len(chain.T, r.MsgResponses, 1)
- require.NotEmpty(chain.T, r.MsgResponses[0].GetCachedValue())
- pInstResp := r.MsgResponses[0].GetCachedValue().(*types.MsgStoreCodeResponse)
- require.NotEmpty(chain.T, pInstResp.CodeID)
- require.NotEmpty(chain.T, pInstResp.Checksum)
- return *pInstResp
+ require.NoError(chain, err)
+
+ var pInstResp types.MsgStoreCodeResponse
+ chain.UnwrapExecTXResult(r, &pInstResp)
+
+ require.NotEmpty(chain, pInstResp.CodeID)
+ require.NotEmpty(chain, pInstResp.Checksum)
+ return pInstResp
}
// InstantiateContract instantiates contract by the given code ID
func (chain *TestChain) InstantiateContract(codeID uint64, initMsg []byte) sdk.AccAddress {
instantiateMsg := &types.MsgInstantiateContract{
- Sender: chain.Account.GetAddress().String(),
- Admin: chain.Account.GetAddress().String(),
+ Sender: chain.SenderAccount.GetAddress().String(),
+ Admin: chain.SenderAccount.GetAddress().String(),
CodeID: codeID,
Label: "any-resolver-test",
Msg: initMsg,
- Funds: sdk.Coins{ibctesting.TestCoin},
+ Funds: sdk.Coins{chaintesting.TestCoin},
}
r, err := chain.SendMsgs(instantiateMsg)
- require.NoError(chain.T, err)
- require.Len(chain.T, r.MsgResponses, 1)
- require.NotEmpty(chain.T, r.MsgResponses[0].GetCachedValue())
- pExecResp := r.MsgResponses[0].GetCachedValue().(*types.MsgInstantiateContractResponse)
+ require.NoError(chain, err)
+
+ var pExecResp types.MsgInstantiateContractResponse
+ chain.UnwrapExecTXResult(r, &pExecResp)
+
a, err := sdk.AccAddressFromBech32(pExecResp.Address)
- require.NoError(chain.T, err)
+ require.NoError(chain, err)
return a
}
+// UnwrapExecTXResult is a helper to unpack execution result from proto any type
+func (chain *TestChain) UnwrapExecTXResult(r *abci.ExecTxResult, target proto.Message) {
+ var wrappedRsp sdk.TxMsgData
+ require.NoError(chain, chain.Codec.Unmarshal(r.Data, &wrappedRsp))
+
+ // unmarshal protobuf response from data
+ require.Len(chain, wrappedRsp.MsgResponses, 1)
+ require.NoError(chain, proto.Unmarshal(wrappedRsp.MsgResponses[0].Value, target))
+}
+
// SmartQuery This will serialize the query message and submit it to the contract.
// The response is parsed into the provided interface.
// Usage: SmartQuery(addr, QueryMsg{Foo: 1}, &response)
@@ -91,10 +102,13 @@ func (chain *TestChain) SmartQuery(contractAddr string, queryMsg interface{}, re
}
reqBin := chain.Codec.MustMarshal(&req)
- res := chain.App.Query(abci.RequestQuery{
+ res, err := chain.App.Query(chain.GetContext(), &abci.RequestQuery{
Path: "/cosmwasm.wasm.v1.Query/SmartContractState",
Data: reqBin,
})
+ if err != nil {
+ return err
+ }
if res.Code != 0 {
return fmt.Errorf("query failed: (%d) %s", res.Code, res.Log)
diff --git a/testutil/ibctesting/helper.go b/testutil/ibctesting/app.go
similarity index 50%
rename from testutil/ibctesting/helper.go
rename to testutil/ibctesting/app.go
index 05c19ec734..b8f399c2b4 100644
--- a/testutil/ibctesting/helper.go
+++ b/testutil/ibctesting/app.go
@@ -5,47 +5,46 @@ import (
"testing"
"time"
- dbm "github.com/cometbft/cometbft-db"
- abci "github.com/cometbft/cometbft/abci/types"
- "github.com/cometbft/cometbft/libs/log"
- tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- tmtypes "github.com/cometbft/cometbft/types"
+ dbm "github.com/cosmos/cosmos-db"
+ "github.com/desmos-labs/desmos/v6/app"
"github.com/stretchr/testify/require"
+ "cosmossdk.io/log"
+ sdkmath "cosmossdk.io/math"
+
"github.com/cosmos/cosmos-sdk/baseapp"
- "github.com/cosmos/cosmos-sdk/client/flags"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
- "github.com/cosmos/cosmos-sdk/server"
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- simapp "github.com/desmos-labs/desmos/v6/app"
-)
+ abci "github.com/cometbft/cometbft/abci/types"
+ tmtypes "github.com/cometbft/cometbft/types"
-func setup(chainID string, withGenesis bool, invCheckPeriod uint) (*simapp.DesmosApp, simapp.GenesisState) {
- db := dbm.NewMemDB()
+ ibctesting "github.com/cosmos/ibc-go/v8/testing"
+)
- appOptions := make(simtestutil.AppOptionsMap, 0)
- appOptions[flags.FlagHome] = simapp.DefaultNodeHome // ensure unique folder
- appOptions[server.FlagInvCheckPeriod] = invCheckPeriod
+var DefaultTestingAppInit = SetupTestingApp
- app := simapp.NewDesmosApp(log.NewNopLogger(), db, nil, true, appOptions, baseapp.SetChainID(chainID))
- if withGenesis {
- return app, simapp.NewDefaultGenesisState(app.AppCodec())
- }
- return app, simapp.GenesisState{}
+func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage) {
+ db := dbm.NewMemDB()
+ desmosApp := app.NewDesmosApp(log.NewNopLogger(), db, nil, true, simtestutil.EmptyAppOptions{})
+ return desmosApp, desmosApp.DefaultGenesis()
}
-// SetupWithGenesisValSet initializes a new SimApp with a validator set and genesis accounts
+// SetupWithGenesisValSet initializes a new DesmosApp with a validator set and genesis accounts
// that also act as delegators. For simplicity, each validator is bonded with a delegation
-// of one consensus engine unit (10^6) in the default token of the simapp from first genesis
-// account. A Nop logger is set in SimApp.
-func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, balances ...banktypes.Balance) *simapp.DesmosApp {
- app, genesisState := setup(chainID, true, 5)
+// of one consensus engine unit (10^6) in the default token of the desmos app from first genesis
+// account. A Nop logger is set in DesmosApp.
+func SetupWithGenesisValSet(tb testing.TB, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, powerReduction sdkmath.Int, balances ...banktypes.Balance) ibctesting.TestingApp {
+ tb.Helper()
+ app, genesisState := DefaultTestingAppInit()
+
+ // ensure baseapp has a chain-id set before running InitChain
+ baseapp.SetChainID(chainID)(app.GetBaseApp())
// set genesis accounts
authGenesis := authtypes.NewGenesisState(authtypes.DefaultParams(), genAccs)
@@ -54,72 +53,64 @@ func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs
validators := make([]stakingtypes.Validator, 0, len(valSet.Validators))
delegations := make([]stakingtypes.Delegation, 0, len(valSet.Validators))
- bondAmt := sdk.NewInt(1000000)
+ bondAmt := sdk.TokensFromConsensusPower(1, powerReduction)
for _, val := range valSet.Validators {
- pk, err := cryptocodec.FromTmPubKeyInterface(val.PubKey)
- require.NoError(t, err)
+ pk, err := cryptocodec.FromCmtPubKeyInterface(val.PubKey)
+ require.NoError(tb, err)
pkAny, err := codectypes.NewAnyWithValue(pk)
- require.NoError(t, err)
+ require.NoError(tb, err)
validator := stakingtypes.Validator{
OperatorAddress: sdk.ValAddress(val.Address).String(),
ConsensusPubkey: pkAny,
Jailed: false,
Status: stakingtypes.Bonded,
Tokens: bondAmt,
- DelegatorShares: sdk.OneDec(),
+ DelegatorShares: sdkmath.LegacyOneDec(),
Description: stakingtypes.Description{},
UnbondingHeight: int64(0),
UnbondingTime: time.Unix(0, 0).UTC(),
- Commission: stakingtypes.NewCommission(sdk.ZeroDec(), sdk.ZeroDec(), sdk.ZeroDec()),
- MinSelfDelegation: sdk.ZeroInt(),
+ Commission: stakingtypes.NewCommission(sdkmath.LegacyZeroDec(), sdkmath.LegacyZeroDec(), sdkmath.LegacyZeroDec()),
+ MinSelfDelegation: sdkmath.ZeroInt(),
}
- validators = append(validators, validator)
- delegations = append(delegations, stakingtypes.NewDelegation(genAccs[0].GetAddress(), val.Address.Bytes(), sdk.OneDec()))
+ validators = append(validators, validator)
+ delegations = append(delegations, stakingtypes.NewDelegation(genAccs[0].GetAddress().String(), sdk.ValAddress(val.Address).String(), sdkmath.LegacyOneDec()))
}
+
// set validators and delegations
- stakingGenesis := stakingtypes.NewGenesisState(stakingtypes.DefaultParams(), validators, delegations)
- genesisState[stakingtypes.ModuleName] = app.AppCodec().MustMarshalJSON(stakingGenesis)
+ var stakingGenesis stakingtypes.GenesisState
+ app.AppCodec().MustUnmarshalJSON(genesisState[stakingtypes.ModuleName], &stakingGenesis)
- totalSupply := sdk.NewCoins()
- for _, b := range balances {
- // add genesis acc tokens and delegated tokens to total supply
- totalSupply = totalSupply.Add(b.Coins.Add(sdk.NewCoin(sdk.DefaultBondDenom, bondAmt))...)
- }
+ bondDenom := stakingGenesis.Params.BondDenom
// add bonded amount to bonded pool module account
balances = append(balances, banktypes.Balance{
Address: authtypes.NewModuleAddress(stakingtypes.BondedPoolName).String(),
- Coins: sdk.Coins{sdk.NewCoin(sdk.DefaultBondDenom, bondAmt)},
+ Coins: sdk.Coins{sdk.NewCoin(bondDenom, bondAmt.Mul(sdkmath.NewInt(int64(len(valSet.Validators)))))},
})
+ // set validators and delegations
+ stakingGenesis = *stakingtypes.NewGenesisState(stakingGenesis.Params, validators, delegations)
+ genesisState[stakingtypes.ModuleName] = app.AppCodec().MustMarshalJSON(&stakingGenesis)
+
// update total supply
- bankGenesis := banktypes.NewGenesisState(banktypes.DefaultGenesisState().Params, balances, totalSupply, []banktypes.Metadata{}, []banktypes.SendEnabled{})
+ bankGenesis := banktypes.NewGenesisState(banktypes.DefaultGenesisState().Params, balances, sdk.NewCoins(), []banktypes.Metadata{}, []banktypes.SendEnabled{})
genesisState[banktypes.ModuleName] = app.AppCodec().MustMarshalJSON(bankGenesis)
stateBytes, err := json.MarshalIndent(genesisState, "", " ")
- require.NoError(t, err)
+ require.NoError(tb, err)
// init chain will set the validator set and initialize the genesis accounts
- app.InitChain(
- abci.RequestInitChain{
+ _, err = app.InitChain(
+ &abci.RequestInitChain{
ChainId: chainID,
Validators: []abci.ValidatorUpdate{},
- ConsensusParams: simtestutil.DefaultConsensusParams,
AppStateBytes: stateBytes,
+ ConsensusParams: simtestutil.DefaultConsensusParams,
},
)
-
- // commit genesis changes
- app.Commit()
- app.BeginBlock(abci.RequestBeginBlock{Header: tmproto.Header{
- ChainID: chainID,
- Height: app.LastBlockHeight() + 1,
- AppHash: app.LastCommitID().Hash,
- ValidatorsHash: valSet.Hash(),
- NextValidatorsHash: valSet.Hash(),
- }})
+ require.NoError(tb, err)
return app
}
diff --git a/testutil/ibctesting/chain.go b/testutil/ibctesting/chain.go
index ca40d17da0..e8b3d3bd56 100644
--- a/testutil/ibctesting/chain.go
+++ b/testutil/ibctesting/chain.go
@@ -1,800 +1,126 @@
package ibctesting
import (
- "bytes"
- "fmt"
- "strconv"
"testing"
- "time"
- abci "github.com/cometbft/cometbft/abci/types"
- "github.com/cometbft/cometbft/crypto/tmhash"
- tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- tmprotoversion "github.com/cometbft/cometbft/proto/tendermint/version"
- tmtypes "github.com/cometbft/cometbft/types"
- tmversion "github.com/cometbft/cometbft/version"
"github.com/stretchr/testify/require"
- "cosmossdk.io/errors"
- "github.com/cosmos/cosmos-sdk/client"
- "github.com/cosmos/cosmos-sdk/codec"
+ sdkmath "cosmossdk.io/math"
+
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
- cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
- simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
- stakingtestutil "github.com/cosmos/cosmos-sdk/x/staking/testutil"
- stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- connectiontypes "github.com/cosmos/ibc-go/v7/modules/core/03-connection/types"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- commitmenttypes "github.com/cosmos/ibc-go/v7/modules/core/23-commitment/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
- "github.com/cosmos/ibc-go/v7/modules/core/exported"
- "github.com/cosmos/ibc-go/v7/modules/core/types"
- ibctmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint"
- "github.com/cosmos/ibc-go/v7/testing/mock"
-
- simapp "github.com/desmos-labs/desmos/v6/app"
-
- profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
-)
-const (
- TrustingPeriod = time.Hour * 24 * 7 * 2
- UnbondingPeriod = time.Hour * 24 * 7 * 3
- MaxClockDrift = time.Second * 10
+ cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ cmttypes "github.com/cometbft/cometbft/types"
- DefaultDelayPeriod uint64 = 0
+ ibctesting "github.com/cosmos/ibc-go/v8/testing"
)
-var (
- DefaultOpenInitVersion *connectiontypes.Version
- DefaultTrustLevel = ibctmtypes.DefaultTrustLevel
- UpgradePath = []string{"upgrade", "upgradedIBCState"}
- ConnectionVersion = connectiontypes.ExportedVersionsToProto(connectiontypes.GetCompatibleVersions())[0]
-)
-
-// TestChain is a testing struct that wraps a simapp with the last TM Header, the current ABCI
-// header and the validators of the TestChain. It also contains a field called ChainID. This
-// is the clientID that *other* chains use to refer to this TestChain. The SenderAccount
-// is used for delivering transactions through the application state.
-// NOTE: the actual application uses an empty chain-id for ease of testing.
-type TestChain struct {
- T *testing.T
-
- App *simapp.DesmosApp
- ChainID string
- LastHeader *ibctmtypes.Header // header for last block height committed
- CurrentHeader tmproto.Header // header for current block height
- QueryServer types.QueryServer
- TxConfig client.TxConfig
- Codec codec.BinaryCodec
-
- Vals *tmtypes.ValidatorSet
- Signers []tmtypes.PrivValidator
-
- PrivKey cryptotypes.PrivKey
- Account authtypes.AccountI
-
- // IBC specific helpers
- ClientIDs []string // ClientID's used on this chain
- Connections []*TestConnection // track connectionID's created for this chain
-}
-
-// NewTestChain initializes a new TestChain instance with a single validator set using a
-// generated private key. It also creates a sender account to be used for delivering transactions.
+// NewTestChainWithValSet initializes a new TestChain instance with the given validator set
+// and signer array. It also initializes 10 Sender accounts with a balance of 10000000000000000000 coins of
+// bond denom to use for tests.
//
// The first block height is committed to state in order to allow for client creations on
// counterparty chains. The TestChain will return with a block height starting at 2.
//
// Time management is handled by the Coordinator in order to ensure synchrony between chains.
// Each update of any chain increments the block header time for all chains by 5 seconds.
-func NewTestChain(t *testing.T, chainID string) *TestChain {
- // generate validator private/public key
- privVal := mock.NewPV()
- pubKey, err := privVal.GetPubKey()
- require.NoError(t, err)
+//
+// NOTE: to use a custom sender privkey and account for testing purposes, replace and modify this
+// constructor function.
+//
+// CONTRACT: Validator array must be provided in the order expected by Tendermint.
+// i.e. sorted first by power and then lexicographically by address.
+func NewTestChainWithValSet(tb testing.TB, coord *ibctesting.Coordinator, chainID string, valSet *cmttypes.ValidatorSet, signers map[string]cmttypes.PrivValidator) *ibctesting.TestChain {
+ tb.Helper()
+ genAccs := []authtypes.GenesisAccount{}
+ genBals := []banktypes.Balance{}
+ senderAccs := []ibctesting.SenderAccount{}
+
+ // generate genesis accounts
+ for i := 0; i < ibctesting.MaxAccounts; i++ {
+ senderPrivKey := secp256k1.GenPrivKey()
+ acc := authtypes.NewBaseAccount(senderPrivKey.PubKey().Address().Bytes(), senderPrivKey.PubKey(), uint64(i), 0)
+ amount, ok := sdkmath.NewIntFromString("10000000000000000000")
+ require.True(tb, ok)
+
+ // add sender account
+ balance := banktypes.Balance{
+ Address: acc.GetAddress().String(),
+ Coins: sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, amount)),
+ }
+
+ genAccs = append(genAccs, acc)
+ genBals = append(genBals, balance)
- // create validator set with single validator
- validator := tmtypes.NewValidator(pubKey, 1)
- valSet := tmtypes.NewValidatorSet([]*tmtypes.Validator{validator})
- signers := []tmtypes.PrivValidator{privVal}
+ senderAcc := ibctesting.SenderAccount{
+ SenderAccount: acc,
+ SenderPrivKey: senderPrivKey,
+ }
- // generate genesis account
- senderPrivKey := secp256k1.GenPrivKey()
- acc := authtypes.NewBaseAccount(senderPrivKey.PubKey().Address().Bytes(), senderPrivKey.PubKey(), 0, 0)
- balance := banktypes.Balance{
- Address: acc.GetAddress().String(),
- Coins: sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(100000000000000))),
+ senderAccs = append(senderAccs, senderAcc)
}
- app := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, chainID, balance)
+ desmosApp := SetupWithGenesisValSet(tb, valSet, genAccs, chainID, sdk.DefaultPowerReduction, genBals...)
// create current header and call begin block
- header := tmproto.Header{
+ header := cmtproto.Header{
ChainID: chainID,
Height: 1,
- Time: globalStartTime,
+ Time: coord.CurrentTime.UTC(),
}
- // create an account to send transactions from
- chain := &TestChain{
- T: t,
- ChainID: chainID,
- App: app,
- CurrentHeader: header,
- QueryServer: app.IBCKeeper,
- TxConfig: app.TxConfig(),
- Codec: app.AppCodec(),
- Vals: valSet,
- Signers: signers,
- PrivKey: senderPrivKey,
- Account: acc,
- ClientIDs: make([]string, 0),
- Connections: make([]*TestConnection, 0),
- }
+ txConfig := desmosApp.GetTxConfig()
+ // create an account to send transactions from
+ chain := &ibctesting.TestChain{
+ TB: tb,
+ Coordinator: coord,
+ ChainID: chainID,
+ App: desmosApp,
+ CurrentHeader: header,
+ QueryServer: desmosApp.GetIBCKeeper(),
+ TxConfig: txConfig,
+ Codec: desmosApp.AppCodec(),
+ Vals: valSet,
+ NextVals: valSet,
+ Signers: signers,
+ SenderPrivKey: senderAccs[0].SenderPrivKey,
+ SenderAccount: senderAccs[0].SenderAccount,
+ SenderAccounts: senderAccs,
+ }
+
+ // commit genesis block
chain.NextBlock()
return chain
}
-// GetContext returns the current context for the application.
-func (chain *TestChain) GetContext() sdk.Context {
- return chain.App.BaseApp.NewContext(false, chain.CurrentHeader)
-}
-
-// QueryProof performs an abci query with the given key and returns the proto encoded merkle proof
-// for the query and the height at which the proof will succeed on a tendermint verifier.
-func (chain *TestChain) QueryProof(key []byte) ([]byte, clienttypes.Height) {
- res := chain.App.Query(abci.RequestQuery{
- Path: fmt.Sprintf("store/%s/key", exported.StoreKey),
- Height: chain.App.LastBlockHeight() - 1,
- Data: key,
- Prove: true,
- })
-
- merkleProof, err := commitmenttypes.ConvertProofs(res.ProofOps)
- require.NoError(chain.T, err)
-
- proof, err := chain.App.AppCodec().Marshal(&merkleProof)
- require.NoError(chain.T, err)
-
- revision := clienttypes.ParseChainID(chain.ChainID)
-
- // proof height + 1 is returned as the proof created corresponds to the height the proof
- // was created in the IAVL tree. Tendermint and subsequently the clients that rely on it
- // have heights 1 above the IAVL tree. Thus we return proof height + 1
- return proof, clienttypes.NewHeight(revision, uint64(res.Height)+1)
-}
-
-// QueryUpgradeProof performs an abci query with the given key and returns the proto encoded merkle proof
-// for the query and the height at which the proof will succeed on a tendermint verifier.
-func (chain *TestChain) QueryUpgradeProof(key []byte, height uint64) ([]byte, clienttypes.Height) {
- res := chain.App.Query(abci.RequestQuery{
- Path: "store/upgrade/key",
- Height: int64(height - 1),
- Data: key,
- Prove: true,
- })
-
- merkleProof, err := commitmenttypes.ConvertProofs(res.ProofOps)
- require.NoError(chain.T, err)
-
- proof, err := chain.App.AppCodec().Marshal(&merkleProof)
- require.NoError(chain.T, err)
-
- revision := clienttypes.ParseChainID(chain.ChainID)
-
- // proof height + 1 is returned as the proof created corresponds to the height the proof
- // was created in the IAVL tree. Tendermint and subsequently the clients that rely on it
- // have heights 1 above the IAVL tree. Thus we return proof height + 1
- return proof, clienttypes.NewHeight(revision, uint64(res.Height+1))
-}
-
-// QueryClientStateProof performs and abci query for a client state
-// stored with a given clientID and returns the ClientState along with the proof
-func (chain *TestChain) QueryClientStateProof(clientID string) (exported.ClientState, []byte) {
- // retrieve client state to provide proof for
- clientState, found := chain.App.IBCKeeper.ClientKeeper.GetClientState(chain.GetContext(), clientID)
- require.True(chain.T, found)
-
- clientKey := host.FullClientStateKey(clientID)
- proofClient, _ := chain.QueryProof(clientKey)
-
- return clientState, proofClient
-}
-
-// QueryConsensusStateProof performs an abci query for a consensus state
-// stored on the given clientID. The proof and consensusHeight are returned.
-func (chain *TestChain) QueryConsensusStateProof(clientID string) ([]byte, clienttypes.Height) {
- clientState := chain.GetClientState(clientID)
-
- consensusHeight := clientState.GetLatestHeight().(clienttypes.Height)
- consensusKey := host.FullConsensusStateKey(clientID, consensusHeight)
- proofConsensus, _ := chain.QueryProof(consensusKey)
-
- return proofConsensus, consensusHeight
-}
-
-// NextBlock sets the last header to the current header and increments the current header to be
-// at the next block height. It does not update the time as that is handled by the Coordinator.
-//
-// CONTRACT: this function must only be called after app.Commit() occurs
-func (chain *TestChain) NextBlock() {
- // set the last header to the current header
- // use nil trusted fields
- chain.LastHeader = chain.CurrentTMClientHeader()
-
- // increment the current header
- chain.CurrentHeader = tmproto.Header{
- ChainID: chain.ChainID,
- Height: chain.App.LastBlockHeight() + 1,
- AppHash: chain.App.LastCommitID().Hash,
- // NOTE: the time is increased by the coordinator to maintain time synchrony amongst
- // chains.
- Time: chain.CurrentHeader.Time,
- ValidatorsHash: chain.Vals.Hash(),
- NextValidatorsHash: chain.Vals.Hash(),
- }
-
- chain.App.BeginBlock(abci.RequestBeginBlock{Header: chain.CurrentHeader})
-
-}
-
-// sendMsgs delivers a transaction through the application without returning the result.
-func (chain *TestChain) sendMsgs(msgs ...sdk.Msg) error {
- _, err := chain.SendMsgs(msgs...)
- return err
-}
-
-// SendMsgs delivers a transaction through the application. It updates the senders sequence
-// number and updates the TestChain's headers. It returns the result and error if one
-// occurred.
-func (chain *TestChain) SendMsgs(msgs ...sdk.Msg) (*sdk.Result, error) {
- _, r, err := simtestutil.SignCheckDeliver(
- chain.T,
- chain.TxConfig,
- chain.App.BaseApp,
- chain.GetContext().BlockHeader(),
- msgs,
- chain.ChainID,
- []uint64{chain.Account.GetAccountNumber()},
- []uint64{chain.Account.GetSequence()},
- true, true, chain.PrivKey,
- )
- if err != nil {
- return nil, err
- }
-
- // SignCheckDeliver calls app.Commit()
- chain.NextBlock()
-
- // increment sequence for successful transaction execution
- chain.Account.SetSequence(chain.Account.GetSequence() + 1)
-
- return r, nil
-}
-
-// GetClientState retrieves the client state for the provided clientID. The client is
-// expected to exist otherwise testing will fail.
-func (chain *TestChain) GetClientState(clientID string) exported.ClientState {
- clientState, found := chain.App.IBCKeeper.ClientKeeper.GetClientState(chain.GetContext(), clientID)
- require.True(chain.T, found)
-
- return clientState
-}
-
-// GetConsensusState retrieves the consensus state for the provided clientID and height.
-// It will return a success boolean depending on if consensus state exists or not.
-func (chain *TestChain) GetConsensusState(clientID string, height exported.Height) (exported.ConsensusState, bool) {
- return chain.App.IBCKeeper.ClientKeeper.GetClientConsensusState(chain.GetContext(), clientID, height)
-}
-
-// GetValsAtHeight will return the validator set of the chain at a given height. It will return
-// a success boolean depending on if the validator set exists or not at that height.
-func (chain *TestChain) GetValsAtHeight(height int64) (*tmtypes.ValidatorSet, bool) {
- histInfo, ok := chain.App.StakingKeeper.GetHistoricalInfo(chain.GetContext(), height)
- if !ok {
- return nil, false
- }
-
- valSet := stakingtypes.Validators(histInfo.Valset)
-
- tmValidators, err := stakingtestutil.ToTmValidators(valSet, sdk.DefaultPowerReduction)
- if err != nil {
- panic(err)
- }
- return tmtypes.NewValidatorSet(tmValidators), true
-}
-
-// GetConnection retrieves an IBC Connection for the provided TestConnection. The
-// connection is expected to exist otherwise testing will fail.
-func (chain *TestChain) GetConnection(testConnection *TestConnection) connectiontypes.ConnectionEnd {
- connection, found := chain.App.IBCKeeper.ConnectionKeeper.GetConnection(chain.GetContext(), testConnection.ID)
- require.True(chain.T, found)
-
- return connection
-}
-
-// GetChannel retrieves an IBC Channel for the provided TestChannel. The channel
-// is expected to exist otherwise testing will fail.
-func (chain *TestChain) GetChannel(testChannel TestChannel) channeltypes.Channel {
- channel, found := chain.App.IBCKeeper.ChannelKeeper.GetChannel(chain.GetContext(), testChannel.PortID, testChannel.ID)
- require.True(chain.T, found)
-
- return channel
-}
-
-// GetAcknowledgement retrieves an acknowledgement for the provided packet. If the
-// acknowledgement does not exist then testing will fail.
-func (chain *TestChain) GetAcknowledgement(packet exported.PacketI) []byte {
- ack, found := chain.App.IBCKeeper.ChannelKeeper.GetPacketAcknowledgement(chain.GetContext(), packet.GetDestPort(), packet.GetDestChannel(), packet.GetSequence())
- require.True(chain.T, found)
-
- return ack
-}
-
-// GetPrefix returns the prefix for used by a chain in connection creation
-func (chain *TestChain) GetPrefix() commitmenttypes.MerklePrefix {
- return commitmenttypes.NewMerklePrefix(chain.App.IBCKeeper.ConnectionKeeper.GetCommitmentPrefix().Bytes())
-}
-
-// NewClientID appends a new clientID string in the format:
-// ClientFor
-func (chain *TestChain) NewClientID(clientType string) string {
- clientID := fmt.Sprintf("%s-%s", clientType, strconv.Itoa(len(chain.ClientIDs)))
- chain.ClientIDs = append(chain.ClientIDs, clientID)
- return clientID
-}
-
-// AddTestConnection appends a new TestConnection which contains references
-// to the connection id, client id and counterparty client id.
-func (chain *TestChain) AddTestConnection(clientID, counterpartyClientID string) *TestConnection {
- conn := chain.ConstructNextTestConnection(clientID, counterpartyClientID)
-
- chain.Connections = append(chain.Connections, conn)
- return conn
-}
-
-// ConstructNextTestConnection constructs the next test connection to be
-// created given a clientID and counterparty clientID. The connection id
-// format: -conn
-func (chain *TestChain) ConstructNextTestConnection(clientID, counterpartyClientID string) *TestConnection {
- connectionID := connectiontypes.FormatConnectionIdentifier(uint64(len(chain.Connections)))
- return &TestConnection{
- ID: connectionID,
- ClientID: clientID,
- NextChannelVersion: "ics-20",
- CounterpartyClientID: counterpartyClientID,
- }
-}
-
-// GetFirstTestConnection returns the first test connection for a given clientID.
-// The connection may or may not exist in the chain state.
-func (chain *TestChain) GetFirstTestConnection(clientID, counterpartyClientID string) *TestConnection {
- if len(chain.Connections) > 0 {
- return chain.Connections[0]
- }
-
- return chain.ConstructNextTestConnection(clientID, counterpartyClientID)
-}
-
-// AddTestChannel appends a new TestChannel which contains references to the port and channel ID
-// used for channel creation and interaction. See 'NextTestChannel' for channel ID naming format.
-func (chain *TestChain) AddTestChannel(conn *TestConnection, portID string) TestChannel {
- channel := chain.NextTestChannel(conn, portID)
- conn.Channels = append(conn.Channels, channel)
- return channel
-}
-
-// NextTestChannel returns the next test channel to be created on this connection, but does not
-// add it to the list of created channels. This function is expected to be used when the caller
-// has not created the associated channel in app state, but would still like to refer to the
-// non-existent channel usually to test for its non-existence.
-//
-// channel ID format: -chan
-//
-// The port is passed in by the caller.
-func (chain *TestChain) NextTestChannel(conn *TestConnection, portID string) TestChannel {
- nextChanSeq := chain.App.IBCKeeper.ChannelKeeper.GetNextChannelSequence(chain.GetContext())
- channelID := channeltypes.FormatChannelIdentifier(nextChanSeq)
- return TestChannel{
- PortID: portID,
- ID: channelID,
- ClientID: conn.ClientID,
- CounterpartyClientID: conn.CounterpartyClientID,
- Version: conn.NextChannelVersion,
- }
-}
-
-// ConstructMsgCreateClient constructs a message to create a new client state (tendermint or solomachine).
-// NOTE: a solo machine client will be created with an empty diversifier.
-func (chain *TestChain) ConstructMsgCreateClient(counterparty *TestChain, clientID string, clientType string) *clienttypes.MsgCreateClient {
+// NewTestChain initializes a new test chain with a default of 4 validators
+// Use this function if the tests do not need custom control over the validator set
+func NewTestChain(t *testing.T, coord *ibctesting.Coordinator, chainID string) *ibctesting.TestChain {
+ t.Helper()
+ // generate validators private/public key
var (
- clientState exported.ClientState
- consensusState exported.ConsensusState
- )
-
- switch clientType {
- case exported.Tendermint:
- height := counterparty.LastHeader.GetHeight().(clienttypes.Height)
- clientState = ibctmtypes.NewClientState(
- counterparty.ChainID, DefaultTrustLevel, TrustingPeriod, UnbondingPeriod, MaxClockDrift,
- height, commitmenttypes.GetSDKSpecs(), UpgradePath,
- )
- consensusState = counterparty.LastHeader.ConsensusState()
- default:
- chain.T.Fatalf("unsupported client state type %s", clientType)
- }
-
- msg, err := clienttypes.NewMsgCreateClient(
- clientState, consensusState, chain.Account.GetAddress().String(),
- )
- require.NoError(chain.T, err)
- return msg
-}
-
-// CreateTMClient will construct and execute a 07-tendermint MsgCreateClient. A counterparty
-// client will be created on the (target) chain.
-func (chain *TestChain) CreateTMClient(counterparty *TestChain, clientID string) error {
- // construct MsgCreateClient using counterparty
- msg := chain.ConstructMsgCreateClient(counterparty, clientID, exported.Tendermint)
- return chain.sendMsgs(msg)
-}
-
-// UpdateTMClient will construct and execute a 07-tendermint MsgUpdateClient. The counterparty
-// client will be updated on the (target) chain. UpdateTMClient mocks the relayer flow
-// necessary for updating a Tendermint client.
-func (chain *TestChain) UpdateTMClient(counterparty *TestChain, clientID string) error {
- header, err := chain.ConstructUpdateTMClientHeader(counterparty, clientID)
- require.NoError(chain.T, err)
-
- msg, err := clienttypes.NewMsgUpdateClient(
- clientID, header,
- chain.Account.GetAddress().String(),
- )
- require.NoError(chain.T, err)
-
- return chain.sendMsgs(msg)
-}
-
-// ConstructUpdateTMClientHeader will construct a valid 07-tendermint Header to update the
-// light client on the source chain.
-func (chain *TestChain) ConstructUpdateTMClientHeader(counterparty *TestChain, clientID string) (*ibctmtypes.Header, error) {
- header := counterparty.LastHeader
- // Relayer must query for LatestHeight on client to get TrustedHeight
- trustedHeight := chain.GetClientState(clientID).GetLatestHeight().(clienttypes.Height)
- var (
- tmTrustedVals *tmtypes.ValidatorSet
- ok bool
- )
- // Once we get TrustedHeight from client, we must query the validators from the counterparty chain
- // If the LatestHeight == LastHeader.Height, then TrustedValidators are current validators
- // If LatestHeight < LastHeader.Height, we can query the historical validator set from HistoricalInfo
- if trustedHeight == counterparty.LastHeader.GetHeight() {
- tmTrustedVals = counterparty.Vals
- } else {
- // NOTE: We need to get validators from counterparty at height: trustedHeight+1
- // since the last trusted validators for a header at height h
- // is the NextValidators at h+1 committed to in header h by
- // NextValidatorsHash
- tmTrustedVals, ok = counterparty.GetValsAtHeight(int64(trustedHeight.RevisionHeight + 1))
- if !ok {
- return nil, errors.Wrapf(ibctmtypes.ErrInvalidHeaderHeight, "could not retrieve trusted validators at trustedHeight: %d", trustedHeight)
- }
- }
- // inject trusted fields into last header
- // for now assume revision number is 0
- header.TrustedHeight = trustedHeight
-
- trustedVals, err := tmTrustedVals.ToProto()
- if err != nil {
- return nil, err
- }
- header.TrustedValidators = trustedVals
-
- return header, nil
-
-}
-
-// ExpireClient fast forwards the chain's block time by the provided amount of time which will
-// expire any clients with a trusting period less than or equal to this amount of time.
-func (chain *TestChain) ExpireClient(amount time.Duration) {
- chain.CurrentHeader.Time = chain.CurrentHeader.Time.Add(amount)
-}
-
-// CurrentTMClientHeader creates a TM header using the current header parameters
-// on the chain. The trusted fields in the header are set to nil.
-func (chain *TestChain) CurrentTMClientHeader() *ibctmtypes.Header {
- return chain.CreateTMClientHeader(chain.ChainID, chain.CurrentHeader.Height, clienttypes.Height{}, chain.CurrentHeader.Time, chain.Vals, nil, chain.Signers)
-}
-
-// CreateTMClientHeader creates a TM header to update the TM client. Args are passed in to allow
-// caller flexibility to use params that differ from the chain.
-func (chain *TestChain) CreateTMClientHeader(chainID string, blockHeight int64, trustedHeight clienttypes.Height, timestamp time.Time, tmValSet, tmTrustedVals *tmtypes.ValidatorSet, signers []tmtypes.PrivValidator) *ibctmtypes.Header {
- var (
- valSet *tmproto.ValidatorSet
- trustedVals *tmproto.ValidatorSet
- )
- require.NotNil(chain.T, tmValSet)
-
- vsetHash := tmValSet.Hash()
-
- tmHeader := tmtypes.Header{
- Version: tmprotoversion.Consensus{Block: tmversion.BlockProtocol, App: 2},
- ChainID: chainID,
- Height: blockHeight,
- Time: timestamp,
- LastBlockID: MakeBlockID(make([]byte, tmhash.Size), 10_000, make([]byte, tmhash.Size)),
- LastCommitHash: chain.App.LastCommitID().Hash,
- DataHash: tmhash.Sum([]byte("data_hash")),
- ValidatorsHash: vsetHash,
- NextValidatorsHash: vsetHash,
- ConsensusHash: tmhash.Sum([]byte("consensus_hash")),
- AppHash: chain.CurrentHeader.AppHash,
- LastResultsHash: tmhash.Sum([]byte("last_results_hash")),
- EvidenceHash: tmhash.Sum([]byte("evidence_hash")),
- ProposerAddress: tmValSet.Proposer.Address,
- }
- hhash := tmHeader.Hash()
- blockID := MakeBlockID(hhash, 3, tmhash.Sum([]byte("part_set")))
- voteSet := tmtypes.NewVoteSet(chainID, blockHeight, 1, tmproto.PrecommitType, tmValSet)
-
- commit, err := tmtypes.MakeCommit(blockID, blockHeight, 1, voteSet, signers, timestamp)
- require.NoError(chain.T, err)
-
- signedHeader := &tmproto.SignedHeader{
- Header: tmHeader.ToProto(),
- Commit: commit.ToProto(),
- }
-
- valSet, err = tmValSet.ToProto()
- if err != nil {
- panic(err)
- }
-
- if tmTrustedVals != nil {
- trustedVals, err = tmTrustedVals.ToProto()
- if err != nil {
- panic(err)
- }
- }
-
- // The trusted fields may be nil. They may be filled before relaying messages to a client.
- // The relayer is responsible for querying client and injecting appropriate trusted fields.
- return &ibctmtypes.Header{
- SignedHeader: signedHeader,
- ValidatorSet: valSet,
- TrustedHeight: trustedHeight,
- TrustedValidators: trustedVals,
- }
-}
-
-// MakeBlockID copied unimported test functions from tmtypes to use them here
-func MakeBlockID(hash []byte, partSetSize uint32, partSetHash []byte) tmtypes.BlockID {
- return tmtypes.BlockID{
- Hash: hash,
- PartSetHeader: tmtypes.PartSetHeader{
- Total: partSetSize,
- Hash: partSetHash,
- },
- }
-}
-
-// CreateSortedSignerArray takes two PrivValidators, and the corresponding Validator structs
-// (including voting power). It returns a signer array of PrivValidators that matches the
-// sorting of ValidatorSet.
-// The sorting is first by .VotingPower (descending), with secondary index of .Address (ascending).
-func CreateSortedSignerArray(altPrivVal, suitePrivVal tmtypes.PrivValidator,
- altVal, suiteVal *tmtypes.Validator) []tmtypes.PrivValidator {
-
- switch {
- case altVal.VotingPower > suiteVal.VotingPower:
- return []tmtypes.PrivValidator{altPrivVal, suitePrivVal}
- case altVal.VotingPower < suiteVal.VotingPower:
- return []tmtypes.PrivValidator{suitePrivVal, altPrivVal}
- default:
- if bytes.Compare(altVal.Address, suiteVal.Address) == -1 {
- return []tmtypes.PrivValidator{altPrivVal, suitePrivVal}
- }
- return []tmtypes.PrivValidator{suitePrivVal, altPrivVal}
- }
-}
-
-// ConnectionOpenInit will construct and execute a MsgConnectionOpenInit.
-func (chain *TestChain) ConnectionOpenInit(
- counterparty *TestChain,
- connection, counterpartyConnection *TestConnection,
-) error {
- msg := connectiontypes.NewMsgConnectionOpenInit(
- connection.ClientID,
- connection.CounterpartyClientID,
- counterparty.GetPrefix(), DefaultOpenInitVersion, DefaultDelayPeriod,
- chain.Account.GetAddress().String(),
+ validatorsPerChain = 4
+ validators []*cmttypes.Validator
+ signersByAddress = make(map[string]cmttypes.PrivValidator, validatorsPerChain)
)
- return chain.sendMsgs(msg)
-}
-
-// ConnectionOpenTry will construct and execute a MsgConnectionOpenTry.
-func (chain *TestChain) ConnectionOpenTry(
- counterparty *TestChain,
- connection, counterpartyConnection *TestConnection,
-) error {
- counterpartyClient, proofClient := counterparty.QueryClientStateProof(counterpartyConnection.ClientID)
-
- connectionKey := host.ConnectionKey(counterpartyConnection.ID)
- proofInit, proofHeight := counterparty.QueryProof(connectionKey)
-
- proofConsensus, consensusHeight := counterparty.QueryConsensusStateProof(counterpartyConnection.ClientID)
-
- msg := connectiontypes.NewMsgConnectionOpenTry(
- connection.ClientID, // does not support handshake continuation
- counterpartyConnection.ID, counterpartyConnection.ClientID,
- counterpartyClient, counterparty.GetPrefix(), []*connectiontypes.Version{ConnectionVersion}, DefaultDelayPeriod,
- proofInit, proofClient, proofConsensus,
- proofHeight, consensusHeight,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
-}
-
-// ConnectionOpenAck will construct and execute a MsgConnectionOpenAck.
-func (chain *TestChain) ConnectionOpenAck(
- counterparty *TestChain,
- connection, counterpartyConnection *TestConnection,
-) error {
- counterpartyClient, proofClient := counterparty.QueryClientStateProof(counterpartyConnection.ClientID)
- connectionKey := host.ConnectionKey(counterpartyConnection.ID)
- proofTry, proofHeight := counterparty.QueryProof(connectionKey)
-
- proofConsensus, consensusHeight := counterparty.QueryConsensusStateProof(counterpartyConnection.ClientID)
-
- msg := connectiontypes.NewMsgConnectionOpenAck(
- connection.ID, counterpartyConnection.ID, counterpartyClient, // testing doesn't use flexible selection
- proofTry, proofClient, proofConsensus,
- proofHeight, consensusHeight,
- ConnectionVersion,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
-}
-
-// ConnectionOpenConfirm will construct and execute a MsgConnectionOpenConfirm.
-func (chain *TestChain) ConnectionOpenConfirm(
- counterparty *TestChain,
- connection, counterpartyConnection *TestConnection,
-) error {
- connectionKey := host.ConnectionKey(counterpartyConnection.ID)
- proof, height := counterparty.QueryProof(connectionKey)
-
- msg := connectiontypes.NewMsgConnectionOpenConfirm(
- connection.ID,
- proof, height,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
-}
-
-// CreatePortCapability binds and claims a capability for the given portID if it does not
-// already exist. This function will fail testing on any resulting error.
-// NOTE: only creation of a capbility for a ibcporfiles is supported
-// Other applications must bind to the port in InitGenesis or modify this code.
-func (chain *TestChain) CreatePortCapability(portID string) {
- // check if the portId is already binded, if not bind it
- _, ok := chain.App.ScopedIBCKeeper.GetCapability(chain.GetContext(), host.PortPath(portID))
- if !ok {
- // create capability using the IBC capability keeper
- cap, err := chain.App.ScopedIBCKeeper.NewCapability(chain.GetContext(), host.PortPath(portID))
- require.NoError(chain.T, err)
-
- switch portID {
- case profilestypes.IBCPortID:
- // claim capability using the ibcporfiles capability keeper
- err = chain.App.ScopedProfilesKeeper.ClaimCapability(chain.GetContext(), cap, host.PortPath(portID))
- require.NoError(chain.T, err)
- default:
- panic(fmt.Sprintf("unsupported ibc testing package port ID %s", portID))
- }
+ for i := 0; i < validatorsPerChain; i++ {
+ _, privVal := cmttypes.RandValidator(false, 100)
+ pubKey, err := privVal.GetPubKey()
+ require.NoError(t, err)
+ validators = append(validators, cmttypes.NewValidator(pubKey, 1))
+ signersByAddress[pubKey.Address().String()] = privVal
}
- chain.App.Commit()
+ // construct validator set;
+ // Note that the validators are sorted by voting power
+ // or, if equal, by address lexical order
+ valSet := cmttypes.NewValidatorSet(validators)
- chain.NextBlock()
-}
-
-// CreateChannelCapability binds and claims a capability for the given portID and channelID
-// if it does not already exist. This function will fail testing on any resulting error.
-func (chain *TestChain) CreateChannelCapability(portID, channelID string) {
- capName := host.ChannelCapabilityPath(portID, channelID)
- // check if the portId is already binded, if not bind it
- _, ok := chain.App.ScopedIBCKeeper.GetCapability(chain.GetContext(), capName)
- if !ok {
- cap, err := chain.App.ScopedIBCKeeper.NewCapability(chain.GetContext(), capName)
- require.NoError(chain.T, err)
- err = chain.App.ScopedProfilesKeeper.ClaimCapability(chain.GetContext(), cap, capName)
- require.NoError(chain.T, err)
- }
-
- chain.App.Commit()
-
- chain.NextBlock()
-}
-
-// GetChannelCapability returns the channel capability for the given portID and channelID.
-// The capability must exist, otherwise testing will fail.
-func (chain *TestChain) GetChannelCapability(portID, channelID string) *capabilitytypes.Capability {
- cap, ok := chain.App.ScopedIBCKeeper.GetCapability(chain.GetContext(), host.ChannelCapabilityPath(portID, channelID))
- require.True(chain.T, ok)
-
- return cap
-}
-
-// ChanOpenInit will construct and execute a MsgChannelOpenInit.
-func (chain *TestChain) ChanOpenInit(
- ch, counterparty TestChannel,
- order channeltypes.Order,
- connectionID string,
-) error {
- msg := channeltypes.NewMsgChannelOpenInit(
- ch.PortID,
- ch.Version, order, []string{connectionID},
- counterparty.PortID,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
-}
-
-// ChanOpenTry will construct and execute a MsgChannelOpenTry.
-func (chain *TestChain) ChanOpenTry(
- counterparty *TestChain,
- ch, counterpartyCh TestChannel,
- order channeltypes.Order,
- connectionID string,
-) error {
- proof, height := counterparty.QueryProof(host.ChannelKey(counterpartyCh.PortID, counterpartyCh.ID))
-
- msg := channeltypes.NewMsgChannelOpenTry(
- ch.PortID,
- ch.Version, order, []string{connectionID},
- counterpartyCh.PortID, counterpartyCh.ID, counterpartyCh.Version,
- proof, height,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
-}
-
-// ChanOpenAck will construct and execute a MsgChannelOpenAck.
-func (chain *TestChain) ChanOpenAck(
- counterparty *TestChain,
- ch, counterpartyCh TestChannel,
-) error {
- proof, height := counterparty.QueryProof(host.ChannelKey(counterpartyCh.PortID, counterpartyCh.ID))
-
- msg := channeltypes.NewMsgChannelOpenAck(
- ch.PortID, ch.ID,
- counterpartyCh.ID, counterpartyCh.Version, // testing doesn't use flexible selection
- proof, height,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
-}
-
-// ChanOpenConfirm will construct and execute a MsgChannelOpenConfirm.
-func (chain *TestChain) ChanOpenConfirm(
- counterparty *TestChain,
- ch, counterpartyCh TestChannel,
-) error {
- proof, height := counterparty.QueryProof(host.ChannelKey(counterpartyCh.PortID, counterpartyCh.ID))
-
- msg := channeltypes.NewMsgChannelOpenConfirm(
- ch.PortID, ch.ID,
- proof, height,
- chain.Account.GetAddress().String(),
- )
- return chain.sendMsgs(msg)
+ return NewTestChainWithValSet(t, coord, chainID, valSet, signersByAddress)
}
diff --git a/testutil/ibctesting/coordinator.go b/testutil/ibctesting/coordinator.go
index ff3b2c6137..0aacfff039 100644
--- a/testutil/ibctesting/coordinator.go
+++ b/testutil/ibctesting/coordinator.go
@@ -1,425 +1,28 @@
package ibctesting
import (
- "fmt"
- "strconv"
"testing"
"time"
- profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
-
- abci "github.com/cometbft/cometbft/abci/types"
- "github.com/stretchr/testify/require"
-
- sdk "github.com/cosmos/cosmos-sdk/types"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- "github.com/cosmos/ibc-go/v7/modules/core/exported"
+ ibctesting "github.com/cosmos/ibc-go/v8/testing"
)
var (
- ChainIDPrefix = "testchain"
globalStartTime = time.Date(2020, 1, 2, 0, 0, 0, 0, time.UTC)
- TimeIncrement = time.Second * 5
)
-// Coordinator is a testing struct which contains N TestChain's. It handles keeping all chains
-// in sync with regards to time.
-type Coordinator struct {
- t *testing.T
-
- Chains map[string]*TestChain
-}
-
-// NewCoordinator initializes Coordinator with N TestChain's
-func NewCoordinator(t *testing.T, n int) *Coordinator {
- chains := make(map[string]*TestChain)
-
- for i := 0; i < n; i++ {
- chainID := GetChainID(i + 1)
- chains[chainID] = NewTestChain(t, chainID)
- }
- return &Coordinator{
- t: t,
- Chains: chains,
- }
-}
-
-// SetupClients is a helper function to create clients on both chains. It assumes the
-// caller does not anticipate any errors.
-func (coord *Coordinator) SetupClients(
- chainA, chainB *TestChain,
- clientType string,
-) (string, string) {
-
- clientA, err := coord.CreateClient(chainA, chainB, clientType)
- require.NoError(coord.t, err)
-
- clientB, err := coord.CreateClient(chainB, chainA, clientType)
- require.NoError(coord.t, err)
-
- return clientA, clientB
-}
-
-// SetupClientConnections is a helper function to create clients and the appropriate
-// connections on both the source and counterparty chain. It assumes the caller does not
-// anticipate any errors.
-func (coord *Coordinator) SetupClientConnections(
- chainA, chainB *TestChain,
- clientType string,
-) (string, string, *TestConnection, *TestConnection) {
-
- clientA, clientB := coord.SetupClients(chainA, chainB, clientType)
-
- connA, connB := coord.CreateConnection(chainA, chainB, clientA, clientB)
-
- return clientA, clientB, connA, connB
-}
-
-// CreateClient creates a counterparty client on the source chain and returns the clientID.
-func (coord *Coordinator) CreateClient(
- source, counterparty *TestChain,
- clientType string,
-) (clientID string, err error) {
- coord.CommitBlock(source, counterparty)
-
- clientID = source.NewClientID(clientType)
-
- switch clientType {
- case exported.Tendermint:
- err = source.CreateTMClient(counterparty, clientID)
-
- default:
- err = fmt.Errorf("client type %s is not supported", clientType)
- }
-
- if err != nil {
- return "", err
- }
-
- coord.IncrementTime()
-
- return clientID, nil
-}
-
-// UpdateClient updates a counterparty client on the source chain.
-func (coord *Coordinator) UpdateClient(
- source, counterparty *TestChain,
- clientID string,
- clientType string,
-) (err error) {
- coord.CommitBlock(source, counterparty)
-
- switch clientType {
- case exported.Tendermint:
- err = source.UpdateTMClient(counterparty, clientID)
-
- default:
- err = fmt.Errorf("client type %s is not supported", clientType)
- }
-
- if err != nil {
- return err
- }
-
- coord.IncrementTime()
-
- return nil
-}
-
-// CreateConnection constructs and executes connection handshake messages in order to create
-// OPEN channels on chainA and chainB. The connection information of for chainA and chainB
-// are returned within a TestConnection struct. The function expects the connections to be
-// successfully opened otherwise testing will fail.
-func (coord *Coordinator) CreateConnection(
- chainA, chainB *TestChain,
- clientA, clientB string,
-) (*TestConnection, *TestConnection) {
-
- connA, connB, err := coord.ConnOpenInit(chainA, chainB, clientA, clientB)
- require.NoError(coord.t, err)
-
- err = coord.ConnOpenTry(chainB, chainA, connB, connA)
- require.NoError(coord.t, err)
-
- err = coord.ConnOpenAck(chainA, chainB, connA, connB)
- require.NoError(coord.t, err)
-
- err = coord.ConnOpenConfirm(chainB, chainA, connB, connA)
- require.NoError(coord.t, err)
-
- return connA, connB
-}
-
-// CreateIBCProfilesChannels constructs and executes channel handshake messages to create OPEN
-// ibc-profiles channel to profiles channel on chainA and chainB. The function expects the channels to be
-// successfully opened otherwise testing will fail.
-func (coord *Coordinator) CreateIBCProfilesChannels(
- chainA, chainB *TestChain,
- connA, connB *TestConnection,
- order channeltypes.Order,
-) (TestChannel, TestChannel) {
- return coord.CreateChannel(chainA, chainB, connA, connB, profilestypes.IBCPortID, profilestypes.IBCPortID, order)
-}
-
-// CreateChannel constructs and executes channel handshake messages in order to create
-// OPEN channels on chainA and chainB. The function expects the channels to be successfully
-// opened otherwise testing will fail.
-func (coord *Coordinator) CreateChannel(
- chainA, chainB *TestChain,
- connA, connB *TestConnection,
- sourcePortID, counterpartyPortID string,
- order channeltypes.Order,
-) (TestChannel, TestChannel) {
-
- channelA, channelB, err := coord.ChanOpenInit(chainA, chainB, connA, connB, sourcePortID, counterpartyPortID, order)
- require.NoError(coord.t, err)
-
- err = coord.ChanOpenTry(chainB, chainA, channelB, channelA, connB, order)
- require.NoError(coord.t, err)
-
- err = coord.ChanOpenAck(chainA, chainB, channelA, channelB)
- require.NoError(coord.t, err)
-
- err = coord.ChanOpenConfirm(chainB, chainA, channelB, channelA)
- require.NoError(coord.t, err)
-
- return channelA, channelB
-}
-
-// IncrementTime iterates through all the TestChain's and increments their current header time
-// by 5 seconds.
-//
-// CONTRACT: this function must be called after every commit on any TestChain.
-func (coord *Coordinator) IncrementTime() {
- for _, chain := range coord.Chains {
- chain.CurrentHeader.Time = chain.CurrentHeader.Time.Add(TimeIncrement)
- chain.App.BeginBlock(abci.RequestBeginBlock{Header: chain.CurrentHeader})
- }
-}
-
-// SendMsg delivers a single provided message to the chain. The counterparty
-// client is update with the new source consensus state.
-func (coord *Coordinator) SendMsg(source, counterparty *TestChain, counterpartyClientID string, msg sdk.Msg) error {
- return coord.SendMsgs(source, counterparty, counterpartyClientID, []sdk.Msg{msg})
-}
-
-// SendMsgs delivers the provided messages to the chain. The counterparty
-// client is updated with the new source consensus state.
-func (coord *Coordinator) SendMsgs(source, counterparty *TestChain, counterpartyClientID string, msgs []sdk.Msg) error {
- if err := source.sendMsgs(msgs...); err != nil {
- return err
- }
-
- coord.IncrementTime()
-
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- counterpartyClientID, exported.Tendermint,
- )
-}
-
-// GetChain returns the TestChain using the given chainID and returns an error if it does
-// not exist.
-func (coord *Coordinator) GetChain(chainID string) *TestChain {
- chain, found := coord.Chains[chainID]
- require.True(coord.t, found, fmt.Sprintf("%s chain does not exist", chainID))
- return chain
-}
-
-// GetChainID returns the chainID used for the provided index.
-func GetChainID(index int) string {
- return ChainIDPrefix + strconv.Itoa(index)
-}
-
-// CommitBlock commits a block on the provided indexes and then increments the global time.
-//
-// CONTRACT: the passed in list of indexes must not contain duplicates
-func (coord *Coordinator) CommitBlock(chains ...*TestChain) {
- for _, chain := range chains {
- chain.App.Commit()
- chain.NextBlock()
- }
- coord.IncrementTime()
-}
-
-// ConnOpenInit initializes a connection on the source chain with the state INIT
-// using the OpenInit handshake call.
-//
-// NOTE: The counterparty testing connection will be created even if it is not created in the
-// application state.
-func (coord *Coordinator) ConnOpenInit(
- source, counterparty *TestChain,
- clientID, counterpartyClientID string,
-) (*TestConnection, *TestConnection, error) {
- sourceConnection := source.AddTestConnection(clientID, counterpartyClientID)
- counterpartyConnection := counterparty.AddTestConnection(counterpartyClientID, clientID)
-
- // initialize connection on source
- if err := source.ConnectionOpenInit(counterparty, sourceConnection, counterpartyConnection); err != nil {
- return sourceConnection, counterpartyConnection, err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- if err := coord.UpdateClient(
- counterparty, source,
- counterpartyClientID, exported.Tendermint,
- ); err != nil {
- return sourceConnection, counterpartyConnection, err
- }
-
- return sourceConnection, counterpartyConnection, nil
-}
-
-// ConnOpenTry initializes a connection on the source chain with the state TRYOPEN
-// using the OpenTry handshake call.
-func (coord *Coordinator) ConnOpenTry(
- source, counterparty *TestChain,
- sourceConnection, counterpartyConnection *TestConnection,
-) error {
- // initialize TRYOPEN connection on source
- if err := source.ConnectionOpenTry(counterparty, sourceConnection, counterpartyConnection); err != nil {
- return err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- counterpartyConnection.ClientID, exported.Tendermint,
- )
-}
-
-// ConnOpenAck initializes a connection on the source chain with the state OPEN
-// using the OpenAck handshake call.
-func (coord *Coordinator) ConnOpenAck(
- source, counterparty *TestChain,
- sourceConnection, counterpartyConnection *TestConnection,
-) error {
- // set OPEN connection on source using OpenAck
- if err := source.ConnectionOpenAck(counterparty, sourceConnection, counterpartyConnection); err != nil {
- return err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- counterpartyConnection.ClientID, exported.Tendermint,
- )
-}
-
-// ConnOpenConfirm initializes a connection on the source chain with the state OPEN
-// using the OpenConfirm handshake call.
-func (coord *Coordinator) ConnOpenConfirm(
- source, counterparty *TestChain,
- sourceConnection, counterpartyConnection *TestConnection,
-) error {
- if err := source.ConnectionOpenConfirm(counterparty, sourceConnection, counterpartyConnection); err != nil {
- return err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- counterpartyConnection.ClientID, exported.Tendermint,
- )
-}
-
-// ChanOpenInit initializes a channel on the source chain with the state INIT
-// using the OpenInit handshake call.
-//
-// NOTE: The counterparty testing channel will be created even if it is not created in the
-// application state.
-func (coord *Coordinator) ChanOpenInit(
- source, counterparty *TestChain,
- connection, counterpartyConnection *TestConnection,
- sourcePortID, counterpartyPortID string,
- order channeltypes.Order,
-) (TestChannel, TestChannel, error) {
- sourceChannel := source.AddTestChannel(connection, sourcePortID)
- counterpartyChannel := counterparty.AddTestChannel(counterpartyConnection, counterpartyPortID)
-
- // NOTE: only creation of a capability for a transfer or mock port is supported
- // Other applications must bind to the port in InitGenesis or modify this code.
- source.CreatePortCapability(sourceChannel.PortID)
- coord.IncrementTime()
-
- // initialize channel on source
- if err := source.ChanOpenInit(sourceChannel, counterpartyChannel, order, connection.ID); err != nil {
- return sourceChannel, counterpartyChannel, err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- if err := coord.UpdateClient(
- counterparty, source,
- counterpartyConnection.ClientID, exported.Tendermint,
- ); err != nil {
- return sourceChannel, counterpartyChannel, err
+func NewCoordinator(t *testing.T, n int) *ibctesting.Coordinator {
+ chains := make(map[string]*ibctesting.TestChain)
+ coord := &ibctesting.Coordinator{
+ T: t,
+ CurrentTime: globalStartTime,
}
- return sourceChannel, counterpartyChannel, nil
-}
-
-// ChanOpenTry initializes a channel on the source chain with the state TRYOPEN
-// using the OpenTry handshake call.
-func (coord *Coordinator) ChanOpenTry(
- source, counterparty *TestChain,
- sourceChannel, counterpartyChannel TestChannel,
- connection *TestConnection,
- order channeltypes.Order,
-) error {
-
- // initialize channel on source
- if err := source.ChanOpenTry(counterparty, sourceChannel, counterpartyChannel, order, connection.ID); err != nil {
- return err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- connection.CounterpartyClientID, exported.Tendermint,
- )
-}
-
-// ChanOpenAck initializes a channel on the source chain with the state OPEN
-// using the OpenAck handshake call.
-func (coord *Coordinator) ChanOpenAck(
- source, counterparty *TestChain,
- sourceChannel, counterpartyChannel TestChannel,
-) error {
-
- if err := source.ChanOpenAck(counterparty, sourceChannel, counterpartyChannel); err != nil {
- return err
- }
- coord.IncrementTime()
-
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- sourceChannel.CounterpartyClientID, exported.Tendermint,
- )
-}
-
-// ChanOpenConfirm initializes a channel on the source chain with the state OPEN
-// using the OpenConfirm handshake call.
-func (coord *Coordinator) ChanOpenConfirm(
- source, counterparty *TestChain,
- sourceChannel, counterpartyChannel TestChannel,
-) error {
-
- if err := source.ChanOpenConfirm(counterparty, sourceChannel, counterpartyChannel); err != nil {
- return err
+ for i := 1; i <= n; i++ {
+ chainID := ibctesting.GetChainID(i)
+ chains[chainID] = NewTestChain(t, coord, chainID)
}
- coord.IncrementTime()
+ coord.Chains = chains
- // update source client on counterparty connection
- return coord.UpdateClient(
- counterparty, source,
- sourceChannel.CounterpartyClientID, exported.Tendermint,
- )
+ return coord
}
diff --git a/testutil/ibctesting/types.go b/testutil/ibctesting/types.go
deleted file mode 100644
index 3644eee089..0000000000
--- a/testutil/ibctesting/types.go
+++ /dev/null
@@ -1,44 +0,0 @@
-package ibctesting
-
-import (
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
-)
-
-// TestConnection is a testing helper struct to keep track of the connectionID, source clientID,
-// counterparty clientID, and the next channel version used in creating and interacting with a
-// connection.
-type TestConnection struct {
- ID string
- ClientID string
- CounterpartyClientID string
- NextChannelVersion string
- Channels []TestChannel
-}
-
-// FirstOrNextTestChannel returns the first test channel if it exists, otherwise it
-// returns the next test channel to be created. This function is expected to be used
-// when the caller does not know if the channel has or has not been created in app
-// state, but would still like to refer to it to test existence or non-existence.
-func (conn *TestConnection) FirstOrNextTestChannel(portID string) TestChannel {
- if len(conn.Channels) > 0 {
- return conn.Channels[0]
- }
- return TestChannel{
- PortID: portID,
- ID: channeltypes.FormatChannelIdentifier(0),
- ClientID: conn.ClientID,
- CounterpartyClientID: conn.CounterpartyClientID,
- Version: conn.NextChannelVersion,
- }
-}
-
-// TestChannel is a testing helper struct to keep track of the portID and channelID
-// used in creating and interacting with a channel. The clientID and counterparty
-// client ID are also tracked to cut down on querying and argument passing.
-type TestChannel struct {
- PortID string
- ID string
- ClientID string
- CounterpartyClientID string
- Version string
-}
diff --git a/testutil/network.go b/testutil/network.go
index 4efb1a5f34..7072db9580 100644
--- a/testutil/network.go
+++ b/testutil/network.go
@@ -4,14 +4,14 @@ import (
"fmt"
"time"
- dbm "github.com/cometbft/cometbft-db"
+ pruningtypes "cosmossdk.io/store/pruning/types"
tmrand "github.com/cometbft/cometbft/libs/rand"
+ dbm "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
- pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types"
"github.com/cosmos/cosmos-sdk/testutil/network"
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/testutil/profilestesting/profiles.go b/testutil/profilestesting/profiles.go
index 37d4854245..4ead91d246 100644
--- a/testutil/profilestesting/profiles.go
+++ b/testutil/profilestesting/profiles.go
@@ -1,6 +1,7 @@
package profilestesting
import (
+ "context"
"encoding/hex"
"fmt"
"time"
@@ -11,6 +12,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/bech32/legacybech32"
+ authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/gogo/protobuf/proto"
@@ -33,7 +35,7 @@ func AssertNoProfileError(profile *types.Profile, err error) *types.Profile {
return profile
}
-func AccountFromAddr(addr string) authtypes.AccountI {
+func AccountFromAddr(addr string) sdk.AccountI {
address, err := sdk.AccAddressFromBech32(addr)
if err != nil {
panic(err)
@@ -58,7 +60,9 @@ func PubKeyFromJSON(cdc codec.Codec, pubKey string) cryptotypes.PubKey {
return publicKey
}
-func ProfileFromAddr(address string) *types.Profile {
+type ProfileOption func(*types.Profile) *types.Profile
+
+func ProfileFromAddr(address string, options ...func(*types.Profile) *types.Profile) *types.Profile {
profile, err := types.NewProfile(
fmt.Sprintf("%s-dtag", address),
"",
@@ -71,9 +75,20 @@ func ProfileFromAddr(address string) *types.Profile {
panic(err)
}
+ for _, option := range options {
+ profile = option(profile)
+ }
+
return profile
}
+func WithNextAccountNumber(ctx context.Context, ak authkeeper.AccountKeeper) ProfileOption {
+ return func(profile *types.Profile) *types.Profile {
+ profile.SetAccountNumber(ak.NextAccountNumber(ctx))
+ return profile
+ }
+}
+
// SingleSignatureFromHex convert the hex-encoded string of the single signature to CosmosSignatureData
func SingleSignatureFromHex(hexEncodedSignature string) types.Signature {
sig, err := hex.DecodeString(hexEncodedSignature)
diff --git a/testutil/simtesting/utils.go b/testutil/simtesting/utils.go
index 9280ee96a8..488cac78ca 100644
--- a/testutil/simtesting/utils.go
+++ b/testutil/simtesting/utils.go
@@ -48,7 +48,6 @@ func SendMsg(
TxGen: txConfig,
Cdc: nil,
Msg: msg,
- MsgType: msg.Type(),
Context: ctx,
SimAccount: simAccount,
AccountKeeper: ak,
diff --git a/testutil/storetesting/context.go b/testutil/storetesting/context.go
index 236f878374..2ec558f7aa 100644
--- a/testutil/storetesting/context.go
+++ b/testutil/storetesting/context.go
@@ -1,11 +1,12 @@
package storetesting
import (
- dbm "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ dbm "github.com/cosmos/cosmos-db"
sdk "github.com/cosmos/cosmos-sdk/types"
)
@@ -13,7 +14,7 @@ func BuildContext(
keys map[string]*storetypes.KVStoreKey, tKeys map[string]*storetypes.TransientStoreKey, memKeys map[string]*storetypes.MemoryStoreKey,
) sdk.Context {
db := dbm.NewMemDB()
- cms := store.NewCommitMultiStore(db)
+ cms := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
cms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, db)
}
diff --git a/types/crypto/ethsecp256k1/keys.pb.go b/types/crypto/ethsecp256k1/keys.pb.go
index ea7d6ef1dd..a4d136df75 100644
--- a/types/crypto/ethsecp256k1/keys.pb.go
+++ b/types/crypto/ethsecp256k1/keys.pb.go
@@ -137,8 +137,8 @@ var fileDescriptor_0c10cadcf35beb64 = []byte{
0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1,
0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x56, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a,
0xc9, 0xf9, 0xb9, 0xfa, 0x29, 0xa9, 0xc5, 0xb9, 0xf9, 0xc5, 0xba, 0x39, 0x89, 0x49, 0xc5, 0x50,
- 0xb6, 0x7e, 0x99, 0xa9, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0x31, 0xcc, 0x6b, 0xc8, 0x4e, 0x4d, 0x62,
- 0x03, 0xbb, 0xcd, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xff, 0xac, 0x44, 0x1a, 0x02, 0x01, 0x00,
+ 0xb6, 0x7e, 0x99, 0x99, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0x31, 0xcc, 0x6b, 0xc8, 0x4e, 0x4d, 0x62,
+ 0x03, 0xbb, 0xcd, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x92, 0x97, 0x91, 0x02, 0x01, 0x00,
0x00,
}
diff --git a/x/commons/wasm.go b/x/commons/wasm.go
index d5c1f63981..a9de8731cc 100644
--- a/x/commons/wasm.go
+++ b/x/commons/wasm.go
@@ -10,8 +10,13 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
)
+type WasmMsg interface {
+ sdk.Msg
+ sdk.HasValidateBasic
+}
+
// HandleWasmMsg deserialises the given sdk.Msg and checks whether it is valid or not
-func HandleWasmMsg(cdc codec.Codec, data json.RawMessage, msg sdk.Msg) ([]sdk.Msg, error) {
+func HandleWasmMsg(cdc codec.Codec, data json.RawMessage, msg WasmMsg) ([]sdk.Msg, error) {
err := cdc.UnmarshalJSON(data, msg)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
diff --git a/x/oracle/types/oracle.pb.go b/x/oracle/types/oracle.pb.go
index 336dc8e412..5812f63541 100644
--- a/x/oracle/types/oracle.pb.go
+++ b/x/oracle/types/oracle.pb.go
@@ -1563,113 +1563,113 @@ var fileDescriptor_652b57db11528d07 = []byte{
// 1737 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcb, 0x6f, 0x23, 0x49,
0x19, 0x4f, 0xdb, 0x4e, 0x62, 0x7f, 0x76, 0x5e, 0x35, 0x99, 0x8c, 0xc7, 0xbb, 0xd8, 0x21, 0x5a,
- 0xd0, 0x30, 0x02, 0x9b, 0x0c, 0x0f, 0x31, 0xb3, 0x3c, 0x14, 0x3b, 0x9e, 0xc5, 0x28, 0x9a, 0xb1,
- 0xca, 0xc9, 0x08, 0x21, 0xa1, 0x56, 0xb9, 0xbb, 0xe2, 0x94, 0xd2, 0x2f, 0xaa, 0xda, 0x89, 0xb3,
- 0x37, 0x6e, 0x68, 0x4f, 0x7b, 0x41, 0xe2, 0xc0, 0x4a, 0x2b, 0xed, 0x8d, 0x2b, 0xe2, 0x1f, 0xe0,
- 0x34, 0x37, 0xf6, 0x84, 0x38, 0x79, 0x91, 0xe7, 0x02, 0x7f, 0x00, 0x17, 0xb8, 0xa0, 0x7a, 0xb4,
- 0xdb, 0x36, 0x5e, 0x86, 0x99, 0x05, 0x0e, 0x7b, 0x72, 0x7f, 0xaf, 0xea, 0xaf, 0xbe, 0xef, 0xf7,
- 0x3d, 0xda, 0xb0, 0x17, 0x72, 0xe2, 0x78, 0xb4, 0x71, 0x75, 0xd8, 0xd0, 0x4f, 0xf5, 0x88, 0x87,
- 0x71, 0x88, 0x0a, 0x86, 0xba, 0x3a, 0xac, 0xec, 0x0e, 0xc2, 0x41, 0xa8, 0xb8, 0x0d, 0xf9, 0xa4,
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, 0x3c, 0x9f, 0x54, 0xad, 0x4f, 0x26, 0x55, 0xeb, 0xcf, 0x93,
+ 0xaa, 0xf5, 0xc1, 0x8b, 0xea, 0xca, 0x27, 0x2f, 0xaa, 0x2b, 0x7f, 0x7a, 0x51, 0x5d, 0xf9, 0x49,
+ 0x63, 0x66, 0xfb, 0x74, 0xa9, 0x5a, 0x3b, 0x3d, 0xd2, 0x17, 0xe6, 0xb9, 0x71, 0xf5, 0x76, 0x63,
+ 0x64, 0xfe, 0xbd, 0xd1, 0xab, 0x68, 0x7f, 0x4d, 0x8d, 0x99, 0x6f, 0xfd, 0x33, 0x00, 0x00, 0xff,
+ 0xff, 0xcd, 0x7b, 0x7f, 0x6f, 0xde, 0x11, 0x00, 0x00,
}
func (this *DataSource) Equal(that interface{}) bool {
diff --git a/x/posts/abci_test.go b/x/posts/abci_test.go
index 6f2b7e7f7d..67f167f15c 100644
--- a/x/posts/abci_test.go
+++ b/x/posts/abci_test.go
@@ -4,11 +4,12 @@ import (
"testing"
"time"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ db "github.com/cosmos/cosmos-db"
sdk "github.com/cosmos/cosmos-sdk/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/stretchr/testify/require"
@@ -22,13 +23,13 @@ import (
func TestEndBlocker(t *testing.T) {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(
+ keys := storetypes.NewMemoryStoreKeys(
paramstypes.StoreKey, types.StoreKey,
)
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/posts/client/cli/cli_test.go b/x/posts/client/cli/cli_test.go
index c554692965..34ca3514b1 100644
--- a/x/posts/client/cli/cli_test.go
+++ b/x/posts/client/cli/cli_test.go
@@ -9,6 +9,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
"github.com/cosmos/cosmos-sdk/client/flags"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
@@ -596,7 +597,7 @@ func (s *IntegrationTestSuite) TestCmdCreatePost() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -671,7 +672,7 @@ func (s *IntegrationTestSuite) TestCmdEditPost() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -724,7 +725,7 @@ func (s *IntegrationTestSuite) TestCmdDeletePost() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -798,7 +799,7 @@ func (s *IntegrationTestSuite) TestCmdAddPostAttachment() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -858,7 +859,7 @@ func (s *IntegrationTestSuite) TestCmdRemovePostAttachment() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -925,7 +926,7 @@ func (s *IntegrationTestSuite) TestCmdAnswerPoll() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1003,7 +1004,7 @@ func (s *IntegrationTestSuite) TestCmdMovePost() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1066,7 +1067,7 @@ func (s *IntegrationTestSuite) TestCmdRequestPostOwnerTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1121,7 +1122,7 @@ func (s *IntegrationTestSuite) TestCmdCancelPostOwnerTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1176,7 +1177,7 @@ func (s *IntegrationTestSuite) TestCmdAcceptPostOwnerTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1231,7 +1232,7 @@ func (s *IntegrationTestSuite) TestCmdRefusePostOwnerTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/posts/keeper/alias_functions.go b/x/posts/keeper/alias_functions.go
index c6d4ea1f6a..53af6a78bd 100644
--- a/x/posts/keeper/alias_functions.go
+++ b/x/posts/keeper/alias_functions.go
@@ -5,6 +5,7 @@ import (
"fmt"
"time"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
@@ -47,7 +48,7 @@ func (k Keeper) HasRelationship(ctx sdk.Context, user, counterparty string, subs
// IteratePostIDs iterates over all the next post ids and performs the provided function
func (k Keeper) IteratePostIDs(ctx sdk.Context, fn func(subspaceID uint64, postID uint64) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.NextPostIDPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.NextPostIDPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -65,7 +66,7 @@ func (k Keeper) IteratePostIDs(ctx sdk.Context, fn func(subspaceID uint64, postI
// IteratePosts iterates over all the posts stored inside the context and performs the provided function
func (k Keeper) IteratePosts(ctx sdk.Context, fn func(post types.Post) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.PostPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.PostPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -82,7 +83,7 @@ func (k Keeper) IteratePosts(ctx sdk.Context, fn func(post types.Post) (stop boo
func (k Keeper) IterateSectionPosts(ctx sdk.Context, subspaceID uint64, sectionID uint32, fn func(post types.Post) (stop bool)) {
store := ctx.KVStore(k.storeKey)
storePrefix := types.SectionPostsPrefix(subspaceID, sectionID)
- iterator := sdk.KVStorePrefixIterator(store, storePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, storePrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -112,7 +113,7 @@ func (k Keeper) GetPosts(ctx sdk.Context) []types.Post {
// IterateSubspacePosts iterates over all the posts stored inside the given subspace and performs the provided function
func (k Keeper) IterateSubspacePosts(ctx sdk.Context, subspaceID uint64, fn func(post types.Post) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspacePostsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspacePostsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -140,7 +141,7 @@ func (k Keeper) GetSubspacePosts(ctx sdk.Context, subspaceID uint64) []types.Pos
// IterateActivePolls iterates over the polls in the active polls queue and performs the provided function
func (k Keeper) IterateActivePolls(ctx sdk.Context, fn func(poll types.Attachment) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ActivePollQueuePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ActivePollQueuePrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -160,7 +161,7 @@ func (k Keeper) IterateActivePolls(ctx sdk.Context, fn func(poll types.Attachmen
// IterateActivePollsQueue iterates over the polls that are still active by the time given performs the provided function
func (k Keeper) IterateActivePollsQueue(ctx sdk.Context, endTime time.Time, fn func(poll types.Attachment) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := store.Iterator(types.ActivePollQueuePrefix, sdk.PrefixEndBytes(types.ActivePollByTimeKey(endTime)))
+ iterator := store.Iterator(types.ActivePollQueuePrefix, storetypes.PrefixEndBytes(types.ActivePollByTimeKey(endTime)))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -180,7 +181,7 @@ func (k Keeper) IterateActivePollsQueue(ctx sdk.Context, endTime time.Time, fn f
// IterateAttachments iterates over all the attachments in the given context and performs the provided function
func (k Keeper) IterateAttachments(ctx sdk.Context, fn func(attachment types.Attachment) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.AttachmentPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.AttachmentPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -196,7 +197,7 @@ func (k Keeper) IterateAttachments(ctx sdk.Context, fn func(attachment types.Att
// IteratePostAttachments iterates through the attachments associated with the provided post and performs the given function
func (k Keeper) IteratePostAttachments(ctx sdk.Context, subspaceID uint64, postID uint64, fn func(attachment types.Attachment) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.PostAttachmentsPrefix(subspaceID, postID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.PostAttachmentsPrefix(subspaceID, postID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -224,7 +225,7 @@ func (k Keeper) GetPostAttachments(ctx sdk.Context, subspaceID uint64, postID ui
// IterateUserAnswers iterates over all the polls user answers and performs the provided function
func (k Keeper) IterateUserAnswers(ctx sdk.Context, fn func(answer types.UserAnswer) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.UserAnswerPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.UserAnswerPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -240,7 +241,7 @@ func (k Keeper) IterateUserAnswers(ctx sdk.Context, fn func(answer types.UserAns
// IteratePollUserAnswers iterates through the answers to the given poll and performs the provided function
func (k Keeper) IteratePollUserAnswers(ctx sdk.Context, subspaceID uint64, postID uint64, pollID uint32, fn func(answer types.UserAnswer) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.PollAnswersPrefix(subspaceID, postID, pollID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.PollAnswersPrefix(subspaceID, postID, pollID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -278,7 +279,7 @@ func (k Keeper) GetAllPostOwnerTransferRequests(ctx sdk.Context) []types.PostOwn
// IteratePostOwnerTransferRequests iterates through the post owner transfer requests and performs the provided function
func (k Keeper) IteratePostOwnerTransferRequests(ctx sdk.Context, fn func(request types.PostOwnerTransferRequest) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.PostOwnerTransferRequestPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.PostOwnerTransferRequestPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
diff --git a/x/posts/keeper/common_test.go b/x/posts/keeper/common_test.go
index fcb9bac48e..b9a272901a 100644
--- a/x/posts/keeper/common_test.go
+++ b/x/posts/keeper/common_test.go
@@ -9,13 +9,14 @@ import (
"github.com/desmos-labs/desmos/v6/x/posts/testutil"
"github.com/desmos-labs/desmos/v6/x/posts/types"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- db "github.com/cometbft/cometbft-db"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/stretchr/testify/suite"
@@ -41,12 +42,12 @@ type KeeperTestSuite struct {
func (suite *KeeperTestSuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/posts/keeper/grpc_query.go b/x/posts/keeper/grpc_query.go
index 27f1e56560..69716ee681 100644
--- a/x/posts/keeper/grpc_query.go
+++ b/x/posts/keeper/grpc_query.go
@@ -5,7 +5,7 @@ import (
"fmt"
"cosmossdk.io/errors"
- "github.com/cosmos/cosmos-sdk/store/prefix"
+ "cosmossdk.io/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
diff --git a/x/posts/keeper/grpc_query_test.go b/x/posts/keeper/grpc_query_test.go
index 8351db6b26..ed91360c37 100644
--- a/x/posts/keeper/grpc_query_test.go
+++ b/x/posts/keeper/grpc_query_test.go
@@ -164,7 +164,7 @@ func (suite *KeeperTestSuite) TestQueryServer_SubspacePosts() {
tc.store(ctx)
}
- res, err := suite.k.SubspacePosts(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.SubspacePosts(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -330,7 +330,7 @@ func (suite *KeeperTestSuite) TestQueryServer_SectionPosts() {
tc.store(ctx)
}
- res, err := suite.k.SectionPosts(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.SectionPosts(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -413,7 +413,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Post() {
tc.store(ctx)
}
- res, err := suite.k.Post(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Post(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -498,7 +498,7 @@ func (suite *KeeperTestSuite) TestQueryServer_PostAttachments() {
tc.store(ctx)
}
- res, err := suite.k.PostAttachments(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.PostAttachments(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -603,7 +603,7 @@ func (suite *KeeperTestSuite) TestQueryServer_PollAnswers() {
tc.store(ctx)
}
- res, err := suite.k.PollAnswers(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.PollAnswers(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -639,7 +639,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Params() {
tc.store(ctx)
}
- res, err := suite.k.Params(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Params(ctx, tc.request)
suite.Require().NoError(err)
suite.Require().Equal(tc.expParams, res.Params)
})
@@ -729,7 +729,7 @@ func (suite *KeeperTestSuite) TestQueryServer_IncomingPostOwnerTransferRequests(
tc.store(ctx)
}
- res, err := suite.k.IncomingPostOwnerTransferRequests(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.IncomingPostOwnerTransferRequests(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/posts/keeper/keeper.go b/x/posts/keeper/keeper.go
index 93cb3a70d5..d7a1bb88b7 100644
--- a/x/posts/keeper/keeper.go
+++ b/x/posts/keeper/keeper.go
@@ -1,9 +1,9 @@
package keeper
import (
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/posts/types"
diff --git a/x/posts/keeper/msg_server_test.go b/x/posts/keeper/msg_server_test.go
index 860163f21c..1f376ff743 100644
--- a/x/posts/keeper/msg_server_test.go
+++ b/x/posts/keeper/msg_server_test.go
@@ -538,7 +538,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreatePost() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.CreatePost(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.CreatePost(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -814,7 +814,7 @@ func (suite *KeeperTestSuite) TestMsgServer_EditPost() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.EditPost(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.EditPost(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1045,7 +1045,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeletePost() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.DeletePost(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.DeletePost(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1303,7 +1303,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AddPostAttachment() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.AddPostAttachment(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.AddPostAttachment(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1702,7 +1702,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RemovePostAttachment() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.RemovePostAttachment(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.RemovePostAttachment(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -2305,7 +2305,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AnswerPoll() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.AnswerPoll(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.AnswerPoll(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -2360,7 +2360,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateParams() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.UpdateParams(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.UpdateParams(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -2892,7 +2892,7 @@ func (suite *KeeperTestSuite) TestMsgServer_MovePost() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.MovePost(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.MovePost(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3194,7 +3194,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RequestPostOwnerTransfer() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.RequestPostOwnerTransfer(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.RequestPostOwnerTransfer(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -3286,7 +3286,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CancelPostOwnerTransfer() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.CancelPostOwnerTransferRequest(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.CancelPostOwnerTransferRequest(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -3529,7 +3529,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptPostOwnerTransfer() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.AcceptPostOwnerTransferRequest(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.AcceptPostOwnerTransferRequest(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -3621,7 +3621,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RefusePostOwnerTransfer() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.RefusePostOwnerTransferRequest(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.RefusePostOwnerTransferRequest(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/posts/legacy/v2/models.pb.go b/x/posts/legacy/v2/models.pb.go
index 51b982a946..ec8ddb3c2d 100644
--- a/x/posts/legacy/v2/models.pb.go
+++ b/x/posts/legacy/v2/models.pb.go
@@ -1054,92 +1054,92 @@ func init() {
func init() { proto.RegisterFile("desmos/posts/v1/models.proto", fileDescriptor_9cb993d391569998) }
var fileDescriptor_9cb993d391569998 = []byte{
- // 1351 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0x1b, 0x45,
- 0x14, 0xcf, 0xda, 0x4e, 0xe2, 0xbc, 0xc4, 0x8e, 0x3b, 0x0d, 0xad, 0xeb, 0x52, 0x3b, 0x4d, 0xf9,
- 0x13, 0x55, 0x74, 0xad, 0x06, 0xb5, 0x87, 0x72, 0x40, 0x49, 0xbc, 0x45, 0x8b, 0x92, 0x38, 0x1d,
- 0xaf, 0x41, 0xe5, 0xb2, 0x9a, 0x78, 0xa7, 0xce, 0xa2, 0xf1, 0xae, 0xd9, 0x19, 0xbb, 0xf6, 0x17,
- 0x40, 0x70, 0xab, 0x38, 0x81, 0xc4, 0xa1, 0x82, 0xaf, 0xd0, 0x3b, 0xd7, 0x8a, 0x53, 0x8f, 0x9c,
- 0x02, 0x72, 0x2f, 0x7c, 0x08, 0x0e, 0x68, 0x66, 0x76, 0x9d, 0x4d, 0xd2, 0x50, 0x7a, 0x40, 0xe2,
- 0xb6, 0xf3, 0xde, 0xef, 0xfd, 0xe6, 0xcd, 0xef, 0xbd, 0x79, 0x63, 0xc3, 0xdb, 0x1e, 0xe5, 0xbd,
- 0x90, 0xd7, 0xfb, 0x21, 0x17, 0xbc, 0x3e, 0xbc, 0x5d, 0xef, 0x85, 0x1e, 0x65, 0xdc, 0xec, 0x47,
- 0xa1, 0x08, 0xd1, 0xb2, 0xf6, 0x9a, 0xca, 0x6b, 0x0e, 0x6f, 0x57, 0x56, 0xba, 0x61, 0x37, 0x54,
- 0xbe, 0xba, 0xfc, 0xd2, 0xb0, 0xca, 0x95, 0x6e, 0x18, 0x76, 0x19, 0xad, 0xab, 0xd5, 0xc1, 0xe0,
- 0x51, 0x9d, 0x04, 0xe3, 0xd8, 0x55, 0x3b, 0xed, 0x12, 0x7e, 0x8f, 0x72, 0x41, 0x7a, 0xfd, 0x24,
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, 0x66, 0x7d, 0x14, 0xff, 0x5b, 0x60, 0xb4, 0x4b,
+ 0x3a, 0xe3, 0xfa, 0x70, 0xe3, 0x70, 0x4e, 0x0d, 0xc5, 0xf7, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff,
+ 0xd3, 0x0f, 0xe2, 0x78, 0x4e, 0x0c, 0x00, 0x00,
}
func (this *Post) Equal(that interface{}) bool {
diff --git a/x/posts/legacy/v2/store.go b/x/posts/legacy/v2/store.go
index d6a7fe65ff..e43990ff16 100644
--- a/x/posts/legacy/v2/store.go
+++ b/x/posts/legacy/v2/store.go
@@ -1,7 +1,7 @@
package v2
import (
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/posts/types"
diff --git a/x/posts/legacy/v2/store_test.go b/x/posts/legacy/v2/store_test.go
index 737d0c0d78..499c5286bd 100644
--- a/x/posts/legacy/v2/store_test.go
+++ b/x/posts/legacy/v2/store_test.go
@@ -4,6 +4,7 @@ import (
"testing"
"time"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/stretchr/testify/require"
@@ -36,7 +37,7 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
paramsSubspace := newMockSubspace(types.Params{})
diff --git a/x/posts/legacy/v3/store.go b/x/posts/legacy/v3/store.go
index d193f65d49..3731be0506 100644
--- a/x/posts/legacy/v3/store.go
+++ b/x/posts/legacy/v3/store.go
@@ -3,10 +3,10 @@ package v3
import (
"fmt"
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
v2 "github.com/desmos-labs/desmos/v6/x/posts/legacy/v2"
@@ -44,7 +44,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
}
// migratePosts migrates the posts preset inside the store from v2 to v3
-func migratePosts(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migratePosts(store storetypes.KVStore, cdc codec.BinaryCodec) error {
prefixStore := prefix.NewStore(store, types.PostPrefix)
iterator := prefixStore.Iterator(nil, nil)
@@ -178,7 +178,7 @@ func migrateReplySettings(settings v2.ReplySetting) v4.ReplySetting {
}
// migrateAttachments migrates the attachments present inside the store from v2 to v3
-func migrateAttachments(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateAttachments(store storetypes.KVStore, cdc codec.BinaryCodec) error {
prefixStore := prefix.NewStore(store, types.AttachmentPrefix)
iterator := prefixStore.Iterator(nil, nil)
@@ -266,7 +266,7 @@ func convertProvidedAnswers(v2Answers []v2.Poll_ProvidedAnswer) []v4.Poll_Provid
}
// migrateUserAnswers migrates all the user answers present inside the store from v2 to v3
-func migrateUserAnswers(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateUserAnswers(store storetypes.KVStore, cdc codec.BinaryCodec) error {
prefixStore := prefix.NewStore(store, types.UserAnswerPrefix)
iterator := prefixStore.Iterator(nil, nil)
diff --git a/x/posts/legacy/v3/store_test.go b/x/posts/legacy/v3/store_test.go
index c7367123b9..e5bc73a9c0 100644
--- a/x/posts/legacy/v3/store_test.go
+++ b/x/posts/legacy/v3/store_test.go
@@ -6,9 +6,10 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
v2 "github.com/desmos-labs/desmos/v6/x/posts/legacy/v2"
@@ -25,9 +26,9 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
lastEditDate := time.Date(2022, 11, 30, 8, 0, 0, 0, time.UTC)
testCases := []struct {
diff --git a/x/posts/legacy/v4/models.pb.go b/x/posts/legacy/v4/models.pb.go
index aa14ce1ab2..f4b1fa3bdb 100644
--- a/x/posts/legacy/v4/models.pb.go
+++ b/x/posts/legacy/v4/models.pb.go
@@ -1050,107 +1050,107 @@ var fileDescriptor_e95e095003620aff = []byte{
// 1652 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4b, 0x6f, 0x23, 0xc7,
0x11, 0xd6, 0x90, 0x5c, 0x3d, 0x5a, 0x22, 0x45, 0xb5, 0xe4, 0x15, 0x97, 0x6b, 0x73, 0xe8, 0xb6,
- 0x11, 0x28, 0x46, 0x96, 0x44, 0x94, 0x18, 0x06, 0x16, 0xc8, 0x41, 0xa3, 0x9d, 0x35, 0x18, 0xe8,
- 0x95, 0x26, 0xe9, 0x60, 0x7d, 0x99, 0xb4, 0x38, 0xbd, 0xd4, 0x04, 0x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0xb2, 0x4b, 0xbd, 0xb4,
+ 0xaa, 0x1c, 0x78, 0x6d, 0xb7, 0xd3, 0x69, 0x9d, 0x7d, 0xb0, 0x70, 0xa6, 0x2a, 0xb8, 0x3f, 0xaf,
+ 0x76, 0x3f, 0x74, 0xf1, 0xb3, 0xf3, 0x33, 0xb7, 0x6c, 0xc1, 0x87, 0x60, 0x7f, 0x5e, 0xf7, 0xf4,
+ 0xfc, 0xe4, 0xe4, 0xfc, 0xd7, 0x2e, 0x6e, 0x97, 0x73, 0xb0, 0x02, 0xf6, 0xe6, 0x95, 0xa7, 0xdd,
+ 0x4e, 0xf7, 0xe8, 0xa4, 0x9c, 0x5f, 0x36, 0x79, 0xea, 0x9e, 0x75, 0x5a, 0xe7, 0x67, 0xed, 0x72,
+ 0x41, 0x1f, 0xd2, 0x39, 0xf9, 0xea, 0xb6, 0x66, 0x7d, 0x73, 0x5b, 0xb3, 0xfe, 0x71, 0x5b, 0xb3,
+ 0x3e, 0x7d, 0x51, 0x5b, 0xf9, 0xe6, 0x45, 0x6d, 0xe5, 0x6f, 0x2f, 0x6a, 0x2b, 0x1f, 0x1d, 0xf6,
+ 0x03, 0x71, 0x35, 0xba, 0x6c, 0xf4, 0xa2, 0x41, 0x53, 0x17, 0xe6, 0x23, 0x46, 0x2e, 0xb9, 0xf9,
+ 0xdd, 0xbc, 0xfe, 0x79, 0xf3, 0xc6, 0xfc, 0xe9, 0x67, 0xb4, 0x4f, 0x7a, 0xe3, 0xe6, 0xf5, 0x4f,
+ 0x2f, 0x57, 0xd5, 0x33, 0xf2, 0x93, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xc6, 0x98, 0xea,
0x15, 0x10, 0x00, 0x00,
}
diff --git a/x/posts/legacy/v4/store.go b/x/posts/legacy/v4/store.go
index fbc62eb06f..57fcb6d234 100644
--- a/x/posts/legacy/v4/store.go
+++ b/x/posts/legacy/v4/store.go
@@ -1,9 +1,9 @@
package v4
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/posts/types"
@@ -19,7 +19,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
// removeInvalidPollAnswers iterates over all the polls and deletes the user answers for all the polls which
// final results already been tallied. This is to delete all the answers that have been added after that.
-func removeInvalidPollAnswers(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func removeInvalidPollAnswers(store storetypes.KVStore, cdc codec.BinaryCodec) error {
attachmentStore := prefix.NewStore(store, types.AttachmentPrefix)
attachmentsIterator := attachmentStore.Iterator(nil, nil)
defer attachmentsIterator.Close()
@@ -46,7 +46,7 @@ func removeInvalidPollAnswers(store sdk.KVStore, cdc codec.BinaryCodec) error {
}
// removePollAnswers removes from the store the answers related to the given poll
-func removePollAnswers(store sdk.KVStore, subspaceID uint64, postID uint64, pollID uint32) error {
+func removePollAnswers(store storetypes.KVStore, subspaceID uint64, postID uint64, pollID uint32) error {
answersStore := prefix.NewStore(store, types.PollAnswersPrefix(subspaceID, postID, pollID))
answersIterator := answersStore.Iterator(nil, nil)
diff --git a/x/posts/legacy/v4/store_test.go b/x/posts/legacy/v4/store_test.go
index b7044b7fca..078b10a2c4 100644
--- a/x/posts/legacy/v4/store_test.go
+++ b/x/posts/legacy/v4/store_test.go
@@ -6,9 +6,10 @@ import (
v4 "github.com/desmos-labs/desmos/v6/x/posts/legacy/v4"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -21,9 +22,9 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
testCases := []struct {
name string
diff --git a/x/posts/legacy/v5/store.go b/x/posts/legacy/v5/store.go
index 766ddc14a6..0dcc568c45 100644
--- a/x/posts/legacy/v5/store.go
+++ b/x/posts/legacy/v5/store.go
@@ -1,9 +1,9 @@
package v5
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
v4 "github.com/desmos-labs/desmos/v6/x/posts/legacy/v4"
@@ -22,7 +22,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
}
// migrateAttachments migrates all the attachments to v5
-func migrateAttachments(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateAttachments(store storetypes.KVStore, cdc codec.BinaryCodec) error {
attachmentsStore := prefix.NewStore(store, types.AttachmentPrefix)
attachmentsIterator := attachmentsStore.Iterator(nil, nil)
defer attachmentsIterator.Close()
diff --git a/x/posts/legacy/v5/store_test.go b/x/posts/legacy/v5/store_test.go
index 782f233b66..ef6b1260fc 100644
--- a/x/posts/legacy/v5/store_test.go
+++ b/x/posts/legacy/v5/store_test.go
@@ -7,9 +7,10 @@ import (
v4 "github.com/desmos-labs/desmos/v6/x/posts/legacy/v4"
v5 "github.com/desmos-labs/desmos/v6/x/posts/legacy/v5"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -22,9 +23,9 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
testCases := []struct {
name string
diff --git a/x/posts/legacy/v6/store.go b/x/posts/legacy/v6/store.go
index 9b8f7a2477..d59e133807 100644
--- a/x/posts/legacy/v6/store.go
+++ b/x/posts/legacy/v6/store.go
@@ -1,8 +1,8 @@
package v6
import (
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/posts/types"
diff --git a/x/posts/legacy/v6/store_test.go b/x/posts/legacy/v6/store_test.go
index 341fa753f4..0fefd844b8 100644
--- a/x/posts/legacy/v6/store_test.go
+++ b/x/posts/legacy/v6/store_test.go
@@ -3,6 +3,7 @@ package v6_test
import (
"testing"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
@@ -34,7 +35,7 @@ func (ms mockSubspace) SetParamSet(ctx sdk.Context, ps paramstypes.ParamSet) {
func TestMigrate(t *testing.T) {
cdc, _ := app.MakeCodecs()
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
testCases := []struct {
name string
diff --git a/x/posts/legacy/v7/store.go b/x/posts/legacy/v7/store.go
index e4092a7965..60281255aa 100644
--- a/x/posts/legacy/v7/store.go
+++ b/x/posts/legacy/v7/store.go
@@ -1,9 +1,9 @@
package v7
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/posts/types"
diff --git a/x/posts/legacy/v7/store_test.go b/x/posts/legacy/v7/store_test.go
index 5316a99945..89a1290cca 100644
--- a/x/posts/legacy/v7/store_test.go
+++ b/x/posts/legacy/v7/store_test.go
@@ -4,6 +4,7 @@ import (
"testing"
"time"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -16,7 +17,7 @@ import (
func TestMigrate(t *testing.T) {
cdc, _ := app.MakeCodecs()
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
testCases := []struct {
name string
diff --git a/x/posts/module.go b/x/posts/module.go
index 838ac19bce..ae51e5c40a 100644
--- a/x/posts/module.go
+++ b/x/posts/module.go
@@ -9,11 +9,11 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -52,7 +52,6 @@ var (
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the posts module.
@@ -206,16 +205,6 @@ func (AppModule) ConsensusVersion() uint64 {
return consensusVersion
}
-// BeginBlock returns the begin blocker for the posts module.
-func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {}
-
-// EndBlock returns the end blocker for the posts module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- EndBlocker(ctx, am.keeper)
- return []abci.ValidatorUpdate{}
-}
-
// --------------------------------------------------------------------------------------------------------------------
// AppModuleSimulation defines the module simulation functions used by the posts module.
@@ -232,7 +221,7 @@ func (AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.Weight
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/posts/simulation/operations.go b/x/posts/simulation/operations.go
index 34ea690873..aba9753cf9 100644
--- a/x/posts/simulation/operations.go
+++ b/x/posts/simulation/operations.go
@@ -53,77 +53,77 @@ func WeightedOperations(
k *keeper.Keeper, sk types.SubspacesKeeper, ak authkeeper.AccountKeeper, bk bankkeeper.Keeper,
) sim.WeightedOperations {
var weightMsgCreatePost int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreatePost, &weightMsgCreatePost, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreatePost, &weightMsgCreatePost, nil,
func(_ *rand.Rand) {
weightMsgCreatePost = DefaultWeightMsgCreatePost
},
)
var weightMsgEditPost int
- appParams.GetOrGenerate(cdc, OpWeightMsgEditPost, &weightMsgEditPost, nil,
+ appParams.GetOrGenerate(OpWeightMsgEditPost, &weightMsgEditPost, nil,
func(_ *rand.Rand) {
weightMsgEditPost = DefaultWeightMsgEditPost
},
)
var weightMsgDeletePost int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeletePost, &weightMsgDeletePost, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeletePost, &weightMsgDeletePost, nil,
func(_ *rand.Rand) {
weightMsgDeletePost = DefaultWeightMsgDeletePost
},
)
var weightMsgAddPostAttachment int
- appParams.GetOrGenerate(cdc, OpWeightMsgAddPostAttachment, &weightMsgAddPostAttachment, nil,
+ appParams.GetOrGenerate(OpWeightMsgAddPostAttachment, &weightMsgAddPostAttachment, nil,
func(_ *rand.Rand) {
weightMsgAddPostAttachment = DefaultWeightMsgAddPostAttachment
},
)
var weightMsgRemovePostAttachment int
- appParams.GetOrGenerate(cdc, OpWeightMsgRemovePostAttachment, &weightMsgRemovePostAttachment, nil,
+ appParams.GetOrGenerate(OpWeightMsgRemovePostAttachment, &weightMsgRemovePostAttachment, nil,
func(_ *rand.Rand) {
weightMsgRemovePostAttachment = DefaultWeightMsgRemovePostAttachment
},
)
var weightMsgAnswerPoll int
- appParams.GetOrGenerate(cdc, OpWeightMsgAnswerPoll, &weightMsgAnswerPoll, nil,
+ appParams.GetOrGenerate(OpWeightMsgAnswerPoll, &weightMsgAnswerPoll, nil,
func(_ *rand.Rand) {
weightMsgAnswerPoll = DefaultWeightMsgAnswerPoll
},
)
var weightMsgMovePost int
- appParams.GetOrGenerate(cdc, OpWeightMsgMovePost, &weightMsgMovePost, nil,
+ appParams.GetOrGenerate(OpWeightMsgMovePost, &weightMsgMovePost, nil,
func(_ *rand.Rand) {
weightMsgMovePost = DefaultWeightMsgMovePost
},
)
var weightMsgRequestPostOwnerTransfer int
- appParams.GetOrGenerate(cdc, OpWeightMsgRequestPostOwnerTransfer, &weightMsgRequestPostOwnerTransfer, nil,
+ appParams.GetOrGenerate(OpWeightMsgRequestPostOwnerTransfer, &weightMsgRequestPostOwnerTransfer, nil,
func(r *rand.Rand) {
weightMsgRequestPostOwnerTransfer = DefaultWeightMsgRequestPostOwnerTransfer
},
)
var weightMsgCancelPostOwnerTransferRequest int
- appParams.GetOrGenerate(cdc, OpWeightMsgCancelPostOwnerTransferRequest, &weightMsgCancelPostOwnerTransferRequest, nil,
+ appParams.GetOrGenerate(OpWeightMsgCancelPostOwnerTransferRequest, &weightMsgCancelPostOwnerTransferRequest, nil,
func(r *rand.Rand) {
weightMsgCancelPostOwnerTransferRequest = DefaultWeightMsgCancelPostOwnerTransferRequest
},
)
var weightMsgAcceptPostOwnerTransferRequest int
- appParams.GetOrGenerate(cdc, OpWeightMsgAcceptPostOwnerTransferRequest, &weightMsgAcceptPostOwnerTransferRequest, nil,
+ appParams.GetOrGenerate(OpWeightMsgAcceptPostOwnerTransferRequest, &weightMsgAcceptPostOwnerTransferRequest, nil,
func(r *rand.Rand) {
weightMsgAcceptPostOwnerTransferRequest = DefaultWeightMsgAcceptPostOwnerTransferRequest
},
)
var weightMsgRefusePostOwnerTransferRequest int
- appParams.GetOrGenerate(cdc, OpWeightMsgRefusePostOwnerTransferRequest, &weightMsgRefusePostOwnerTransferRequest, nil,
+ appParams.GetOrGenerate(OpWeightMsgRefusePostOwnerTransferRequest, &weightMsgRefusePostOwnerTransferRequest, nil,
func(r *rand.Rand) {
weightMsgRefusePostOwnerTransferRequest = DefaultWeightMsgRefusePostOwnerTransferRequest
},
diff --git a/x/posts/types/codec.go b/x/posts/types/codec.go
index 6a75a92338..6e9d7a02d5 100644
--- a/x/posts/types/codec.go
+++ b/x/posts/types/codec.go
@@ -6,11 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
- govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec"
)
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
@@ -60,29 +57,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCodec references the global x/posts module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/posts and
- // defined at the application level.
- AminoCodec = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-
- // Register all Amino interfaces and concrete types on the gov Amino codec so that this can later be
- // used to properly serialize MsgSubmitProposal instances
- RegisterLegacyAminoCodec(govcodec.Amino)
-}
diff --git a/x/posts/types/genesis.pb.go b/x/posts/types/genesis.pb.go
index ba5276ac2d..2829a05f9b 100644
--- a/x/posts/types/genesis.pb.go
+++ b/x/posts/types/genesis.pb.go
@@ -325,46 +325,46 @@ var fileDescriptor_c9604ecc42366da8 = []byte{
// 670 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcd, 0x4e, 0xdb, 0x4c,
0x14, 0xcd, 0xf0, 0x13, 0x60, 0x42, 0x40, 0x98, 0x0f, 0xe1, 0x8f, 0x52, 0x3b, 0xa2, 0x9b, 0xb4,
- 0x52,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 0x68, 0x97, 0x55, 0xff, 0x9d,
+ 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xa4, 0x3f, 0x7e, 0x9d, 0x05, 0x00, 0x00,
}
func (this *GenesisState) Equal(that interface{}) bool {
diff --git a/x/posts/types/models.pb.go b/x/posts/types/models.pb.go
index a33471f2a6..7ddc0cc4a2 100644
--- a/x/posts/types/models.pb.go
+++ b/x/posts/types/models.pb.go
@@ -1132,10 +1132,10 @@ func init() {
func init() { proto.RegisterFile("desmos/posts/v3/models.proto", fileDescriptor_e330452b10ff3223) }
var fileDescriptor_e330452b10ff3223 = []byte{
- // 1789 bytes of a gzipped FileDescriptorProto
+ // 1790 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6f, 0x1b, 0xc7,
0x15, 0xd7, 0x92, 0xb4, 0x44, 0x8d, 0x44, 0x8a, 0x1a, 0xc9, 0x36, 0x4d, 0x3b, 0x5c, 0x66, 0xe2,
- 0xb6, 0xaa, 0x5b, 0x93, 0xa8, 0x8d, 0x20, 0x80, 0x02, 0x14, 0x10, 0xed, 0xb5, 0xc3, 0x42, 0x16,
+ 0xb6, 0xaa, 0x5b, 0x93, 0xa8, 0x8d, 0x36, 0x80, 0x02, 0x14, 0x10, 0xed, 0xb5, 0xc3, 0x42, 0x16,
0xd5, 0x21, 0xd9, 0xc0, 0xb9, 0x2c, 0x56, 0xdc, 0x11, 0xb5, 0xc0, 0x72, 0x97, 0xd9, 0x19, 0xca,
0x22, 0x50, 0xa0, 0xed, 0xad, 0x68, 0x51, 0x20, 0xb7, 0xf6, 0xd0, 0x43, 0x90, 0x5e, 0x7a, 0x2a,
0x72, 0xf0, 0x1f, 0x11, 0xe4, 0x14, 0xe4, 0xd4, 0xd3, 0xb6, 0xa0, 0x0f, 0xe9, 0x99, 0x7f, 0x41,
@@ -1158,93 +1158,93 @@ var fileDescriptor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, 0x96, 0xd5, 0x6e, 0x37, 0x0e, 0x9e, 0x2e, 0xdc, 0xa9, 0x04, 0x6e, 0xcc,
+ 0xb3, 0xad, 0xdf, 0x58, 0xf8, 0x79, 0xf3, 0xc0, 0x2a, 0x18, 0xf0, 0x36, 0xb8, 0x39, 0xcf, 0x7b,
+ 0xd2, 0xdc, 0xdf, 0x6f, 0x7e, 0x60, 0xe1, 0x56, 0x21, 0x05, 0x8b, 0x60, 0x7b, 0x9e, 0xf9, 0xac,
+ 0xd3, 0xee, 0xec, 0xed, 0x17, 0xd2, 0xe7, 0x55, 0x3e, 0xb3, 0x0e, 0xda, 0x8d, 0xe6, 0x41, 0xab,
+ 0x90, 0x91, 0x97, 0xac, 0xbf, 0xff, 0xf9, 0xb8, 0x6c, 0x7c, 0x39, 0x2e, 0x1b, 0xff, 0x1d, 0x97,
+ 0x8d, 0x8f, 0x5f, 0x95, 0x97, 0xbe, 0x7c, 0x55, 0x5e, 0xfa, 0xf7, 0xab, 0xf2, 0xd2, 0x87, 0xd5,
+ 0x9e, 0xc7, 0x4e, 0x86, 0x47, 0xd5, 0x6e, 0xd8, 0xaf, 0xc9, 0x84, 0xbd, 0xef, 0x3b, 0x47, 0x54,
+ 0xfd, 0xaf, 0x9d, 0xfe, 0x62, 0x9a, 0xbf, 0x7c, 0xa5, 0xa1, 0x47, 0xcb, 0x62, 0x34, 0x3c, 0xfc,
+ 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0x91, 0x80, 0x1d, 0x26, 0x12, 0x00, 0x00,
}
func (this *Post) Equal(that interface{}) bool {
diff --git a/x/posts/types/msgs.go b/x/posts/types/msgs.go
index 671b1fb7d9..faa0735b56 100644
--- a/x/posts/types/msgs.go
+++ b/x/posts/types/msgs.go
@@ -5,7 +5,6 @@ import (
"strings"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -110,11 +109,6 @@ func (msg *MsgCreatePost) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgCreatePost) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgCreatePost) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Author)
@@ -192,11 +186,6 @@ func (msg *MsgEditPost) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgEditPost) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgEditPost) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Editor)
@@ -253,11 +242,6 @@ func (msg *MsgAddPostAttachment) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgAddPostAttachment) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgAddPostAttachment) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Editor)
@@ -310,11 +294,6 @@ func (msg *MsgRemovePostAttachment) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgRemovePostAttachment) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgRemovePostAttachment) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Editor)
@@ -356,11 +335,6 @@ func (msg *MsgDeletePost) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgDeletePost) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgDeletePost) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -427,11 +401,6 @@ func (msg *MsgAnswerPoll) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgAnswerPoll) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgAnswerPoll) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -441,8 +410,7 @@ func (msg *MsgAnswerPoll) GetSigners() []sdk.AccAddress {
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgMovePost{}
- _ legacytx.LegacyMsg = &MsgMovePost{}
+ _ sdk.Msg = &MsgMovePost{}
)
// NewMsgMovePost returns a new MsgMovePost instance
@@ -494,11 +462,6 @@ func (msg *MsgMovePost) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgMovePost) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgMovePost) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Owner)
@@ -508,8 +471,7 @@ func (msg *MsgMovePost) GetSigners() []sdk.AccAddress {
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgUpdateParams{}
- _ legacytx.LegacyMsg = &MsgUpdateParams{}
+ _ sdk.Msg = &MsgUpdateParams{}
)
func NewMsgUpdateParams(params Params, authority string) *MsgUpdateParams {
@@ -544,8 +506,3 @@ func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress {
authority := sdk.MustAccAddressFromBech32(msg.Authority)
return []sdk.AccAddress{authority}
}
-
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgUpdateParams) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
diff --git a/x/posts/types/msgs.pb.go b/x/posts/types/msgs.pb.go
index 8e23a7ea8b..74e72a00d6 100644
--- a/x/posts/types/msgs.pb.go
+++ b/x/posts/types/msgs.pb.go
@@ -1549,114 +1549,114 @@ func init() {
func init() { proto.RegisterFile("desmos/posts/v3/msgs.proto", fileDescriptor_c5bb13e2c778488f) }
var fileDescriptor_c5bb13e2c778488f = []byte{
- // 1703 bytes of a gzipped FileDescriptorProto
+ // 1704 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xbb, 0x6f, 0x1b, 0x47,
0x1a, 0xd7, 0x92, 0x12, 0x2d, 0x0d, 0x45, 0x51, 0x5a, 0xd3, 0x27, 0x8a, 0xd6, 0x71, 0xa9, 0xb5,
- 0x7c, 0xa0, 0x1f, 0x22, 0x4f, 0xd4, 0x19, 0x07, 0xf0, 0x80, 0x03, 0x48, 0x5b, 0x38, 0xd3, 0x38,
- 0xde, 0x19, 0x2b, 0xb9, 0x71, 0x0a, 0x62, 0xc5, 0x1d, 0xad, 0x17, 0x58, 0xee, 0xd2, 0x3b, 0x23,
- 0x59, 0x2a, 0x12, 0x04, 0xa9, 0x82, 0x54, 0xee, 0x52, 0x06, 0x48, 0x95, 0x22, 0x85, 0x0b, 0x23,
- 0xff, 0x42, 0x9c, 0x54, 0x46, 0xaa, 0x04, 0x01, 0x98, 0x80, 0x2e, 0x5c, 0xa5, 0x51, 0x91, 0x54,
- 0x01, 0x82, 0x79, 0xec, 0x83, 0xcb, 0x25, 0x25, 0xdb, 0x4a, 0x64, 0x20, 0x8d, 0xb4, 0xf3, 0xbd,
- 0x66, 0xe6, 0x37, 0xbf, 0xef, 0x9b, 0x6f, 0x08, 0x72, 0x1a, 0x44, 0x1d, 0x1b, 0x95, 0xbb, 0x36,
- 0xc2, 0xa8, 0xbc, 0xbf, 0x51, 0xee, 0x20, 0x1d, 0x95, 0xba, 0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0x38, 0x8e, 0x90, 0xa0, 0x9a, 0x1b, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/posts/types/msgs_owner_transfer.go b/x/posts/types/msgs_owner_transfer.go
index 09147c029a..94c6ef15dd 100644
--- a/x/posts/types/msgs_owner_transfer.go
+++ b/x/posts/types/msgs_owner_transfer.go
@@ -4,12 +4,10 @@ import (
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
)
var (
- _ sdk.Msg = &MsgRequestPostOwnerTransfer{}
- _ legacytx.LegacyMsg = &MsgRequestPostOwnerTransfer{}
+ _ sdk.Msg = &MsgRequestPostOwnerTransfer{}
)
// MsgRequestPostOwnerTransfer returns a new MsgRequestPostOwnerTransfer instance
@@ -65,16 +63,10 @@ func (msg *MsgRequestPostOwnerTransfer) GetSigners() []sdk.AccAddress {
return []sdk.AccAddress{sender}
}
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgRequestPostOwnerTransfer) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgCancelPostOwnerTransferRequest{}
- _ legacytx.LegacyMsg = &MsgCancelPostOwnerTransferRequest{}
+ _ sdk.Msg = &MsgCancelPostOwnerTransferRequest{}
)
// MsgCancelPostOwnerTransferRequest returns a new MsgCancelPostOwnerTransferRequest instance
@@ -120,16 +112,10 @@ func (msg *MsgCancelPostOwnerTransferRequest) GetSigners() []sdk.AccAddress {
return []sdk.AccAddress{sender}
}
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgCancelPostOwnerTransferRequest) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgAcceptPostOwnerTransferRequest{}
- _ legacytx.LegacyMsg = &MsgAcceptPostOwnerTransferRequest{}
+ _ sdk.Msg = &MsgAcceptPostOwnerTransferRequest{}
)
// MsgAcceptPostOwnerTransferRequest returns a new MsgAcceptPostOwnerTransferRequest instance
@@ -175,16 +161,10 @@ func (msg *MsgAcceptPostOwnerTransferRequest) GetSigners() []sdk.AccAddress {
return []sdk.AccAddress{receiver}
}
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgAcceptPostOwnerTransferRequest) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgRefusePostOwnerTransferRequest{}
- _ legacytx.LegacyMsg = &MsgRefusePostOwnerTransferRequest{}
+ _ sdk.Msg = &MsgRefusePostOwnerTransferRequest{}
)
// MsgRefusePostOwnerTransferRequest returns a new MsgRefusePostOwnerTransferRequest instance
@@ -229,8 +209,3 @@ func (msg *MsgRefusePostOwnerTransferRequest) GetSigners() []sdk.AccAddress {
receiver := sdk.MustAccAddressFromBech32(msg.Receiver)
return []sdk.AccAddress{receiver}
}
-
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgRefusePostOwnerTransferRequest) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
diff --git a/x/posts/types/msgs_owner_transfer_test.go b/x/posts/types/msgs_owner_transfer_test.go
index cd3d097cf2..6147b8b535 100644
--- a/x/posts/types/msgs_owner_transfer_test.go
+++ b/x/posts/types/msgs_owner_transfer_test.go
@@ -99,11 +99,6 @@ func TestMsgRequestPostOwnerTransfer_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRequestPostOwnerTransfer_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRequestPostOwnerTransfer","value":{"post_id":"1","receiver":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","sender":"cosmos1eqpa6mv2jgevukaqtjmx5535vhc3mm3cf458zg","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgRequestPostOwnerTransfer.GetSignBytes()))
-}
-
func TestMsgRequestPostOwnerTransfer_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRequestPostOwnerTransfer.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgRequestPostOwnerTransfer.GetSigners())
@@ -177,11 +172,6 @@ func TestMsgCancelPostOwnerTransferRequest_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCancelPostOwnerTransferRequest_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCancelPostOwnerTransfer","value":{"post_id":"1","sender":"cosmos1eqpa6mv2jgevukaqtjmx5535vhc3mm3cf458zg","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgCancelPostOwnerTransferRequest.GetSignBytes()))
-}
-
func TestMsgCancelPostOwnerTransferRequest_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCancelPostOwnerTransferRequest.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgCancelPostOwnerTransferRequest.GetSigners())
@@ -255,11 +245,6 @@ func TestMsgAcceptPostOwnerTransferRequest_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAcceptPostOwnerTransferRequest_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAcceptPostOwnerTransfer","value":{"post_id":"1","receiver":"cosmos1eqpa6mv2jgevukaqtjmx5535vhc3mm3cf458zg","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgAcceptPostOwnerTransferRequest.GetSignBytes()))
-}
-
func TestMsgAcceptPostOwnerTransferRequest_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAcceptPostOwnerTransferRequest.Receiver)
require.Equal(t, []sdk.AccAddress{addr}, msgAcceptPostOwnerTransferRequest.GetSigners())
@@ -333,11 +318,6 @@ func TestMsgRefusePostOwnerTransferRequest_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRefusePostOwnerTransferRequest_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRefusePostOwnerTransfer","value":{"post_id":"1","receiver":"cosmos1eqpa6mv2jgevukaqtjmx5535vhc3mm3cf458zg","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgRefusePostOwnerTransferRequest.GetSignBytes()))
-}
-
func TestMsgRefusePostOwnerTransferRequest_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRefusePostOwnerTransferRequest.Receiver)
require.Equal(t, []sdk.AccAddress{addr}, msgRefusePostOwnerTransferRequest.GetSigners())
diff --git a/x/posts/types/msgs_test.go b/x/posts/types/msgs_test.go
index b9c58eaf2c..61c706acc7 100644
--- a/x/posts/types/msgs_test.go
+++ b/x/posts/types/msgs_test.go
@@ -218,11 +218,6 @@ func TestMsgCreatePost_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreatePost_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreatePost","value":{"attachments":[{"type":"desmos/Media","value":{"mime_type":"image/png","uri":"ftp://user:password@example.com/image.png"}},{"type":"desmos/Poll","value":{"end_date":"2020-01-01T12:00:00Z","provided_answers":[{"attachments":[{"type":"desmos/Media","value":{"mime_type":"image/png","uri":"ftp://user:password@example.com/cat.png"}}],"text":"Cat"},{"text":"Dog"}],"question":"What animal is best?"}}],"author":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","conversation_id":"1","entities":{"hashtags":[{"end":"3","start":"1","tag":"tag"}],"mentions":[{"end":"6","start":"4","tag":"tag"}],"urls":[{"display_url":"Display URL","end":"9","start":"7","url":"URL"}]},"external_id":"External ID","referenced_posts":[{"post_id":"1","type":2}],"reply_settings":1,"section_id":1,"subspace_id":"1","tags":["general"],"text":"This is a text"}}`
- require.Equal(t, expected, string(msgCreatePost.GetSignBytes()))
-}
-
func TestMsgCreatePost_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreatePost.Author)
require.Equal(t, []sdk.AccAddress{addr}, msgCreatePost.GetSigners())
@@ -345,11 +340,6 @@ func TestMsgEditPost_ValidateBasic(t *testing.T) {
}
}
-func TestMsgEditPost_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgEditPost","value":{"editor":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","entities":{"hashtags":[{"end":"3","start":"1","tag":"tag"}],"mentions":[{"end":"6","start":"4","tag":"tag"}],"urls":[{"display_url":"Display URL","end":"9","start":"7","url":"URL"}]},"post_id":"1","subspace_id":"1","tags":["general"],"text":"Edited text"}}`
- require.Equal(t, expected, string(msgEditPost.GetSignBytes()))
-}
-
func TestMsgEditPost_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgEditPost.Editor)
require.Equal(t, []sdk.AccAddress{addr}, msgEditPost.GetSigners())
@@ -442,11 +432,6 @@ func TestMsgAddPostAttachment_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAddPostAttachment_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAddPostAttachment","value":{"content":{"type":"desmos/Media","value":{"mime_type":"image/png","uri":"ftp://user:password@example.com/image.png"}},"editor":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","post_id":"1","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgAddPostAttachment.GetSignBytes()))
-}
-
func TestMsgAddPostAttachment_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAddPostAttachment.Editor)
require.Equal(t, []sdk.AccAddress{addr}, msgAddPostAttachment.GetSigners())
@@ -534,11 +519,6 @@ func TestMsgRemovePostAttachment_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRemovePostAttachment_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRemovePostAttachment","value":{"attachment_id":1,"editor":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","post_id":"1","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgRemovePostAttachment.GetSignBytes()))
-}
-
func TestMsgRemovePostAttachment_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRemovePostAttachment.Editor)
require.Equal(t, []sdk.AccAddress{addr}, msgRemovePostAttachment.GetSigners())
@@ -612,11 +592,6 @@ func TestMsgDeletePost_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeletePost_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeletePost","value":{"post_id":"1","signer":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgDeletePost.GetSignBytes()))
-}
-
func TestMsgDeletePost_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeletePost.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgDeletePost.GetSigners())
@@ -731,11 +706,6 @@ func TestMsgAnswerPoll_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAnswerPoll_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAnswerPoll","value":{"answers_indexes":[1,2,3],"poll_id":1,"post_id":"1","signer":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgAnswerPoll.GetSignBytes()))
-}
-
func TestMsgAnswerPoll_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAnswerPoll.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgAnswerPoll.GetSigners())
@@ -839,11 +809,6 @@ func TestMsgMovePost_ValidateBasic(t *testing.T) {
}
}
-func TestMsgMovePost_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgMovePost","value":{"owner":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","post_id":"1","subspace_id":"1","target_subspace_id":"2"}}`
- require.Equal(t, expected, string(msgMovePost.GetSignBytes()))
-}
-
func TestMsgMovePost_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgMovePost.Owner)
require.Equal(t, []sdk.AccAddress{addr}, msgMovePost.GetSigners())
@@ -897,11 +862,6 @@ func TestMsgUpdateParams_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUpdateParams_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/x/posts/MsgUpdateParams","value":{"authority":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","params":{"max_text_length":500}}}`
- require.Equal(t, expected, string(msgUpdateParams.GetSignBytes()))
-}
-
func TestMsgUpdateParams_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUpdateParams.Authority)
require.Equal(t, []sdk.AccAddress{addr}, msgUpdateParams.GetSigners())
diff --git a/x/posts/types/query.pb.go b/x/posts/types/query.pb.go
index b48c6f6a01..ae0832d462 100644
--- a/x/posts/types/query.pb.go
+++ b/x/posts/types/query.pb.go
@@ -832,66 +832,66 @@ var fileDescriptor_ac444b4e366473d7 = []byte{
// 984 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0x4f, 0x6f, 0x1b, 0x55,
0x10, 0xc0, 0xfd, 0x1a, 0xc7, 0x6d, 0xc6, 0x54, 0xa5, 0x8f, 0xa0, 0x38, 0x9b, 0x62, 0xa7, 0x0b,
- 0x02, 0x27, 0xd4, 0xbb, 0x34, 0x29, 0x15, 0xca, 0x01, 0x9a, 0x08, 0xda, 0x5a, 0x2a, 0x22, 0xdd,
- 0x82, 0x84, 0xb8, 0x54, 0xcf, 0xde, 0xc7, 0x76, 0x25, 0x7b, 0xdf, 0x76, 0xdf, 0xda, 0xa5, 0xaa,
- 0x72, 0x41, 0x1c, 0xb8, 0x81, 0xc4, 0x15, 0x44, 0x84, 0x84, 0xc4, 0x11, 0x04, 0xc7, 0x7e, 0x80,
- 0x4a, 0x5c, 0x2a, 0xb8, 0xf4, 0x80, 0x10, 0x4a, 0x90, 0xe0, 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, 0x58, 0xc7,
+ 0x8e, 0x1f, 0x84, 0x94, 0x37, 0x0a, 0xf2, 0x1f, 0xa5, 0xf5, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff,
+ 0x8e, 0x79, 0xe1, 0xbc, 0x04, 0x0e, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/posts/wasm/common_test.go b/x/posts/wasm/common_test.go
index eee80ec620..f6f444c5f5 100644
--- a/x/posts/wasm/common_test.go
+++ b/x/posts/wasm/common_test.go
@@ -4,16 +4,17 @@ import (
"encoding/json"
"testing"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/desmos-labs/desmos/v6/app"
"github.com/desmos-labs/desmos/v6/x/posts/keeper"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/stretchr/testify/suite"
"github.com/cosmos/cosmos-sdk/codec"
@@ -105,12 +106,12 @@ func TestTestSuite(t *testing.T) {
func (suite *TestSuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/posts/wasm/querier.go b/x/posts/wasm/querier.go
index 7edb677455..2fb4806890 100644
--- a/x/posts/wasm/querier.go
+++ b/x/posts/wasm/querier.go
@@ -69,7 +69,7 @@ func (querier PostsWasmQuerier) handleSubspacePostsRequest(ctx sdk.Context, requ
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- PostsResponse, err := querier.postsKeeper.SubspacePosts(sdk.WrapSDKContext(ctx), &PostsReq)
+ PostsResponse, err := querier.postsKeeper.SubspacePosts(ctx, &PostsReq)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -86,7 +86,7 @@ func (querier PostsWasmQuerier) handleSectionPostsRequest(ctx sdk.Context, reque
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- SectionPostsResponse, err := querier.postsKeeper.SectionPosts(sdk.WrapSDKContext(ctx), &incomingDtagReq)
+ SectionPostsResponse, err := querier.postsKeeper.SectionPosts(ctx, &incomingDtagReq)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -103,7 +103,7 @@ func (querier PostsWasmQuerier) handlePostRequest(ctx sdk.Context, request json.
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- PostResponse, err := querier.postsKeeper.Post(sdk.WrapSDKContext(ctx), &chainLinkReq)
+ PostResponse, err := querier.postsKeeper.Post(ctx, &chainLinkReq)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -121,7 +121,7 @@ func (querier PostsWasmQuerier) handlePostAttachmentsRequest(ctx sdk.Context, re
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- PostAttachmentsResponse, err := querier.postsKeeper.PostAttachments(sdk.WrapSDKContext(ctx), &PostAttachmentsReq)
+ PostAttachmentsResponse, err := querier.postsKeeper.PostAttachments(ctx, &PostAttachmentsReq)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -139,7 +139,7 @@ func (querier PostsWasmQuerier) handlePollAnswersRequest(ctx sdk.Context, reques
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
applicationLinkByChainIDResponse, err := querier.postsKeeper.PollAnswers(
- sdk.WrapSDKContext(ctx),
+ ctx,
&applicationReq,
)
if err != nil {
diff --git a/x/profiles/abci_benchmarks_test.go b/x/profiles/abci_benchmarks_test.go
index e47015e41e..72dcb4c4d4 100644
--- a/x/profiles/abci_benchmarks_test.go
+++ b/x/profiles/abci_benchmarks_test.go
@@ -9,17 +9,20 @@ import (
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ db "github.com/cosmos/cosmos-db"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -29,14 +32,14 @@ import (
func setupBenchTest() (sdk.Context, authkeeper.AccountKeeper, *keeper.Keeper) {
// Define the store keys
- keys := sdk.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey, paramstypes.StoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey, paramstypes.StoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
storeKey := keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -53,9 +56,10 @@ func setupBenchTest() (sdk.Context, authkeeper.AccountKeeper, *keeper.Keeper) {
ak := authkeeper.NewAccountKeeper(
cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
diff --git a/x/profiles/abci_test.go b/x/profiles/abci_test.go
index bf1984cc1e..ff229d5936 100644
--- a/x/profiles/abci_test.go
+++ b/x/profiles/abci_test.go
@@ -4,6 +4,8 @@ import (
"testing"
"time"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -16,11 +18,12 @@ import (
relationshipskeeper "github.com/desmos-labs/desmos/v6/x/relationships/keeper"
relationshipstypes "github.com/desmos-labs/desmos/v6/x/relationships/types"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ db "github.com/cosmos/cosmos-db"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -31,13 +34,13 @@ import (
func TestBeginBlocker(t *testing.T) {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(
+ keys := storetypes.NewKVStoreKeys(
authtypes.StoreKey, relationshipstypes.StoreKey, types.StoreKey,
)
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -49,7 +52,7 @@ func TestBeginBlocker(t *testing.T) {
cdc, legacyAmino := app.MakeCodecs()
sk := subspaceskeeper.NewKeeper(cdc, keys[subspacestypes.StoreKey], nil, nil, "authority")
rk := relationshipskeeper.NewKeeper(cdc, keys[relationshipstypes.StoreKey], sk)
- ak := authkeeper.NewAccountKeeper(cdc, keys[authtypes.StoreKey], authtypes.ProtoBaseAccount, app.GetMaccPerms(), "cosmos", authtypes.NewModuleAddress("gov").String())
+ ak := authkeeper.NewAccountKeeper(cdc, runtime.NewKVStoreService(keys[authtypes.StoreKey]), authtypes.ProtoBaseAccount, app.GetMaccPerms(), address.NewBech32Codec("cosmos"), "cosmos", authtypes.NewModuleAddress("gov").String())
k := keeper.NewKeeper(cdc, legacyAmino, keys[types.StoreKey], ak, rk, nil, nil, nil, authtypes.NewModuleAddress("gov").String())
testCases := []struct {
diff --git a/x/profiles/client/cli/cli_app_links.go b/x/profiles/client/cli/cli_app_links.go
index 1d9cf651b4..e38df04554 100644
--- a/x/profiles/client/cli/cli_app_links.go
+++ b/x/profiles/client/cli/cli_app_links.go
@@ -11,8 +11,8 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/cosmos/cosmos-sdk/version"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- channelutils "github.com/cosmos/ibc-go/v7/modules/core/04-channel/client/utils"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ channelutils "github.com/cosmos/ibc-go/v8/modules/core/04-channel/client/utils"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
diff --git a/x/profiles/client/cli/cli_chain_links_test.go b/x/profiles/client/cli/cli_chain_links_test.go
index eedc327c91..45129e847b 100644
--- a/x/profiles/client/cli/cli_chain_links_test.go
+++ b/x/profiles/client/cli/cli_chain_links_test.go
@@ -8,6 +8,7 @@ import (
"path"
"time"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
@@ -326,7 +327,7 @@ func (s *IntegrationTestSuite) TestCmdLinkChainAccount() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, dstKeyName),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -391,7 +392,7 @@ func (s *IntegrationTestSuite) TestCmdUnlinkChainAccount() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, dstKeyName),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -456,7 +457,7 @@ func (s *IntegrationTestSuite) TestCmdSetDefaultExternalAddress() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, dstKeyName),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/profiles/client/cli/cli_dtag_requests_test.go b/x/profiles/client/cli/cli_dtag_requests_test.go
index 3ce7ed121c..e2be15916f 100644
--- a/x/profiles/client/cli/cli_dtag_requests_test.go
+++ b/x/profiles/client/cli/cli_dtag_requests_test.go
@@ -6,6 +6,7 @@ package cli_test
import (
"fmt"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
@@ -118,7 +119,7 @@ func (s *IntegrationTestSuite) TestCmdRequestDTagTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -175,7 +176,7 @@ func (s *IntegrationTestSuite) TestCmdCancelDTagTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -235,7 +236,7 @@ func (s *IntegrationTestSuite) TestCmdAcceptDTagTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -292,7 +293,7 @@ func (s *IntegrationTestSuite) TestCmdRefuseDTagTransfer() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/profiles/client/cli/cli_profile_test.go b/x/profiles/client/cli/cli_profile_test.go
index b414e36b88..ba824bc6a3 100644
--- a/x/profiles/client/cli/cli_profile_test.go
+++ b/x/profiles/client/cli/cli_profile_test.go
@@ -7,6 +7,7 @@ import (
"fmt"
"time"
+ "cosmossdk.io/math"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -119,7 +120,7 @@ func (s *IntegrationTestSuite) TestCmdSaveProfile() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -164,7 +165,7 @@ func (s *IntegrationTestSuite) TestCmdDeleteProfile() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/profiles/client/utils/cli.pb.go b/x/profiles/client/utils/cli.pb.go
index 485c842e14..bea069199f 100644
--- a/x/profiles/client/utils/cli.pb.go
+++ b/x/profiles/client/utils/cli.pb.go
@@ -125,9 +125,9 @@ var fileDescriptor_8dd0252be1e0ade7 = []byte{
0x05, 0xf2, 0x8c, 0x4e, 0x41, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91,
0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65,
0x91, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xb1, 0x5d, 0x37, 0x27,
- 0x31, 0xa9, 0x18, 0xca, 0xd6, 0x2f, 0x33, 0xd5, 0xaf, 0x40, 0x44, 0x0b, 0x34, 0xc9, 0x94, 0x96,
- 0x64, 0xe6, 0x14, 0x27, 0xb1, 0x81, 0x03, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xc8, 0xd2,
- 0xaa, 0x71, 0x5c, 0x02, 0x00, 0x00,
+ 0x31, 0xa9, 0x18, 0xca, 0xd6, 0x2f, 0x33, 0xd3, 0xaf, 0x40, 0x44, 0x0b, 0x34, 0xc9, 0x94, 0x96,
+ 0x64, 0xe6, 0x14, 0x27, 0xb1, 0x81, 0x03, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x63,
+ 0xbd, 0x2a, 0x5c, 0x02, 0x00, 0x00,
}
func (this *ChainLinkJSON) Equal(that interface{}) bool {
diff --git a/x/profiles/ibc_module.go b/x/profiles/ibc_module.go
index 5871de9b19..ad04b42979 100644
--- a/x/profiles/ibc_module.go
+++ b/x/profiles/ibc_module.go
@@ -11,12 +11,12 @@ import (
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
+ channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
+ porttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
- ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported"
+ ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"
"github.com/desmos-labs/desmos/v6/x/profiles/keeper"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
diff --git a/x/profiles/keeper/alias_functions.go b/x/profiles/keeper/alias_functions.go
index 1a77c15096..f9695c6402 100644
--- a/x/profiles/keeper/alias_functions.go
+++ b/x/profiles/keeper/alias_functions.go
@@ -3,8 +3,8 @@ package keeper
import (
"bytes"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
@@ -12,7 +12,7 @@ import (
// IterateProfiles iterates through the Profiles set and performs the provided function
func (k Keeper) IterateProfiles(ctx sdk.Context, fn func(profile *types.Profile) (stop bool)) {
- k.ak.IterateAccounts(ctx, func(account authtypes.AccountI) (stop bool) {
+ k.ak.IterateAccounts(ctx, func(account sdk.AccountI) (stop bool) {
profile, ok := account.(*types.Profile)
if ok {
@@ -49,7 +49,7 @@ func (k Keeper) IterateDTagTransferRequests(
ctx sdk.Context, fn func(dTagTransferRequest types.DTagTransferRequest) (stop bool),
) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.DTagTransferRequestPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.DTagTransferRequestPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -67,7 +67,7 @@ func (k Keeper) IterateUserIncomingDTagTransferRequests(
ctx sdk.Context, user string, fn func(dTagTransferRequest types.DTagTransferRequest) (stop bool),
) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.IncomingDTagTransferRequestsPrefix(user))
+ iterator := storetypes.KVStorePrefixIterator(store, types.IncomingDTagTransferRequestsPrefix(user))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -84,7 +84,7 @@ func (k Keeper) IterateUserIncomingDTagTransferRequests(
// IterateApplicationLinks iterates through all the application links and performs the provided function
func (k Keeper) IterateApplicationLinks(ctx sdk.Context, fn func(link types.ApplicationLink) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ApplicationLinkPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ApplicationLinkPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -100,7 +100,7 @@ func (k Keeper) IterateApplicationLinks(ctx sdk.Context, fn func(link types.Appl
// and performs the provided function
func (k Keeper) IterateUserApplicationLinks(ctx sdk.Context, user string, fn func(link types.ApplicationLink) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.UserApplicationLinksPrefix(user))
+ iterator := storetypes.KVStorePrefixIterator(store, types.UserApplicationLinksPrefix(user))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -128,7 +128,7 @@ func (k Keeper) GetApplicationLinks(ctx sdk.Context) []types.ApplicationLink {
func (k Keeper) IterateExpiringApplicationLinks(ctx sdk.Context, fn func(link types.ApplicationLink) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ExpiringAppLinkTimePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ExpiringAppLinkTimePrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -174,7 +174,7 @@ func (k Keeper) IterateExpiringApplicationLinks(ctx sdk.Context, fn func(link ty
// IterateChainLinks iterates through the chain links and perform the provided function
func (k Keeper) IterateChainLinks(ctx sdk.Context, fn func(link types.ChainLink) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ChainLinksPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ChainLinksPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -190,7 +190,7 @@ func (k Keeper) IterateChainLinks(ctx sdk.Context, fn func(link types.ChainLink)
func (k Keeper) IterateUserChainLinks(ctx sdk.Context, user string, fn func(link types.ChainLink) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.UserChainLinksPrefix(user))
+ iterator := storetypes.KVStorePrefixIterator(store, types.UserChainLinksPrefix(user))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -207,7 +207,7 @@ func (k Keeper) IterateUserChainLinks(ctx sdk.Context, user string, fn func(link
func (k Keeper) IterateUserChainLinksByChain(ctx sdk.Context, user string, chainName string, fn func(link types.ChainLink) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.UserChainLinksChainPrefix(user, chainName))
+ iterator := storetypes.KVStorePrefixIterator(store, types.UserChainLinksChainPrefix(user, chainName))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -234,7 +234,7 @@ func (k Keeper) GetChainLinks(ctx sdk.Context) []types.ChainLink {
func (k Keeper) IterateDefaultExternalAddresses(ctx sdk.Context, fn func(entry types.DefaultExternalAddressEntry) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.DefaultExternalAddressPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.DefaultExternalAddressPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
diff --git a/x/profiles/keeper/alias_functions_test.go b/x/profiles/keeper/alias_functions_test.go
index a703e9a3b5..a42dfacbe5 100644
--- a/x/profiles/keeper/alias_functions_test.go
+++ b/x/profiles/keeper/alias_functions_test.go
@@ -8,7 +8,6 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
@@ -31,16 +30,16 @@ func (suite *KeeperTestSuite) TestKeeper_IterateProfile() {
profiles := []*types.Profile{
suite.CheckProfileNoError(
- types.NewProfileFromAccount("first", authtypes.NewBaseAccountWithAddress(addr1), date),
+ types.NewProfileFromAccount("first", suite.ak.NewAccountWithAddress(suite.ctx, addr1), date),
),
suite.CheckProfileNoError(
- types.NewProfileFromAccount("second", authtypes.NewBaseAccountWithAddress(addr2), date),
+ types.NewProfileFromAccount("second", suite.ak.NewAccountWithAddress(suite.ctx, addr2), date),
),
suite.CheckProfileNoError(
- types.NewProfileFromAccount("not", authtypes.NewBaseAccountWithAddress(addr3), date),
+ types.NewProfileFromAccount("not", suite.ak.NewAccountWithAddress(suite.ctx, addr3), date),
),
suite.CheckProfileNoError(
- types.NewProfileFromAccount("third", authtypes.NewBaseAccountWithAddress(addr4), date),
+ types.NewProfileFromAccount("third", suite.ak.NewAccountWithAddress(suite.ctx, addr4), date),
),
}
diff --git a/x/profiles/keeper/common_test.go b/x/profiles/keeper/common_test.go
index 4d8828271a..53e1cc2384 100644
--- a/x/profiles/keeper/common_test.go
+++ b/x/profiles/keeper/common_test.go
@@ -6,8 +6,11 @@ import (
"github.com/golang/mock/gomock"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ "github.com/cosmos/cosmos-sdk/codec/address"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/go-bip39"
"github.com/cosmos/cosmos-sdk/crypto/hd"
@@ -17,16 +20,17 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ ibctesting "github.com/cosmos/ibc-go/v8/testing"
"github.com/desmos-labs/desmos/v6/app"
- "github.com/desmos-labs/desmos/v6/testutil/ibctesting"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
+ desmosibctesting "github.com/desmos-labs/desmos/v6/testutil/ibctesting"
"github.com/desmos-labs/desmos/v6/x/profiles/keeper"
"github.com/desmos-labs/desmos/v6/x/profiles/testutil"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
@@ -78,13 +82,13 @@ func (p TestProfile) Sign(data []byte) []byte {
func (suite *KeeperTestSuite) SetupTest() {
// Define the store keys
- keys := sdk.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -99,9 +103,10 @@ func (suite *KeeperTestSuite) SetupTest() {
// Dependencies initializations
suite.ak = authkeeper.NewAccountKeeper(
suite.cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
@@ -132,7 +137,7 @@ func (suite *KeeperTestSuite) SetupTest() {
}
func (suite *KeeperTestSuite) SetupIBCTest() {
- suite.coordinator = ibctesting.NewCoordinator(suite.T(), 2)
+ suite.coordinator = desmosibctesting.NewCoordinator(suite.T(), 2)
suite.chainA = suite.coordinator.GetChain(ibctesting.GetChainID(1))
suite.chainB = suite.coordinator.GetChain(ibctesting.GetChainID(2))
}
@@ -181,3 +186,13 @@ func (suite *KeeperTestSuite) CheckProfileNoError(profile *types.Profile, err er
func (suite *KeeperTestSuite) TearDownTest() {
suite.ctrl.Finish()
}
+
+func NewIBCProfilesPath(chainA, chainB *ibctesting.TestChain) *ibctesting.Path {
+ path := ibctesting.NewPath(chainA, chainB)
+ path.EndpointA.ChannelConfig.PortID = types.IBCPortID
+ path.EndpointB.ChannelConfig.PortID = types.IBCPortID
+ path.EndpointA.ChannelConfig.Version = "ics-20"
+ path.EndpointB.ChannelConfig.Version = "ics-20"
+
+ return path
+}
diff --git a/x/profiles/keeper/genesis.go b/x/profiles/keeper/genesis.go
index b3b7a60d1a..eacaabcaee 100644
--- a/x/profiles/keeper/genesis.go
+++ b/x/profiles/keeper/genesis.go
@@ -3,7 +3,6 @@ package keeper
import (
abci "github.com/cometbft/cometbft/abci/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
@@ -39,7 +38,7 @@ func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState) []abci.Val
}
// Initialize the Profiles
- k.ak.IterateAccounts(ctx, func(account authtypes.AccountI) (stop bool) {
+ k.ak.IterateAccounts(ctx, func(account sdk.AccountI) (stop bool) {
if profile, ok := (account).(*types.Profile); ok {
err := k.SaveProfile(ctx, profile)
if err != nil {
diff --git a/x/profiles/keeper/genesis_test.go b/x/profiles/keeper/genesis_test.go
index 8b36f3725c..f86bd2c007 100644
--- a/x/profiles/keeper/genesis_test.go
+++ b/x/profiles/keeper/genesis_test.go
@@ -6,14 +6,14 @@ import (
"sort"
"time"
+ "cosmossdk.io/math"
"github.com/golang/mock/gomock"
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
@@ -43,8 +43,8 @@ func (suite *KeeperTestSuite) Test_ExportGenesis() {
name: "non-empty state",
store: func(ctx sdk.Context) {
- profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")
- otherProfile := profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")
+ profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))
+ otherProfile := profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))
err := suite.k.SaveProfile(suite.ctx, profile)
suite.Require().NoError(err)
@@ -61,16 +61,16 @@ func (suite *KeeperTestSuite) Test_ExportGenesis() {
}
params := types.NewParams(
- types.NewNicknameParams(sdk.NewInt(100), sdk.NewInt(200)),
- types.NewDTagParams("regex", sdk.NewInt(100), sdk.NewInt(200)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(100), math.NewInt(200)),
+ types.NewDTagParams("regex", math.NewInt(100), math.NewInt(200)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
)
@@ -84,7 +84,7 @@ func (suite *KeeperTestSuite) Test_ExportGenesis() {
),
}
for _, link := range chainLinks {
- suite.ak.SetAccount(ctx, profilestesting.ProfileFromAddr(link.User))
+ suite.ak.SetAccount(ctx, profilestesting.ProfileFromAddr(link.User, profilestesting.WithNextAccountNumber(ctx, suite.ak)))
suite.Require().NoError(suite.k.SaveChainLink(ctx, link))
}
@@ -114,7 +114,7 @@ func (suite *KeeperTestSuite) Test_ExportGenesis() {
),
}
for _, link := range applicationLinks {
- suite.ak.SetAccount(ctx, profilestesting.ProfileFromAddr(link.User))
+ suite.ak.SetAccount(ctx, profilestesting.ProfileFromAddr(link.User, profilestesting.WithNextAccountNumber(ctx, suite.ak)))
suite.Require().NoError(suite.k.SaveApplicationLink(ctx, link))
}
},
@@ -124,16 +124,16 @@ func (suite *KeeperTestSuite) Test_ExportGenesis() {
types.NewDTagTransferRequest("dtag-1", "sender-1", "cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
},
types.NewParams(
- types.NewNicknameParams(sdk.NewInt(100), sdk.NewInt(200)),
- types.NewDTagParams("regex", sdk.NewInt(100), sdk.NewInt(200)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(100), math.NewInt(200)),
+ types.NewDTagParams("regex", math.NewInt(100), math.NewInt(200)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
),
@@ -299,10 +299,10 @@ func (suite *KeeperTestSuite) Test_InitGenesis() {
suite.scopedKeeper.EXPECT().GetCapability(gomock.Any(), host.PortPath("profiles-port-id")).Return(capabilitytypes.NewCapability(1), true)
},
store: func(ctx sdk.Context) {
- profile1 := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")
+ profile1 := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile1)
- profile2 := profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")
+ profile2 := profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile2)
err := suite.k.SaveProfile(suite.ctx, profile1)
@@ -313,7 +313,7 @@ func (suite *KeeperTestSuite) Test_InitGenesis() {
addr3, err := sdk.AccAddressFromBech32("cosmos1s3nh6tafl4amaxkke9kdejhp09lk93g9ev39r4")
suite.Require().NoError(err)
- suite.ak.SetAccount(ctx, authtypes.NewBaseAccountWithAddress(addr3))
+ suite.ak.NewAccountWithAddress(ctx, addr3)
},
genesis: types.NewGenesisState(
[]types.DTagTransferRequest{
@@ -321,16 +321,16 @@ func (suite *KeeperTestSuite) Test_InitGenesis() {
types.NewDTagTransferRequest("dtag-2", "sender-2", "cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"),
},
types.NewParams(
- types.NewNicknameParams(sdk.NewInt(100), sdk.NewInt(200)),
- types.NewDTagParams("regex", sdk.NewInt(100), sdk.NewInt(200)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(100), math.NewInt(200)),
+ types.NewDTagParams("regex", math.NewInt(100), math.NewInt(200)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
),
@@ -391,16 +391,16 @@ func (suite *KeeperTestSuite) Test_InitGenesis() {
suite.Require().Equal(requests, suite.k.GetDTagTransferRequests(ctx))
params := types.NewParams(
- types.NewNicknameParams(sdk.NewInt(100), sdk.NewInt(200)),
- types.NewDTagParams("regex", sdk.NewInt(100), sdk.NewInt(200)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(100), math.NewInt(200)),
+ types.NewDTagParams("regex", math.NewInt(100), math.NewInt(200)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
)
diff --git a/x/profiles/keeper/grpc_query.go b/x/profiles/keeper/grpc_query.go
index 28c2f8c717..dc90ff2e36 100644
--- a/x/profiles/keeper/grpc_query.go
+++ b/x/profiles/keeper/grpc_query.go
@@ -4,8 +4,8 @@ import (
"context"
"strings"
+ "cosmossdk.io/store/prefix"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- "github.com/cosmos/cosmos-sdk/store/prefix"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
diff --git a/x/profiles/keeper/grpc_query_test.go b/x/profiles/keeper/grpc_query_test.go
index b7331cc33f..8373de8a3b 100644
--- a/x/profiles/keeper/grpc_query_test.go
+++ b/x/profiles/keeper/grpc_query_test.go
@@ -70,7 +70,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Profile() {
tc.store(ctx)
}
- res, err := suite.k.Profile(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Profile(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
@@ -103,7 +103,7 @@ func (suite *KeeperTestSuite) TestQueryServer_IncomingDTagTransferRequests() {
"cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773",
"cosmos19xz3mrvzvp9ymgmudhpukucg6668l5haakh04x",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
request = types.NewDTagTransferRequest(
@@ -111,7 +111,7 @@ func (suite *KeeperTestSuite) TestQueryServer_IncomingDTagTransferRequests() {
"cosmos19xz3mrvzvp9ymgmudhpukucg6668l5haakh04x",
"cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
},
req: types.NewQueryIncomingDTagTransferRequestsRequest(
@@ -164,10 +164,10 @@ func (suite *KeeperTestSuite) TestQueryServer_IncomingDTagTransferRequests() {
name: "valid request without user",
store: func(ctx sdk.Context) {
receiver1 := "cosmos19xz3mrvzvp9ymgmudhpukucg6668l5haakh04x"
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(receiver1)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(receiver1, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
receiver2 := "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773"
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(receiver2)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(receiver2, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
request := types.NewDTagTransferRequest(
"dtag",
@@ -208,7 +208,7 @@ func (suite *KeeperTestSuite) TestQueryServer_IncomingDTagTransferRequests() {
tc.store(ctx)
}
- res, err := suite.k.IncomingDTagTransferRequests(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.IncomingDTagTransferRequests(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
@@ -618,7 +618,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ChainLinks() {
tc.store(ctx)
}
- res, err := suite.k.ChainLinks(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.ChainLinks(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -726,7 +726,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ChainLinkOwners() {
tc.store(ctx)
}
- res, err := suite.k.ChainLinkOwners(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.ChainLinkOwners(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -760,8 +760,8 @@ func (suite *KeeperTestSuite) TestQueryServer_DefaultExternalAddresses() {
{
name: "query without any data returns everything",
store: func(ctx sdk.Context) {
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveChainLink(ctx, firstChainLink))
suite.Require().NoError(suite.k.SaveChainLink(ctx, secondChainLink))
@@ -776,8 +776,8 @@ func (suite *KeeperTestSuite) TestQueryServer_DefaultExternalAddresses() {
{
name: "query with owner returns correct data",
store: func(ctx sdk.Context) {
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveChainLink(ctx, firstChainLink))
suite.Require().NoError(suite.k.SaveChainLink(ctx, secondChainLink))
@@ -792,8 +792,8 @@ func (suite *KeeperTestSuite) TestQueryServer_DefaultExternalAddresses() {
{
name: "query with owner and chain name returns correct data",
store: func(ctx sdk.Context) {
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveChainLink(ctx, firstChainLink))
suite.Require().NoError(suite.k.SaveChainLink(ctx, secondChainLink))
@@ -815,7 +815,7 @@ func (suite *KeeperTestSuite) TestQueryServer_DefaultExternalAddresses() {
tc.store(ctx)
}
- res, err := suite.k.DefaultExternalAddresses(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.DefaultExternalAddresses(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -917,10 +917,10 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinks() {
{
name: "valid request with user",
store: func(ctx sdk.Context) {
- profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")
+ profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
- otherProfile := profilestesting.ProfileFromAddr("cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773")
+ otherProfile := profilestesting.ProfileFromAddr("cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, otherProfile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1420,7 +1420,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinks() {
tc.store(ctx)
}
- res, err := suite.k.ApplicationLinks(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.ApplicationLinks(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1501,7 +1501,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkByClientID() {
tc.store(ctx)
}
- res, err := suite.k.ApplicationLinkByClientID(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.ApplicationLinkByClientID(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1523,7 +1523,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
{
name: "query without any data returns everything",
store: func(ctx sdk.Context) {
- profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")
+ profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1547,7 +1547,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
)),
)
- profile = profilestesting.ProfileFromAddr("cosmos1ngzeux3j0vfkps0779y0c8pnrmszlg0hekp5um")
+ profile = profilestesting.ProfileFromAddr("cosmos1ngzeux3j0vfkps0779y0c8pnrmszlg0hekp5um", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1589,7 +1589,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
{
name: "query with application returns the correct data",
store: func(ctx sdk.Context) {
- profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")
+ profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1613,7 +1613,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
)),
)
- profile = profilestesting.ProfileFromAddr("cosmos1ngzeux3j0vfkps0779y0c8pnrmszlg0hekp5um")
+ profile = profilestesting.ProfileFromAddr("cosmos1ngzeux3j0vfkps0779y0c8pnrmszlg0hekp5um", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1637,7 +1637,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
)),
)
- profile = profilestesting.ProfileFromAddr("cosmos1pxsak5c7ke5tz3d8alawuzu3cayr9s65ce7njr")
+ profile = profilestesting.ProfileFromAddr("cosmos1pxsak5c7ke5tz3d8alawuzu3cayr9s65ce7njr", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1679,7 +1679,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
{
name: "query with application and username returns the correct data",
store: func(ctx sdk.Context) {
- profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")
+ profile := profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1703,7 +1703,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
)),
)
- profile = profilestesting.ProfileFromAddr("cosmos1ngzeux3j0vfkps0779y0c8pnrmszlg0hekp5um")
+ profile = profilestesting.ProfileFromAddr("cosmos1ngzeux3j0vfkps0779y0c8pnrmszlg0hekp5um", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1727,7 +1727,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
)),
)
- profile = profilestesting.ProfileFromAddr("cosmos1mrmyggajlv0k3mlrhergjjnt75srn5y5u5a83x")
+ profile = profilestesting.ProfileFromAddr("cosmos1mrmyggajlv0k3mlrhergjjnt75srn5y5u5a83x", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.ak.SetAccount(ctx, profile)
suite.Require().NoError(suite.k.SaveApplicationLink(
@@ -1776,7 +1776,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ApplicationLinkOwners() {
tc.store(ctx)
}
- res, err := suite.k.ApplicationLinkOwners(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.ApplicationLinkOwners(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1792,7 +1792,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Params() {
suite.k.SetParams(ctx, types.DefaultParams())
- res, err := suite.k.Params(sdk.WrapSDKContext(ctx), &types.QueryParamsRequest{})
+ res, err := suite.k.Params(ctx, &types.QueryParamsRequest{})
suite.Require().NoError(err)
suite.Require().NotNil(res)
diff --git a/x/profiles/keeper/invariants_test.go b/x/profiles/keeper/invariants_test.go
index d9a71f9471..d3e9e8cea8 100644
--- a/x/profiles/keeper/invariants_test.go
+++ b/x/profiles/keeper/invariants_test.go
@@ -32,20 +32,20 @@ func (suite *KeeperTestSuite) TestKeeper_RegisterInvariants() {
keeper.RegisterInvariants(mock, suite.k)
suite.Require().Equal(
- runtime.FuncForPC(reflect.ValueOf(keeper.ValidProfilesInvariant(suite.k)).Pointer()).Name(),
- runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-profiles"]).Pointer()).Name(),
+ runtime.FuncForPC(reflect.ValueOf(keeper.ValidProfilesInvariant(suite.k)).Pointer()),
+ runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-profiles"]).Pointer()),
)
suite.Require().Equal(
- runtime.FuncForPC(reflect.ValueOf(keeper.ValidDTagTransferRequests(suite.k)).Pointer()).Name(),
- runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-dtag-transfer-requests"]).Pointer()).Name(),
+ runtime.FuncForPC(reflect.ValueOf(keeper.ValidDTagTransferRequests(suite.k)).Pointer()),
+ runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-dtag-transfer-requests"]).Pointer()),
)
suite.Require().Equal(
- runtime.FuncForPC(reflect.ValueOf(keeper.ValidChainLinks(suite.k)).Pointer()).Name(),
- runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-chain-links"]).Pointer()).Name(),
+ runtime.FuncForPC(reflect.ValueOf(keeper.ValidChainLinks(suite.k)).Pointer()),
+ runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-chain-links"]).Pointer()),
)
suite.Require().Equal(
- runtime.FuncForPC(reflect.ValueOf(keeper.ValidApplicationLinks(suite.k)).Pointer()).Name(),
- runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-application-links"]).Pointer()).Name(),
+ runtime.FuncForPC(reflect.ValueOf(keeper.ValidApplicationLinks(suite.k)).Pointer()),
+ runtime.FuncForPC(reflect.ValueOf(mock.RegisteredMap[types.ModuleName+"valid-application-links"]).Pointer()),
)
}
diff --git a/x/profiles/keeper/keeper.go b/x/profiles/keeper/keeper.go
index b099bbaa95..5828896f90 100644
--- a/x/profiles/keeper/keeper.go
+++ b/x/profiles/keeper/keeper.go
@@ -11,9 +11,9 @@ import (
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
diff --git a/x/profiles/keeper/keeper_dtag_transfers.go b/x/profiles/keeper/keeper_dtag_transfers.go
index 64e5b1f051..e8fb2386bb 100644
--- a/x/profiles/keeper/keeper_dtag_transfers.go
+++ b/x/profiles/keeper/keeper_dtag_transfers.go
@@ -2,6 +2,7 @@ package keeper
import (
"cosmossdk.io/errors"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
@@ -60,7 +61,7 @@ func (k Keeper) GetDTagTransferRequest(ctx sdk.Context, sender, receiver string)
// GetDTagTransferRequests returns all the requests inside the given context
func (k Keeper) GetDTagTransferRequests(ctx sdk.Context) (requests []types.DTagTransferRequest) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.DTagTransferRequestPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.DTagTransferRequestPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
diff --git a/x/profiles/keeper/keeper_dtag_transfers_test.go b/x/profiles/keeper/keeper_dtag_transfers_test.go
index cdaf7dde48..f8f3278907 100644
--- a/x/profiles/keeper/keeper_dtag_transfers_test.go
+++ b/x/profiles/keeper/keeper_dtag_transfers_test.go
@@ -1,11 +1,7 @@
package keeper_test
import (
- "bytes"
- "fmt"
- "strings"
-
- "github.com/cometbft/cometbft/libs/log"
+ "github.com/cosmos/cosmos-sdk/testutil/mock"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/golang/mock/gomock"
@@ -66,10 +62,10 @@ func (suite *KeeperTestSuite) TestKeeper_SaveDTagTransferRequest() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn")))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
},
transferReq: types.NewDTagTransferRequest(
"dtag",
@@ -101,10 +97,10 @@ func (suite *KeeperTestSuite) TestKeeper_SaveDTagTransferRequest() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn")))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
},
transferReq: types.NewDTagTransferRequest(
"dtag",
@@ -182,22 +178,19 @@ func (suite *KeeperTestSuite) TestKeeper_SaveDTagTransferRequest_Logger() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Receiver)))
- suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Sender)))
+ suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(suite.ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(suite.ctx, suite.ak))))
// Setup Logger
- var buf bytes.Buffer
+ logger := mock.NewMockLogger(suite.ctrl)
ctx, _ := suite.ctx.CacheContext()
- ctx = ctx.WithLogger(log.NewTMLogger(&buf))
+ ctx = ctx.WithLogger(logger)
+
+ logger.EXPECT().With("module", "x/"+types.ModuleName).Return(logger)
+ logger.EXPECT().Info("DTag transfer request", "sender", request.Sender, "receiver", request.Receiver)
// Execute
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
-
- // Check logs
- msg := strings.TrimSpace(buf.String())
- suite.Require().Contains(msg, "DTag transfer request")
- suite.Require().Contains(msg, fmt.Sprintf("sender=%s", request.Sender))
- suite.Require().Contains(msg, fmt.Sprintf("receiver=%s", request.Receiver))
}
func (suite *KeeperTestSuite) TestKeeper_SaveDTagTransferRequest_AfterDTagTransferRequestCreated() {
@@ -207,8 +200,8 @@ func (suite *KeeperTestSuite) TestKeeper_SaveDTagTransferRequest_AfterDTagTransf
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Receiver)))
- suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Sender)))
+ suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(suite.ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(suite.ctx, suite.ak))))
// Setup hooks
suite.hooks.EXPECT().AfterDTagTransferRequestCreated(gomock.Any(), request)
@@ -381,8 +374,8 @@ func (suite *KeeperTestSuite) TestKeeper_DeleteDTagTransferRequest_AfterDTagTran
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Receiver)))
- suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Sender)))
+ suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(suite.ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(suite.ctx, profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(suite.ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(suite.ctx, request))
// Setup hooks
@@ -403,10 +396,10 @@ func (suite *KeeperTestSuite) TestKeeper_DeleteAllUserIncomingDTagTransferReques
{
name: "DTag requests are deleted properly",
store: func(ctx sdk.Context) {
- profile1 := profilestesting.ProfileFromAddr("cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773")
+ profile1 := profilestesting.ProfileFromAddr("cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.Require().NoError(suite.k.SaveProfile(ctx, profile1))
- profile2 := profilestesting.ProfileFromAddr("cosmos19xz3mrvzvp9ymgmudhpukucg6668l5haakh04x")
+ profile2 := profilestesting.ProfileFromAddr("cosmos19xz3mrvzvp9ymgmudhpukucg6668l5haakh04x", profilestesting.WithNextAccountNumber(ctx, suite.ak))
suite.Require().NoError(suite.k.SaveProfile(ctx, profile2))
request := types.NewDTagTransferRequest(
diff --git a/x/profiles/keeper/keeper_ibc.go b/x/profiles/keeper/keeper_ibc.go
index 628231dde1..f518e20844 100644
--- a/x/profiles/keeper/keeper_ibc.go
+++ b/x/profiles/keeper/keeper_ibc.go
@@ -2,8 +2,8 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
diff --git a/x/profiles/keeper/keeper_params_test.go b/x/profiles/keeper/keeper_params_test.go
index cbeccf8f23..9924e10b2e 100644
--- a/x/profiles/keeper/keeper_params_test.go
+++ b/x/profiles/keeper/keeper_params_test.go
@@ -1,6 +1,7 @@
package keeper_test
import (
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
@@ -8,16 +9,16 @@ import (
func (suite *KeeperTestSuite) TestKeeper_SetParams() {
params := types.NewParams(
- types.NewNicknameParams(sdk.NewInt(3), sdk.NewInt(1000)),
- types.NewDTagParams("^[A-Za-z0-9_]+$", sdk.NewInt(3), sdk.NewInt(1000)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(3), math.NewInt(1000)),
+ types.NewDTagParams("^[A-Za-z0-9_]+$", math.NewInt(3), math.NewInt(1000)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
)
@@ -38,16 +39,16 @@ func (suite *KeeperTestSuite) TestKeeper_GetParams() {
name: "valid params do not error",
store: func(ctx sdk.Context) {
params := types.NewParams(
- types.NewNicknameParams(sdk.NewInt(3), sdk.NewInt(1000)),
- types.NewDTagParams("^[A-Za-z0-9_]+$", sdk.NewInt(3), sdk.NewInt(1000)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(3), math.NewInt(1000)),
+ types.NewDTagParams("^[A-Za-z0-9_]+$", math.NewInt(3), math.NewInt(1000)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
)
@@ -55,16 +56,16 @@ func (suite *KeeperTestSuite) TestKeeper_GetParams() {
},
shouldErr: false,
expParams: types.NewParams(
- types.NewNicknameParams(sdk.NewInt(3), sdk.NewInt(1000)),
- types.NewDTagParams("^[A-Za-z0-9_]+$", sdk.NewInt(3), sdk.NewInt(1000)),
- types.NewBioParams(sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(3), math.NewInt(1000)),
+ types.NewDTagParams("^[A-Za-z0-9_]+$", math.NewInt(3), math.NewInt(1000)),
+ types.NewBioParams(math.NewInt(1000)),
types.NewOracleParams(
32,
10,
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
types.NewAppLinksParams(types.DefaultAppLinksValidityDuration),
),
diff --git a/x/profiles/keeper/keeper_test.go b/x/profiles/keeper/keeper_test.go
index 4d1f1c361e..a8260cd512 100644
--- a/x/profiles/keeper/keeper_test.go
+++ b/x/profiles/keeper/keeper_test.go
@@ -1,17 +1,15 @@
package keeper_test
import (
- "bytes"
"encoding/hex"
- "fmt"
"strings"
"time"
- "github.com/cometbft/cometbft/libs/log"
"github.com/golang/mock/gomock"
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
+ "github.com/cosmos/cosmos-sdk/testutil/mock"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
@@ -124,19 +122,15 @@ func (suite *KeeperTestSuite) TestKeeper_SaveProfile_Logger() {
)
// Setup Logger
- var buf bytes.Buffer
-
+ logger := mock.NewMockLogger(suite.ctrl)
ctx, _ := suite.ctx.CacheContext()
- ctx = ctx.WithLogger(log.NewTMLogger(&buf))
+ ctx = ctx.WithLogger(logger)
+
+ logger.EXPECT().With("module", "x/"+types.ModuleName).Return(logger)
+ logger.EXPECT().Info("saved profile", "DTag", profile.DTag, "from", profile.GetAddress())
// Execute
suite.Require().NoError(suite.k.SaveProfile(ctx, profile))
-
- // Check logs
- msg := strings.TrimSpace(buf.String())
- suite.Require().Contains(msg, "saved profile")
- suite.Require().Contains(msg, fmt.Sprintf("DTag=%s", profile.DTag))
- suite.Require().Contains(msg, fmt.Sprintf("from=%s", profile.GetAccount().GetAddress().String()))
}
func (suite *KeeperTestSuite) TestKeeper_GetProfile() {
diff --git a/x/profiles/keeper/msg_server_app_link_test.go b/x/profiles/keeper/msg_server_app_link_test.go
index 8500841ad3..84275072e3 100644
--- a/x/profiles/keeper/msg_server_app_link_test.go
+++ b/x/profiles/keeper/msg_server_app_link_test.go
@@ -1,17 +1,15 @@
package keeper_test
import (
- "bytes"
"fmt"
- "strings"
"time"
- "github.com/cometbft/cometbft/libs/log"
+ "github.com/cosmos/cosmos-sdk/testutil/mock"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
"github.com/golang/mock/gomock"
"github.com/desmos-labs/desmos/v6/pkg/obi"
@@ -446,9 +444,15 @@ func (suite *KeeperTestSuite) TestMsgServer_LinkApplication_Logger() {
Return(uint64(0), nil)
// Setup Logger
- var buf bytes.Buffer
+ logger := mock.NewMockLogger(suite.ctrl)
ctx, _ := suite.ctx.CacheContext()
- ctx = ctx.WithLogger(log.NewTMLogger(&buf))
+ ctx = ctx.WithLogger(logger)
+
+ logger.EXPECT().With("module", "x/"+types.ModuleName).Return(logger)
+ logger.EXPECT().Info("Application link created",
+ "application", "twitter",
+ "username", "twitteruser",
+ "account", "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773")
// Execute
server := keeper.NewMsgServerImpl(suite.k)
@@ -462,13 +466,6 @@ func (suite *KeeperTestSuite) TestMsgServer_LinkApplication_Logger() {
0,
))
suite.Require().NoError(err)
-
- // Check logs
- msg := strings.TrimSpace(buf.String())
- suite.Require().Contains(msg, "Application link created")
- suite.Require().Contains(msg, fmt.Sprintf("application=%s", "twitter"))
- suite.Require().Contains(msg, fmt.Sprintf("username=%s", "twitteruser"))
- suite.Require().Contains(msg, fmt.Sprintf("account=%s", "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773"))
}
func (suite *KeeperTestSuite) TestMsgServer_UnlinkApplication() {
@@ -574,9 +571,15 @@ func (suite *KeeperTestSuite) TestMsgServer_UnlinkApplication_Logger() {
)))
// Setup Logger
- var buf bytes.Buffer
+ logger := mock.NewMockLogger(suite.ctrl)
ctx, _ := suite.ctx.CacheContext()
- ctx = ctx.WithLogger(log.NewTMLogger(&buf))
+ ctx = ctx.WithLogger(logger)
+
+ logger.EXPECT().With("module", "x/"+types.ModuleName).Return(logger)
+ logger.EXPECT().Info("Application link removed",
+ "application", "twitter",
+ "username", "twitteruser",
+ "account", "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773")
// Execute
server := keeper.NewMsgServerImpl(suite.k)
@@ -586,11 +589,4 @@ func (suite *KeeperTestSuite) TestMsgServer_UnlinkApplication_Logger() {
"cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773",
))
suite.Require().NoError(err)
-
- // Check logs
- msg := strings.TrimSpace(buf.String())
- suite.Require().Contains(msg, "Application link removed")
- suite.Require().Contains(msg, fmt.Sprintf("application=%s", "twitter"))
- suite.Require().Contains(msg, fmt.Sprintf("username=%s", "twitteruser"))
- suite.Require().Contains(msg, fmt.Sprintf("account=%s", "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773"))
}
diff --git a/x/profiles/keeper/msg_server_chain_link_test.go b/x/profiles/keeper/msg_server_chain_link_test.go
index 3de7b23cfa..55394fa492 100644
--- a/x/profiles/keeper/msg_server_chain_link_test.go
+++ b/x/profiles/keeper/msg_server_chain_link_test.go
@@ -8,8 +8,6 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
-
"github.com/desmos-labs/desmos/v6/x/profiles/keeper"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -75,13 +73,13 @@ func (suite *KeeperTestSuite) TestMsgServer_LinkChainAccount() {
srcAccAddr, err := sdk.AccAddressFromBech32(srcAddr)
suite.Require().NoError(err)
- srcBaseAcc := authtypes.NewBaseAccountWithAddress(srcAccAddr)
+ srcBaseAcc := suite.ak.NewAccountWithAddress(ctx, srcAccAddr)
suite.Require().NoError(srcBaseAcc.SetPubKey(srcPubKey))
suite.ak.SetAccount(suite.ctx, srcBaseAcc)
destAccAddr, err := sdk.AccAddressFromBech32(destAddr)
suite.Require().NoError(err)
- destBaseAcc := authtypes.NewBaseAccountWithAddress(destAccAddr)
+ destBaseAcc := suite.ak.NewAccountWithAddress(ctx, destAccAddr)
suite.Require().NoError(destBaseAcc.SetPubKey(destPubKey))
suite.ak.SetAccount(suite.ctx, destBaseAcc)
@@ -136,7 +134,7 @@ func (suite *KeeperTestSuite) TestMsgServer_LinkChainAccount() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err = server.LinkChainAccount(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err = server.LinkChainAccount(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -226,7 +224,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UnlinkChainAccount() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.UnlinkChainAccount(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.UnlinkChainAccount(ctx, tc.msg)
suite.Require().Equal(tc.expEvents, ctx.EventManager().Events())
if tc.shouldErr {
@@ -318,7 +316,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SetDefaultExternalAddress() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.SetDefaultExternalAddress(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.SetDefaultExternalAddress(ctx, tc.msg)
suite.Require().Equal(tc.expEvents, ctx.EventManager().Events())
if tc.shouldErr {
diff --git a/x/profiles/keeper/msg_server_dtag_transfers_test.go b/x/profiles/keeper/msg_server_dtag_transfers_test.go
index e280245e3b..55a0510ad4 100644
--- a/x/profiles/keeper/msg_server_dtag_transfers_test.go
+++ b/x/profiles/keeper/msg_server_dtag_transfers_test.go
@@ -27,9 +27,9 @@ func (suite *KeeperTestSuite) TestMsgServer_RequestDTagTransfer() {
},
store: func(ctx sdk.Context) {
suite.Require().NoError(suite.k.SaveProfile(ctx,
- profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")))
+ profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveProfile(ctx,
- profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47")))
+ profilestesting.ProfileFromAddr("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
},
msg: types.NewMsgRequestDTagTransfer(
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
@@ -59,7 +59,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RequestDTagTransfer() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
},
msg: types.NewMsgRequestDTagTransfer(
@@ -74,7 +74,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RequestDTagTransfer() {
suite.rk.EXPECT().HasUserBlocked(ctx, "cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", "cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47", uint64(0)).Return(false)
},
store: func(ctx sdk.Context) {
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns")))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns", profilestesting.WithNextAccountNumber(ctx, suite.ak))))
},
msg: types.NewMsgRequestDTagTransfer(
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
@@ -104,7 +104,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RequestDTagTransfer() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.RequestDTagTransfer(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.RequestDTagTransfer(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -140,7 +140,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CancelDTagTransfer() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
},
msg: types.NewMsgCancelDTagTransferRequest(
@@ -172,7 +172,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CancelDTagTransfer() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.CancelDTagTransferRequest(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.CancelDTagTransferRequest(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -235,11 +235,11 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Sender)))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
- profile := profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn")
+ profile := profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn", profilestesting.WithNextAccountNumber(ctx, suite.ak))
profile.DTag = "NewDTag"
suite.Require().NoError(suite.k.SaveProfile(ctx, profile))
},
@@ -258,11 +258,11 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Sender)))
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
- profile := profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn")
+ profile := profilestesting.ProfileFromAddr("cosmos1xcy3els9ua75kdm783c3qu0rfa2eplesldfevn", profilestesting.WithNextAccountNumber(ctx, suite.ak))
profile.DTag = "dtag"
suite.Require().NoError(suite.k.SaveProfile(ctx, profile))
},
@@ -325,11 +325,11 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- receiverProfile := profilestesting.ProfileFromAddr(request.Receiver)
+ receiverProfile := profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))
receiverProfile.DTag = "DTag"
- senderProfile := profilestesting.ProfileFromAddr(request.Sender)
+ senderProfile := profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(ctx, suite.ak))
senderProfile.DTag = "senderDTag"
- otherProfile := profilestesting.ProfileFromAddr("cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773")
+ otherProfile := profilestesting.ProfileFromAddr("cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773", profilestesting.WithNextAccountNumber(ctx, suite.ak))
otherProfile.DTag = "NewDTag"
suite.Require().NoError(suite.k.SaveProfile(ctx, senderProfile))
suite.Require().NoError(suite.k.SaveProfile(ctx, receiverProfile))
@@ -354,7 +354,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- receiverProfile := profilestesting.ProfileFromAddr(request.Receiver)
+ receiverProfile := profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))
receiverProfile.DTag = "DTag"
suite.Require().NoError(suite.k.SaveProfile(ctx, receiverProfile))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
@@ -383,9 +383,9 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- receiverProfile := profilestesting.ProfileFromAddr(request.Receiver)
+ receiverProfile := profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))
receiverProfile.DTag = "DTag"
- suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Sender)))
+ suite.Require().NoError(suite.k.SaveProfile(ctx, profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(ctx, suite.ak))))
suite.Require().NoError(suite.k.SaveProfile(ctx, receiverProfile))
suite.Require().NoError(suite.k.SaveDTagTransferRequest(ctx, request))
},
@@ -419,9 +419,9 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
)
- receiverProfile := profilestesting.ProfileFromAddr(request.Receiver)
+ receiverProfile := profilestesting.ProfileFromAddr(request.Receiver, profilestesting.WithNextAccountNumber(ctx, suite.ak))
receiverProfile.DTag = "receiverDTag"
- senderProfile := profilestesting.ProfileFromAddr(request.Sender)
+ senderProfile := profilestesting.ProfileFromAddr(request.Sender, profilestesting.WithNextAccountNumber(ctx, suite.ak))
senderProfile.DTag = "senderDTag"
suite.Require().NoError(suite.k.SaveProfile(ctx, senderProfile))
suite.Require().NoError(suite.k.SaveProfile(ctx, receiverProfile))
@@ -461,7 +461,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AcceptDTagTransfer() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.AcceptDTagTransferRequest(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.AcceptDTagTransferRequest(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -533,7 +533,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RefuseDTagTransfer() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.RefuseDTagTransferRequest(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.RefuseDTagTransferRequest(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/profiles/keeper/msg_server_params_test.go b/x/profiles/keeper/msg_server_params_test.go
index 9d91845a14..c4f02c5042 100644
--- a/x/profiles/keeper/msg_server_params_test.go
+++ b/x/profiles/keeper/msg_server_params_test.go
@@ -48,7 +48,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateParams() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.UpdateParams(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.UpdateParams(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/profiles/keeper/msgs_server_profile.go b/x/profiles/keeper/msgs_server_profile.go
index 0e8b2fb267..a02cfeb792 100644
--- a/x/profiles/keeper/msgs_server_profile.go
+++ b/x/profiles/keeper/msgs_server_profile.go
@@ -2,6 +2,7 @@ package keeper
import (
"context"
+ "fmt"
"time"
"cosmossdk.io/errors"
@@ -40,6 +41,11 @@ func (k MsgServer) SaveProfile(goCtx context.Context, msg *types.MsgSaveProfile)
return nil, err
}
+ acc := k.ak.GetAccount(ctx, addr)
+ if acc == nil {
+ return nil, fmt.Errorf("account with address not found: %s", msg.Creator)
+ }
+
profile, err = types.NewProfileFromAccount(msg.DTag, k.ak.GetAccount(ctx, addr), ctx.BlockTime())
if err != nil {
return nil, err
diff --git a/x/profiles/keeper/msgs_server_profile_test.go b/x/profiles/keeper/msgs_server_profile_test.go
index 84ba020b12..8a42e8fb16 100644
--- a/x/profiles/keeper/msgs_server_profile_test.go
+++ b/x/profiles/keeper/msgs_server_profile_test.go
@@ -31,6 +31,23 @@ func (suite *KeeperTestSuite) TestMsgServer_SaveProfile() {
expEvents sdk.Events
check func(ctx sdk.Context)
}{
+ {
+ name: "account not found returns error (with no previous profile created)",
+ msg: types.NewMsgSaveProfile(
+ "custom_dtag",
+ "my-nickname",
+ "my-bio",
+ "https://tc.com/profile-picture",
+ "https://tc.com/cover-pic",
+ "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773",
+ ),
+ check: func(ctx sdk.Context) {
+ _, found, err := suite.k.GetProfile(ctx, "cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773")
+ suite.Require().NoError(err)
+ suite.Require().True(found)
+ },
+ shouldErr: true,
+ },
{
name: "profile saved (with no previous profile created)",
store: func(ctx sdk.Context) {
@@ -254,7 +271,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SaveProfile() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.SaveProfile(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.SaveProfile(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -310,7 +327,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeleteProfile() {
}
server := keeper.NewMsgServerImpl(suite.k)
- _, err := server.DeleteProfile(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := server.DeleteProfile(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/profiles/keeper/relay_app_links.go b/x/profiles/keeper/relay_app_links.go
index f8a58ce8d9..8ba97a4e27 100644
--- a/x/profiles/keeper/relay_app_links.go
+++ b/x/profiles/keeper/relay_app_links.go
@@ -6,12 +6,12 @@ import (
"strings"
"cosmossdk.io/errors"
- "github.com/armon/go-metrics"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
+ "github.com/hashicorp/go-metrics"
"github.com/desmos-labs/desmos/v6/pkg/obi"
diff --git a/x/profiles/keeper/relay_app_links_test.go b/x/profiles/keeper/relay_app_links_test.go
index 5c92d8d963..918840374f 100644
--- a/x/profiles/keeper/relay_app_links_test.go
+++ b/x/profiles/keeper/relay_app_links_test.go
@@ -7,16 +7,16 @@ import (
"strings"
"time"
+ "github.com/desmos-labs/desmos/v6/app"
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
"github.com/desmos-labs/desmos/v6/pkg/obi"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- "github.com/cosmos/ibc-go/v7/modules/core/exported"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
- "github.com/desmos-labs/desmos/v6/testutil/ibctesting"
+ ibctesting "github.com/cosmos/ibc-go/v8/testing"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
+ channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -64,10 +64,10 @@ func createResponsePacketData(
func (suite *KeeperTestSuite) TestKeeper_StartProfileConnection() {
var (
- applicationData types.Data
- callData string
- channelA, channelB ibctesting.TestChannel
- err error
+ applicationData types.Data
+ callData string
+ path *ibctesting.Path
+ err error
)
testCases := []struct {
@@ -80,44 +80,49 @@ func (suite *KeeperTestSuite) TestKeeper_StartProfileConnection() {
name: "source channel not found",
malleate: func() {
// channel references wrong ID
- _, _, connA, connB := suite.coordinator.SetupClientConnections(suite.chainA, suite.chainB, exported.Tendermint)
- channelA, _ = suite.coordinator.CreateIBCProfilesChannels(suite.chainA, suite.chainB, connA, connB, channeltypes.UNORDERED)
- channelA.ID = "IDisInvalid"
+ path = NewIBCProfilesPath(suite.chainA, suite.chainB)
+ suite.coordinator.Setup(path)
+ path.EndpointA.ChannelID = "IDisInvalid"
},
expPass: false,
},
{
name: "next seq send not found",
malleate: func() {
- _, _, connA, connB := suite.coordinator.SetupClientConnections(suite.chainA, suite.chainB, exported.Tendermint)
- channelA = suite.chainA.NextTestChannel(connA, types.IBCPortID)
- channelB = suite.chainB.NextTestChannel(connB, types.IBCPortID)
+ path = NewIBCProfilesPath(suite.chainA, suite.chainB)
+ suite.coordinator.SetupConnections(path)
+
+ // setup test channels of endpoints
+ path.EndpointA.ChannelConfig.PortID = types.IBCPortID
+ path.EndpointA.ChannelID = "channel-1"
+ path.EndpointB.ChannelConfig.PortID = types.IBCPortID
+ path.EndpointB.ChannelID = "channel-1"
// manually create channel so next seq send is never set
- suite.chainA.App.IBCKeeper.ChannelKeeper.SetChannel(
+ suite.chainA.App.(*app.DesmosApp).IBCKeeper.ChannelKeeper.SetChannel(
suite.chainA.GetContext(),
- channelA.PortID, channelA.ID,
+ path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID,
channeltypes.NewChannel(
channeltypes.OPEN,
channeltypes.ORDERED,
- channeltypes.NewCounterparty(channelB.PortID, channelB.ID),
- []string{connA.ID},
+ channeltypes.NewCounterparty(path.EndpointB.ChannelConfig.PortID, path.EndpointB.ChannelID),
+ []string{path.EndpointA.ConnectionID},
"ics-20",
),
)
- suite.chainA.CreateChannelCapability(channelA.PortID, channelA.ID)
+ suite.chainA.CreateChannelCapability(suite.chainA.App.(*app.DesmosApp).ScopedProfilesKeeper, path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID)
},
expPass: false,
},
{
name: "channel capability not found",
malleate: func() {
- _, _, connA, connB := suite.coordinator.SetupClientConnections(suite.chainA, suite.chainB, exported.Tendermint)
- channelA, channelB = suite.coordinator.CreateIBCProfilesChannels(suite.chainA, suite.chainB, connA, connB, channeltypes.UNORDERED)
- capability := suite.chainA.GetChannelCapability(channelA.PortID, channelA.ID)
+ path = NewIBCProfilesPath(suite.chainA, suite.chainB)
+ suite.coordinator.Setup(path)
+ capability := suite.chainA.GetChannelCapability(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID)
// Release channel capability
- err := suite.chainA.App.ScopedProfilesKeeper.ReleaseCapability(suite.chainA.GetContext(), capability)
+ err := suite.chainA.App.(*app.DesmosApp).ScopedProfilesKeeper.ReleaseCapability(suite.chainA.GetContext(), capability)
suite.Require().NoError(err)
},
expPass: false,
@@ -125,8 +130,8 @@ func (suite *KeeperTestSuite) TestKeeper_StartProfileConnection() {
{
name: "send without profile returns error",
malleate: func() {
- _, _, connA, connB := suite.coordinator.SetupClientConnections(suite.chainA, suite.chainB, exported.Tendermint)
- channelA, channelB = suite.coordinator.CreateIBCProfilesChannels(suite.chainA, suite.chainB, connA, connB, channeltypes.UNORDERED)
+ path = NewIBCProfilesPath(suite.chainA, suite.chainB)
+ suite.coordinator.Setup(path)
applicationData = types.NewData("twitter", "twitteruser")
callData = "call_data"
},
@@ -135,14 +140,14 @@ func (suite *KeeperTestSuite) TestKeeper_StartProfileConnection() {
{
name: "send with profile works properly",
malleate: func() {
- _, _, connA, connB := suite.coordinator.SetupClientConnections(suite.chainA, suite.chainB, exported.Tendermint)
- channelA, channelB = suite.coordinator.CreateIBCProfilesChannels(suite.chainA, suite.chainB, connA, connB, channeltypes.UNORDERED)
+ path = NewIBCProfilesPath(suite.chainA, suite.chainB)
+ suite.coordinator.Setup(path)
applicationData = types.NewData("twitter", "twitteruser")
callData = "call_data"
},
storeChainA: func(ctx sdk.Context) {
- profile := profilestesting.ProfileFromAddr(suite.chainA.Account.GetAddress().String())
- suite.chainA.App.AccountKeeper.SetAccount(ctx, profile)
+ profile := profilestesting.ProfileFromAddr(suite.chainA.SenderAccount.GetAddress().String())
+ suite.chainA.App.(*app.DesmosApp).AccountKeeper.SetAccount(ctx, profile)
},
expPass: true,
},
@@ -158,19 +163,19 @@ func (suite *KeeperTestSuite) TestKeeper_StartProfileConnection() {
tc.storeChainA(suite.chainA.GetContext())
}
- err = suite.chainA.App.ProfilesKeeper.StartProfileConnection(
- suite.chainA.GetContext(), applicationData, callData, suite.chainA.Account.GetAddress(),
- channelA.PortID, channelA.ID,
- clienttypes.NewHeight(0, 110), 0,
+ err = suite.chainA.App.(*app.DesmosApp).ProfilesKeeper.StartProfileConnection(
+ suite.chainA.GetContext(), applicationData, callData, suite.chainA.SenderAccount.GetAddress(),
+ path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID,
+ clienttypes.NewHeight(10, 110), 0,
)
if tc.expPass {
suite.Require().NoError(err)
- links := suite.chainA.App.ProfilesKeeper.GetApplicationLinks(suite.chainA.GetContext())
+ links := suite.chainA.App.(*app.DesmosApp).ProfilesKeeper.GetApplicationLinks(suite.chainA.GetContext())
suite.Require().Len(links, 1)
- suite.Require().Equal(suite.chainA.Account.GetAddress().String(), links[0].User)
+ suite.Require().Equal(suite.chainA.SenderAccount.GetAddress().String(), links[0].User)
suite.Require().Equal(types.ApplicationLinkStateInitialized, links[0].State)
} else {
suite.Require().Error(err)
diff --git a/x/profiles/keeper/relay_chain_links_test.go b/x/profiles/keeper/relay_chain_links_test.go
index d24a6a4245..3fc7b01df3 100644
--- a/x/profiles/keeper/relay_chain_links_test.go
+++ b/x/profiles/keeper/relay_chain_links_test.go
@@ -8,6 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
+ "github.com/desmos-labs/desmos/v6/app"
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
@@ -32,14 +33,14 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.LinkChainAccountPacketData{
SourceAddress: nil,
SourceProof: types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
SourceChainConfig: types.NewChainConfig("cosmos"),
DestinationAddress: destAddr,
DestinationProof: types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
@@ -55,14 +56,14 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.LinkChainAccountPacketData{
SourceAddress: invalidAny,
SourceProof: types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
SourceChainConfig: types.NewChainConfig("cosmos"),
DestinationAddress: destAddr,
DestinationProof: types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
@@ -76,14 +77,14 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
types.NewChainConfig("cosmos"),
"cosmos1asdjlansdjhasd",
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
@@ -97,14 +98,14 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
types.NewChainConfig("cosmos"),
destAddr,
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
@@ -118,23 +119,23 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
types.NewChainConfig("cosmos"),
destAddr,
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
)
},
store: func() {
- addr := suite.chainB.Account.GetAddress()
+ addr := suite.chainB.SenderAccount.GetAddress()
baseAcc := authtypes.NewBaseAccountWithAddress(addr)
- baseAcc.SetPubKey(suite.chainA.Account.GetPubKey())
+ baseAcc.SetPubKey(suite.chainA.SenderAccount.GetPubKey())
profile, err := types.NewProfile(
"dtag",
@@ -148,7 +149,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
baseAcc,
)
suite.Require().NoError(err)
- err = suite.chainB.App.ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
+ err = suite.chainB.App.(*app.DesmosApp).ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
suite.Require().NoError(err)
},
expPass: false,
@@ -159,7 +160,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
"696e76616c6964",
),
@@ -168,16 +169,16 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
),
destAddr,
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
)
},
store: func() {
- addr := suite.chainB.Account.GetAddress()
+ addr := suite.chainB.SenderAccount.GetAddress()
baseAcc := authtypes.NewBaseAccountWithAddress(addr)
- baseAcc.SetPubKey(suite.chainB.Account.GetPubKey())
+ baseAcc.SetPubKey(suite.chainB.SenderAccount.GetPubKey())
profile, err := types.NewProfile(
"dtag",
@@ -191,7 +192,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
baseAcc,
)
suite.Require().NoError(err)
- err = suite.chainB.App.ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
+ err = suite.chainB.App.(*app.DesmosApp).ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
suite.Require().NoError(err)
},
expPass: false,
@@ -202,7 +203,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
@@ -211,16 +212,16 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
),
destAddr,
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
"696e76616c6964",
),
)
},
store: func() {
- addr := suite.chainB.Account.GetAddress()
+ addr := suite.chainB.SenderAccount.GetAddress()
baseAcc := authtypes.NewBaseAccountWithAddress(addr)
- baseAcc.SetPubKey(suite.chainB.Account.GetPubKey())
+ baseAcc.SetPubKey(suite.chainB.SenderAccount.GetPubKey())
profile, err := types.NewProfile(
"dtag",
@@ -234,7 +235,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
baseAcc,
)
suite.Require().NoError(err)
- err = suite.chainB.App.ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
+ err = suite.chainB.App.(*app.DesmosApp).ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
suite.Require().NoError(err)
},
expPass: false,
@@ -245,7 +246,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
@@ -254,16 +255,16 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
),
destAddr,
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
)
},
store: func() {
- addr := suite.chainB.Account.GetAddress()
+ addr := suite.chainB.SenderAccount.GetAddress()
baseAcc := authtypes.NewBaseAccountWithAddress(addr)
- baseAcc.SetPubKey(suite.chainB.Account.GetPubKey())
+ baseAcc.SetPubKey(suite.chainB.SenderAccount.GetPubKey())
profile, err := types.NewProfile(
"dtag",
@@ -277,16 +278,16 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
baseAcc,
)
suite.Require().NoError(err)
- err = suite.chainB.App.ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
+ err = suite.chainB.App.(*app.DesmosApp).ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
suite.Require().NoError(err)
// Store link
- store := suite.chainB.GetContext().KVStore(suite.chainB.App.GetKey(types.StoreKey))
+ store := suite.chainB.GetContext().KVStore(suite.chainB.App.(*app.DesmosApp).GetKey(types.StoreKey))
key := types.ChainLinksStoreKey(baseAcc.GetAddress().String(), "cosmos", srcAddr)
link := types.NewChainLink(
addr.String(),
types.NewBech32Address(srcAddr, "cosmos"),
- types.NewProof(suite.chainA.Account.GetPubKey(), profilestesting.SingleSignatureFromHex("1234"), hex.EncodeToString([]byte(srcAddr))),
+ types.NewProof(suite.chainA.SenderAccount.GetPubKey(), profilestesting.SingleSignatureFromHex("1234"), hex.EncodeToString([]byte(srcAddr))),
types.NewChainConfig("cosmos"),
time.Date(2021, 1, 1, 00, 00, 00, 000, time.UTC),
)
@@ -300,7 +301,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
packetData = types.NewLinkChainAccountPacketData(
types.NewBech32Address(srcAddr, "cosmos"),
types.NewProof(
- suite.chainA.Account.GetPubKey(),
+ suite.chainA.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(srcSigHex),
hex.EncodeToString([]byte(destAddr)),
),
@@ -309,16 +310,16 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
),
destAddr,
types.NewProof(
- suite.chainB.Account.GetPubKey(),
+ suite.chainB.SenderAccount.GetPubKey(),
profilestesting.SingleSignatureFromHex(destSigHex),
hex.EncodeToString([]byte(srcAddr)),
),
)
},
store: func() {
- addr := suite.chainB.Account.GetAddress()
+ addr := suite.chainB.SenderAccount.GetAddress()
baseAcc := authtypes.NewBaseAccountWithAddress(addr)
- baseAcc.SetPubKey(suite.chainB.Account.GetPubKey())
+ baseAcc.SetPubKey(suite.chainB.SenderAccount.GetPubKey())
profile, err := types.NewProfile(
"dtag",
@@ -332,7 +333,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
baseAcc,
)
suite.Require().NoError(err)
- err = suite.chainB.App.ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
+ err = suite.chainB.App.(*app.DesmosApp).ProfilesKeeper.SaveProfile(suite.chainB.GetContext(), profile)
suite.Require().NoError(err)
},
expPass: true,
@@ -348,14 +349,14 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
tc := tc
suite.Run(tc.name, func() {
suite.SetupIBCTest()
- srcAddr = suite.chainA.Account.GetAddress().String()
- destAddr = suite.chainB.Account.GetAddress().String()
+ srcAddr = suite.chainA.SenderAccount.GetAddress().String()
+ destAddr = suite.chainB.SenderAccount.GetAddress().String()
- srcSig, err := suite.chainA.PrivKey.Sign([]byte(destAddr))
+ srcSig, err := suite.chainA.SenderPrivKey.Sign([]byte(destAddr))
suite.NoError(err)
srcSigHex := hex.EncodeToString(srcSig)
- dstSig, err := suite.chainB.PrivKey.Sign([]byte(srcAddr))
+ dstSig, err := suite.chainB.SenderPrivKey.Sign([]byte(srcAddr))
suite.NoError(err)
destSigHex := hex.EncodeToString(dstSig)
@@ -364,7 +365,7 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
tc.store()
}
- ack, err := suite.chainB.App.ProfilesKeeper.OnRecvLinkChainAccountPacket(suite.chainB.GetContext(), packetData)
+ ack, err := suite.chainB.App.(*app.DesmosApp).ProfilesKeeper.OnRecvLinkChainAccountPacket(suite.chainB.GetContext(), packetData)
if tc.expPass {
suite.Require().NoError(err)
suite.Require().Equal(tc.getExpAck(srcAddr), ack)
diff --git a/x/profiles/legacy/v4/keeper.go b/x/profiles/legacy/v4/keeper.go
index 968f6d6d24..802f0c9798 100644
--- a/x/profiles/legacy/v4/keeper.go
+++ b/x/profiles/legacy/v4/keeper.go
@@ -1,9 +1,9 @@
package v4
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
v4types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v4/types"
diff --git a/x/profiles/legacy/v4/store.go b/x/profiles/legacy/v4/store.go
index be40259815..764d1b18d0 100644
--- a/x/profiles/legacy/v4/store.go
+++ b/x/profiles/legacy/v4/store.go
@@ -4,15 +4,14 @@ import (
"encoding/hex"
"fmt"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/tx"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
v4types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v4/types"
v5types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v5/types"
@@ -56,7 +55,7 @@ func MigrateStore(ctx sdk.Context, ak authkeeper.AccountKeeper, storeKey storety
func migrateProfiles(ctx sdk.Context, ak authkeeper.AccountKeeper) error {
var profiles []*v4types.Profile
- ak.IterateAccounts(ctx, func(account authtypes.AccountI) (stop bool) {
+ ak.IterateAccounts(ctx, func(account sdk.AccountI) (stop bool) {
if profile, ok := account.(*v4types.Profile); ok {
profiles = append(profiles, profile)
}
diff --git a/x/profiles/legacy/v4/store_test.go b/x/profiles/legacy/v4/store_test.go
index f485264c1b..c561d9cfb7 100644
--- a/x/profiles/legacy/v4/store_test.go
+++ b/x/profiles/legacy/v4/store_test.go
@@ -9,6 +9,8 @@ import (
types2 "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v4/types"
v5types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v5/types"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/cosmos-sdk/types/tx"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
@@ -16,14 +18,15 @@ import (
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
- dbm "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ dbm "github.com/cosmos/cosmos-db"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
@@ -38,7 +41,7 @@ func buildContext(
keys map[string]*storetypes.KVStoreKey, tKeys map[string]*storetypes.TransientStoreKey, memKeys map[string]*storetypes.MemoryStoreKey,
) sdk.Context {
db := dbm.NewMemDB()
- cms := store.NewCommitMultiStore(db)
+ cms := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
cms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, db)
}
@@ -61,16 +64,17 @@ func TestMigrateStore(t *testing.T) {
cdc, legacyAmino := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(authtypes.StoreKey, profilestypes.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, profilestypes.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
// Build the x/auth keeper
authKeeper := authkeeper.NewAccountKeeper(
cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
- app.GetMaccPerms(),
+ nil,
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
diff --git a/x/profiles/legacy/v4/types/codec.go b/x/profiles/legacy/v4/types/codec.go
index 9ba48f06f4..9ea3f90272 100644
--- a/x/profiles/legacy/v4/types/codec.go
+++ b/x/profiles/legacy/v4/types/codec.go
@@ -4,12 +4,12 @@ package types
import (
"github.com/cosmos/cosmos-sdk/codec/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
+ sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting/exported"
)
func RegisterInterfaces(registry types.InterfaceRegistry) {
- registry.RegisterImplementations((*authtypes.AccountI)(nil), &Profile{})
+ registry.RegisterImplementations((*sdk.AccountI)(nil), &Profile{})
registry.RegisterImplementations((*exported.VestingAccount)(nil), &Profile{})
registry.RegisterInterface(
"desmos.profiles.v1beta1.AddressData",
diff --git a/x/profiles/legacy/v4/types/models_app_links.pb.go b/x/profiles/legacy/v4/types/models_app_links.pb.go
index dfccd72fe0..24d1e209b9 100644
--- a/x/profiles/legacy/v4/types/models_app_links.pb.go
+++ b/x/profiles/legacy/v4/types/models_app_links.pb.go
@@ -455,7 +455,7 @@ var fileDescriptor_33caa1214beac081 = []byte{
// 979 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x4f, 0x6f, 0xe3, 0xc4,
0x1b, 0xc7, 0xe3, 0xc4, 0xcd, 0x36, 0xd3, 0x6d, 0x9b, 0xdf, 0xb4, 0x3f, 0x36, 0xb2, 0xd4, 0xd8,
- 0xb8, 0xa8, 0x14, 0x50, 0x6d, 0xb5, 0x80, 0x84, 0x8a, 0x90, 0x88, 0x13, 0x57, 0xeb, 0xa5, 0xb4,
+ 0xb8, 0xa8, 0x14, 0x50, 0x6d, 0xb5, 0x20, 0x84, 0x8a, 0x90, 0x88, 0x13, 0x57, 0xeb, 0xa5, 0xb4,
0xd5, 0xc4, 0xd9, 0x95, 0xf6, 0x62, 0x4d, 0xec, 0x49, 0xb0, 0xd6, 0x89, 0x83, 0xff, 0x54, 0x14,
0xc4, 0x7d, 0xd5, 0xd3, 0xbe, 0x81, 0x4a, 0x2b, 0xf1, 0x3a, 0x10, 0xd7, 0xbd, 0x20, 0xed, 0x91,
0x93, 0x41, 0xe9, 0x85, 0x73, 0xce, 0x1c, 0x90, 0x67, 0xec, 0x24, 0x65, 0x37, 0xb4, 0x12, 0xb7,
@@ -513,7 +513,7 @@ var fileDescriptor_33caa1214beac081 = []byte{
0xf5, 0x75, 0xbd, 0xf0, 0xdb, 0x75, 0xbd, 0xf0, 0xf4, 0xf3, 0xbe, 0x1b, 0x7d, 0x13, 0x77, 0x15,
0xdb, 0x1f, 0xa8, 0x6c, 0xab, 0xf7, 0x3c, 0xdc, 0x0d, 0xb3, 0xb3, 0x7a, 0xfe, 0xa9, 0xfa, 0xdd,
0xec, 0x37, 0x80, 0x47, 0xfa, 0xd8, 0xbe, 0x50, 0xcf, 0x3f, 0x51, 0xa3, 0x8b, 0x11, 0x09, 0xbb,
- 0x65, 0xfa, 0xe6, 0x7f, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x30, 0x63, 0x3a, 0x2d,
+ 0x65, 0xfa, 0xe6, 0x7f, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58, 0x4b, 0x83, 0x5e, 0x2d,
0x08, 0x00, 0x00,
}
diff --git a/x/profiles/legacy/v4/types/models_chain_links.pb.go b/x/profiles/legacy/v4/types/models_chain_links.pb.go
index a229c0a759..1c21842715 100644
--- a/x/profiles/legacy/v4/types/models_chain_links.pb.go
+++ b/x/profiles/legacy/v4/types/models_chain_links.pb.go
@@ -302,45 +302,45 @@ var fileDescriptor_1c1946212735e419 = []byte{
// 647 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0x3f, 0x6f, 0xd3, 0x4e,
0x18, 0x8e, 0x7f, 0x6d, 0x5a, 0xe5, 0x92, 0xfc, 0x68, 0x4d, 0x10, 0xa1, 0x48, 0x76, 0x75, 0x45,
- 0xa8, 0x0c, 0xb5, 0xe9, 0x3f, 0x09, 0xca, 0x42, 0x5d, 0x06, 0x04, 0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, 0x82, 0xb4, 0x1a, 0xc5, 0xd2,
+ 0x78, 0x2f, 0x44, 0x18, 0xda, 0x32, 0xad, 0xde, 0x03, 0x0b, 0x71, 0x82, 0x07, 0xfe, 0xa8, 0x6c,
+ 0x77, 0xb9, 0xc8, 0xf5, 0x76, 0xb5, 0x40, 0x3c, 0xce, 0x1f, 0x27, 0x0e, 0xbb, 0xdb, 0x93, 0x25,
+ 0x7f, 0x73, 0x99, 0x61, 0x00, 0xda, 0x16, 0xa2, 0xf8, 0xc1, 0xa3, 0x3f, 0x6c, 0xec, 0xef, 0xaa,
+ 0xbd, 0x57, 0x00, 0x78, 0x8e, 0x47, 0xff, 0xd8, 0x10, 0xac, 0x37, 0xa7, 0xe7, 0x9a, 0x72, 0x76,
+ 0xae, 0x29, 0x3f, 0xce, 0x35, 0xe5, 0xf8, 0x42, 0xab, 0x9d, 0x5d, 0x68, 0xb5, 0x6f, 0x17, 0x5a,
+ 0xed, 0xed, 0x13, 0xcf, 0x67, 0x87, 0xa9, 0x63, 0xb8, 0x24, 0x34, 0xa5, 0xd2, 0x46, 0x80, 0x1c,
+ 0x5a, 0x9e, 0xcd, 0xe1, 0x43, 0x73, 0x34, 0xfe, 0x54, 0x03, 0xec, 0x21, 0x37, 0x33, 0x87, 0x3b,
+ 0x26, 0xcb, 0x62, 0x4c, 0x9d, 0x05, 0xb1, 0x97, 0xdb, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x19,
+ 0x54, 0x19, 0x44, 0x7e, 0x05, 0x00, 0x00,
}
func (this *ChainLink) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v4/types/models_dtag_requests.pb.go b/x/profiles/legacy/v4/types/models_dtag_requests.pb.go
index 55dcdb7917..a4d468aa0b 100644
--- a/x/profiles/legacy/v4/types/models_dtag_requests.pb.go
+++ b/x/profiles/legacy/v4/types/models_dtag_requests.pb.go
@@ -78,26 +78,26 @@ func init() {
var fileDescriptor_08f2e5360e821c5e = []byte{
// 315 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xd0, 0xbf, 0x4e, 0xc3, 0x30,
- 0x10, 0x06, 0xf0, 0x18, 0xa4, 0x0a, 0x52, 0x2a, 0x44, 0x5a, 0x89, 0x8a, 0xc1, 0x46, 0x59, 0x80,
- 0x81, 0x58, 0xe5, 0xcf, 0x52, 0xb6, 0x8a, 0x8d, 0x2d, 0x2a, 0x0b, 0x4b, 0xe5, 0x34, 0x57, 0x53,
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xd0, 0xb1, 0x4e, 0xc3, 0x30,
+ 0x10, 0x06, 0xe0, 0x18, 0xa4, 0x0a, 0x52, 0x2a, 0x44, 0x5a, 0x89, 0x8a, 0xc1, 0x46, 0x59, 0x80,
+ 0x81, 0x58, 0x05, 0xc4, 0x50, 0xb6, 0x8a, 0x8d, 0x2d, 0x2a, 0x0b, 0x4b, 0xe5, 0x34, 0x57, 0x53,
0x29, 0xa9, 0x8b, 0xed, 0x46, 0xf4, 0x0d, 0x18, 0x19, 0x19, 0xfb, 0x38, 0x0c, 0x0c, 0x1d, 0x99,
- 0x22, 0x94, 0x2e, 0xcc, 0x7d, 0x02, 0x14, 0x3b, 0x05, 0xb1, 0x9d, 0xcf, 0xbf, 0xef, 0x86, 0xcf,
- 0xbd, 0x88, 0x41, 0xa5, 0x42, 0xd1, 0xa9, 0x14, 0xa3, 0x71, 0x02, 0x8a, 0x66, 0x9d, 0x08, 0x34,
- 0xeb, 0xd0, 0x54, 0xc4, 0x90, 0xa8, 0x41, 0xac, 0x19, 0x1f, 0x48, 0x78, 0x9a, 0x81, 0xd2, 0x2a,
- 0x98, 0x4a, 0xa1, 0x85, 0x77, 0x68, 0x33, 0xc1, 0x26, 0x13, 0x54, 0x99, 0xa3, 0x16, 0x17, 0x5c,
- 0x18, 0x43, 0xcb, 0xc9, 0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0x7b,
+ 0x41, 0x50, 0xef, 0xfe, 0xbd, 0xc0, 0x68, 0x59, 0x60, 0xf4, 0x55, 0x60, 0xf4, 0xba, 0xc2, 0xce,
+ 0x72, 0x85, 0x9d, 0xcf, 0x15, 0x76, 0x1e, 0x6e, 0xf8, 0x58, 0x3f, 0xce, 0xa2, 0x60, 0x28, 0x52,
+ 0x6a, 0x2b, 0x3a, 0x4f, 0x58, 0xa4, 0xaa, 0x99, 0x66, 0xd7, 0xf4, 0xf9, 0xaf, 0xe7, 0x04, 0x38,
+ 0x1b, 0xce, 0x69, 0x76, 0x45, 0xf5, 0x7c, 0x0a, 0x2a, 0xaa, 0x99, 0xb2, 0x2e, 0x7f, 0x02, 0x00,
+ 0x00, 0xff, 0xff, 0xf7, 0x98, 0x31, 0x94, 0x91, 0x01, 0x00, 0x00,
}
func (this *DTagTransferRequest) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v4/types/models_profile.go b/x/profiles/legacy/v4/types/models_profile.go
index 5cccc296d8..c223da3f44 100644
--- a/x/profiles/legacy/v4/types/models_profile.go
+++ b/x/profiles/legacy/v4/types/models_profile.go
@@ -12,20 +12,19 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/ghodss/yaml"
"github.com/gogo/protobuf/proto"
)
var (
- _ authtypes.AccountI = (*Profile)(nil)
+ _ sdk.AccountI = (*Profile)(nil)
_ exported.VestingAccount = (*Profile)(nil)
)
// NewProfile builds a new profile having the given DTag, creator and creation date
func NewProfile(
dTag string, nickname, bio string, pictures Pictures, creationDate time.Time,
- account authtypes.AccountI,
+ account sdk.AccountI,
) (*Profile, error) {
// Make sure myAccount is a proto.Message, e.g. a BaseAccount etc.
protoAccount, ok := account.(proto.Message)
@@ -48,9 +47,9 @@ func NewProfile(
}, nil
}
-// GetAccount returns the underlying account as an authtypes.AccountI instance
-func (p *Profile) GetAccount() authtypes.AccountI {
- return p.Account.GetCachedValue().(authtypes.AccountI)
+// GetAccount returns the underlying account as an sdk.AccountI instance
+func (p *Profile) GetAccount() sdk.AccountI {
+ return p.Account.GetCachedValue().(sdk.AccountI)
}
// getVestingAccount returns the underlying account as an exported.VestingAccount instance
@@ -64,7 +63,7 @@ func (p *Profile) getVestingAccount() exported.VestingAccount {
// setAccount sets the given account as the underlying account instance.
// This should be called after updating anything about the account (eg. after calling SetSequence).
-func (p *Profile) setAccount(account authtypes.AccountI) error {
+func (p *Profile) setAccount(account sdk.AccountI) error {
accAny, err := codectypes.NewAnyWithValue(account)
if err != nil {
return err
@@ -74,12 +73,12 @@ func (p *Profile) setAccount(account authtypes.AccountI) error {
return nil
}
-// GetAddress implements authtypes.AccountI
+// GetAddress implements sdk.AccountI
func (p *Profile) GetAddress() sdk.AccAddress {
return p.GetAccount().GetAddress()
}
-// SetAddress implements authtypes.AccountI
+// SetAddress implements sdk.AccountI
func (p *Profile) SetAddress(addr sdk.AccAddress) error {
acc := p.GetAccount()
err := acc.SetAddress(addr)
@@ -90,12 +89,12 @@ func (p *Profile) SetAddress(addr sdk.AccAddress) error {
return p.setAccount(acc)
}
-// GetPubKey implements authtypes.AccountI
+// GetPubKey implements sdk.AccountI
func (p *Profile) GetPubKey() cryptotypes.PubKey {
return p.GetAccount().GetPubKey()
}
-// SetPubKey implements authtypes.AccountI
+// SetPubKey implements sdk.AccountI
func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error {
acc := p.GetAccount()
err := acc.SetPubKey(pubKey)
@@ -106,12 +105,12 @@ func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error {
return p.setAccount(acc)
}
-// GetAccountNumber implements authtypes.AccountI
+// GetAccountNumber implements sdk.AccountI
func (p *Profile) GetAccountNumber() uint64 {
return p.GetAccount().GetAccountNumber()
}
-// SetAccountNumber implements authtypes.AccountI
+// SetAccountNumber implements sdk.AccountI
func (p *Profile) SetAccountNumber(accountNumber uint64) error {
acc := p.GetAccount()
err := acc.SetAccountNumber(accountNumber)
@@ -122,12 +121,12 @@ func (p *Profile) SetAccountNumber(accountNumber uint64) error {
return p.setAccount(acc)
}
-// GetSequence implements authtypes.AccountI
+// GetSequence implements sdk.AccountI
func (p *Profile) GetSequence() uint64 {
return p.GetAccount().GetSequence()
}
-// SetSequence implements authtypes.AccountI
+// SetSequence implements sdk.AccountI
func (p *Profile) SetSequence(sequence uint64) error {
acc := p.GetAccount()
err := acc.SetSequence(sequence)
@@ -241,7 +240,7 @@ func (p *Profile) GetDelegatedVesting() sdk.Coins {
// UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (p *Profile) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
if p.Account != nil {
- var account authtypes.AccountI
+ var account sdk.AccountI
err := unpacker.UnpackAny(p.Account, &account)
if err != nil {
return err
@@ -265,7 +264,7 @@ type profilePretty struct {
CreationDate time.Time `json:"creation_date" yaml:"creation_date"`
}
-// String implements authtypes.AccountIย implements stringer
+// String implements sdk.AccountIย implements stringer
func (p *Profile) String() string {
out, _ := p.MarshalYAML()
return out.(string)
diff --git a/x/profiles/legacy/v4/types/models_profile.pb.go b/x/profiles/legacy/v4/types/models_profile.pb.go
index f8fabd76e6..7b6f4666c1 100644
--- a/x/profiles/legacy/v4/types/models_profile.pb.go
+++ b/x/profiles/legacy/v4/types/models_profile.pb.go
@@ -144,38 +144,38 @@ func init() {
var fileDescriptor_a19232e029005b86 = []byte{
// 503 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x3f, 0x6f, 0xd3, 0x40,
- 0x18, 0xc6, 0x6d, 0x92, 0x36, 0xe9, 0xb5, 0x14, 0x74, 0x44, 0x8a, 0x89, 0x90, 0x2f, 0xdc, 0x80,
- 0x2a, 0xd1, 0xde, 0xa9, 0xfc, 0x59, 0x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xed, 0xda, 0x3f, 0xd7, 0xae, 0x7d, 0xb9, 0x71, 0xad, 0x9b, 0x8d, 0x6b, 0x7d, 0xdf, 0xb8, 0xd6,
+ 0x87, 0x37, 0x51, 0x2c, 0x2f, 0x16, 0x01, 0x09, 0x45, 0x4a, 0x55, 0x84, 0x47, 0x09, 0x0b, 0x72,
+ 0x7d, 0xa6, 0xcb, 0xd7, 0xf4, 0xf3, 0xdd, 0x8f, 0x9f, 0xf0, 0x88, 0x85, 0x2b, 0xba, 0x7c, 0x45,
+ 0xe5, 0x6a, 0xc6, 0xf3, 0x60, 0xbb, 0x09, 0xe4, 0xe5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72,
+ 0x7f, 0x39, 0xab, 0x22, 0x03, 0x00, 0x00,
}
func (this *Pictures) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v4/types/models_relationships.pb.go b/x/profiles/legacy/v4/types/models_relationships.pb.go
index 487d3de6fc..45aaab148e 100644
--- a/x/profiles/legacy/v4/types/models_relationships.pb.go
+++ b/x/profiles/legacy/v4/types/models_relationships.pb.go
@@ -170,30 +170,30 @@ func init() {
}
var fileDescriptor_47c7d48489f1a7d0 = []byte{
- // 367 bytes of a gzipped FileDescriptorProto
+ // 368 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xbf, 0x4e, 0xeb, 0x30,
0x18, 0xc5, 0xeb, 0x7b, 0xaf, 0x7a, 0xa9, 0xf9, 0x1f, 0x55, 0xa2, 0x62, 0x48, 0xc0, 0x13, 0x48,
- 0x10, 0xab, 0x05, 0x96, 0xb2, 0x45, 0x2c, 0x5d, 0x83, 0xba, 0xb0, 0x54, 0x4e, 0x62, 0xd2, 0x88,
- 0xa4, 0x8e, 0x6c, 0xb7, 0xa2, 0x6f, 0xc1, 0xc8, 0xd8, 0x27, 0x61, 0x66, 0xec, 0xc8, 0x14, 0x55,
- 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xc2, 0x3a, 0xa7,
+ 0x44, 0xb0, 0x91, 0x8a, 0xbc, 0x9f, 0x25, 0xc6, 0x76, 0x55, 0x34, 0x7f, 0x47, 0xb6, 0x02, 0xbe,
+ 0x56, 0xfc, 0xf7, 0xab, 0x8a, 0x56, 0xff, 0x35, 0xd5, 0xc1, 0x3c, 0xd5, 0xc1, 0x22, 0xd5, 0xc1,
+ 0xd3, 0x52, 0xaf, 0xcd, 0x97, 0x7a, 0xed, 0x6d, 0xa9, 0xd7, 0xee, 0xae, 0xfd, 0x40, 0x0e, 0xc7,
+ 0x8e, 0xe9, 0xb2, 0x08, 0x97, 0xff, 0x7e, 0x1e, 0x12, 0x47, 0x28, 0x8d, 0x27, 0x57, 0xf8, 0x71,
+ 0x7d, 0x3c, 0x21, 0xf5, 0x89, 0x3b, 0xc5, 0x93, 0x4b, 0x2c, 0xa7, 0x31, 0x15, 0x4e, 0xbd, 0xb8,
+ 0x80, 0x8b, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x2d, 0xe0, 0xda, 0x66, 0x02, 0x00, 0x00,
}
func (this *Relationship) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v5/store.go b/x/profiles/legacy/v5/store.go
index 42cf9ad3ee..a962b40468 100644
--- a/x/profiles/legacy/v5/store.go
+++ b/x/profiles/legacy/v5/store.go
@@ -1,9 +1,9 @@
package v5
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
v5types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v5/types"
@@ -36,7 +36,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
}
// fixApplicationLinks fixes the application links by adding the missing owner keys
-func fixApplicationLinks(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func fixApplicationLinks(store storetypes.KVStore, cdc codec.BinaryCodec) error {
applicationLinksStore := prefix.NewStore(store, types.ApplicationLinkPrefix)
applicationLinksIterator := applicationLinksStore.Iterator(nil, nil)
@@ -61,7 +61,7 @@ func fixApplicationLinks(store sdk.KVStore, cdc codec.BinaryCodec) error {
}
// fixChainLinks fixes the chain links by adding the missing owner keys
-func fixChainLinks(store sdk.KVStore, cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino) error {
+func fixChainLinks(store storetypes.KVStore, cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino) error {
chainLinkStore := prefix.NewStore(store, types.ChainLinksPrefix)
chainLinksIterator := chainLinkStore.Iterator(nil, nil)
diff --git a/x/profiles/legacy/v5/store_test.go b/x/profiles/legacy/v5/store_test.go
index 2a9ea218b9..9d3db8d4e6 100644
--- a/x/profiles/legacy/v5/store_test.go
+++ b/x/profiles/legacy/v5/store_test.go
@@ -16,10 +16,11 @@ import (
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -29,9 +30,9 @@ func TestMigrateStore(t *testing.T) {
cdc, legacyAmino := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
account := profilestesting.GetChainLinkAccount("cosmos", "cosmos")
testCases := []struct {
diff --git a/x/profiles/legacy/v5/types/codec.go b/x/profiles/legacy/v5/types/codec.go
index 51739f2da7..b5511b979e 100644
--- a/x/profiles/legacy/v5/types/codec.go
+++ b/x/profiles/legacy/v5/types/codec.go
@@ -4,12 +4,12 @@ package types
import (
"github.com/cosmos/cosmos-sdk/codec/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
+ sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting/exported"
)
func RegisterInterfaces(registry types.InterfaceRegistry) {
- registry.RegisterImplementations((*authtypes.AccountI)(nil), &Profile{})
+ registry.RegisterImplementations((*sdk.AccountI)(nil), &Profile{})
registry.RegisterImplementations((*exported.VestingAccount)(nil), &Profile{})
registry.RegisterInterface(
"desmos.profiles.v2.AddressData",
diff --git a/x/profiles/legacy/v5/types/models_app_links.pb.go b/x/profiles/legacy/v5/types/models_app_links.pb.go
index bfcee3ef0f..3d9eb57764 100644
--- a/x/profiles/legacy/v5/types/models_app_links.pb.go
+++ b/x/profiles/legacy/v5/types/models_app_links.pb.go
@@ -452,68 +452,68 @@ func init() {
}
var fileDescriptor_c4a613de86d4edc0 = []byte{
- // 967 bytes of a gzipped FileDescriptorProto
+ // 969 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4d, 0x6f, 0xdb, 0x46,
- 0x14, 0x14, 0x25, 0x5a, 0x91, 0xd6, 0x71, 0xac, 0xae, 0xdd, 0x56, 0x20, 0x10, 0x91, 0xa6, 0x8b,
- 0xc2, 0x49, 0x11, 0x12, 0x55, 0x51, 0xa0, 0x70, 0xd0, 0x02, 0xa2, 0x44, 0x23, 0x6c, 0x5d, 0x4b,
- 0x58, 0xd1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, 0x07,
+ 0x3d, 0x37, 0xfa, 0x31, 0x3e, 0x55, 0x6c, 0xbf, 0xaf, 0xb2, 0x85, 0xbe, 0xef, 0xe1, 0xd3, 0x30,
+ 0xfb, 0x56, 0x47, 0x5f, 0xa9, 0x3f, 0xcf, 0xfe, 0xd6, 0x3d, 0xd2, 0xc3, 0xf6, 0xb9, 0x3a, 0xfa,
+ 0x52, 0x8d, 0xce, 0x87, 0x24, 0x3c, 0x2d, 0xd3, 0x47, 0xfe, 0x8b, 0xff, 0x02, 0x00, 0x00, 0xff,
+ 0xff, 0xfc, 0xf5, 0xa8, 0xf1, 0x00, 0x08, 0x00, 0x00,
}
func (this *ApplicationLink) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v5/types/models_chain_links.pb.go b/x/profiles/legacy/v5/types/models_chain_links.pb.go
index 2186795f23..3e75c75e21 100644
--- a/x/profiles/legacy/v5/types/models_chain_links.pb.go
+++ b/x/profiles/legacy/v5/types/models_chain_links.pb.go
@@ -386,58 +386,58 @@ func init() {
}
var fileDescriptor_1deb25c5b4df9624 = []byte{
- // 806 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4f, 0x6f, 0xeb, 0x44,
- 0x10, 0x8f, 0x69, 0xd3, 0x47, 0x36, 0xc9, 0xe3, 0xbd, 0x7d, 0x41, 0x4a, 0x0b, 0x8a, 0x23, 0x57,
- 0x82, 0x22, 0xa8, 0xad, 0xa6, 0xad, 0x40, 0xe1, 0x42, 0x5c, 0x90, 0x2a, 0xd1, 0x4a, 0xc8, 0x2d,
- 0x17, 0x2e, 0xd1, 0xda, 0xd9, 0xb8, 0xab, 0xda, 0x5e, 0xcb, 0x5e, 0x47, 0xf1, 0x37, 0xe0, 0x46,
- 0xc5, 0x09, 0x71, 0xea, 0x37, 0xe0, 0xc2, 0x67, 0x40, 0x15, 0xa7, 0x1e, 0x7b, 0x0a, 0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 0xff, 0xff, 0x56, 0x0a,
- 0xbd, 0xaf, 0x2a, 0x07, 0x00, 0x00,
+ // 809 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4f, 0x6f, 0xe3, 0x44,
+ 0x14, 0x8f, 0x69, 0xd3, 0x25, 0x93, 0x64, 0xd9, 0x9d, 0x0d, 0x52, 0xb6, 0xa0, 0x38, 0xf2, 0x4a,
+ 0xb0, 0x08, 0xea, 0xd1, 0x66, 0x77, 0x01, 0x85, 0x0b, 0x71, 0x41, 0x5a, 0x89, 0x56, 0x42, 0x6e,
+ 0xb9, 0x70, 0x89, 0xc6, 0xce, 0xc4, 0x1d, 0xd5, 0xf6, 0x58, 0xf6, 0x38, 0x8a, 0xbf, 0x01, 0x37,
+ 0x2a, 0x4e, 0x88, 0x53, 0xbf, 0x01, 0x17, 0x3e, 0x03, 0xaa, 0x38, 0xf5, 0xd8, 0x53, 0x40, 0xed,
+ 0x85, 0x73, 0x3e, 0x01, 0x9a, 0x3f, 0x4e, 0xd2, 0xb4, 0x05, 0xf5, 0xc6, 0x6d, 0xe6, 0xbd, 0xdf,
+ 0xef, 0xbd, 0xdf, 0x9b, 0xf7, 0xfc, 0x0c, 0x3e, 0x1e, 0x91, 0x2c, 0x62, 0x19, 0x4a, 0x52, 0x36,
+ 0xa6, 0x21, 0xc9, 0xd0, 0xa4, 0x87, 0x22, 0x36, 0x22, 0x61, 0x36, 0xf4, 0x8f, 0x30, 0x8d, 0x87,
+ 0x21, 0x8d, 0x8f, 0x33, 0x3b, 0x49, 0x19, 0x67, 0x10, 0x2a, 0xb0, 0x5d, 0x82, 0xed, 0x49, 0x6f,
+ 0xbb, 0x15, 0xb0, 0x80, 0x49, 0x37, 0x12, 0x27, 0x85, 0xdc, 0x7e, 0x1a, 0x30, 0x16, 0x84, 0x04,
+ 0xc9, 0x9b, 0x97, 0x8f, 0x11, 0x8e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 0x2d, 0x55, 0xee, 0xb2, 0x28,
+ 0xc1, 0x3e, 0x77, 0x28, 0x1f, 0x08, 0x9a, 0xfb, 0xb6, 0xa7, 0x4f, 0x62, 0xaa, 0x17, 0xfa, 0xc4,
+ 0xc2, 0xdc, 0xb8, 0xeb, 0x03, 0x71, 0x57, 0x70, 0xf7, 0x2b, 0xc4, 0xf9, 0xee, 0xec, 0xb2, 0x63,
+ 0x9c, 0x5f, 0x76, 0x8c, 0xbf, 0x2e, 0x3b, 0xc6, 0xc9, 0x55, 0xa7, 0x72, 0x7e, 0xd5, 0xa9, 0x5c,
+ 0x5c, 0x75, 0x2a, 0xdf, 0x7f, 0x11, 0x50, 0x7e, 0x94, 0x7b, 0xb6, 0xcf, 0x22, 0xa4, 0xc2, 0xec,
+ 0x84, 0xd8, 0xcb, 0xf4, 0x19, 0x4d, 0x3e, 0x45, 0xd3, 0xe5, 0x0f, 0x30, 0x24, 0x01, 0xf6, 0x0b,
+ 0x34, 0x79, 0x8d, 0x78, 0x91, 0x90, 0xcc, 0xdb, 0x92, 0xf2, 0x5e, 0xfe, 0x13, 0x00, 0x00, 0xff,
+ 0xff, 0xa8, 0x71, 0x5d, 0xcb, 0x2a, 0x07, 0x00, 0x00,
}
func (this *ChainLink) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v5/types/models_dtag_requests.pb.go b/x/profiles/legacy/v5/types/models_dtag_requests.pb.go
index f50907cccf..e757f6a0c3 100644
--- a/x/profiles/legacy/v5/types/models_dtag_requests.pb.go
+++ b/x/profiles/legacy/v5/types/models_dtag_requests.pb.go
@@ -77,27 +77,27 @@ func init() {
}
var fileDescriptor_3722cfac854d7654 = []byte{
- // 309 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xd0, 0xb1, 0x4e, 0xc3, 0x30,
- 0x10, 0x06, 0xe0, 0x18, 0xa4, 0x0a, 0x52, 0x2a, 0x44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29, 0xb0, 0xb3, 0x2d, 0xb0, 0xf3,
+ 0x51, 0x60, 0xe7, 0xfe, 0x9a, 0xcf, 0xf5, 0xc3, 0x6a, 0x12, 0x4c, 0x45, 0x42, 0x6d, 0x3b, 0xbd,
+ 0x98, 0x4d, 0x54, 0x3d, 0xd3, 0xf4, 0x8a, 0x3e, 0xfd, 0xb6, 0x1b, 0x03, 0x67, 0xd3, 0x35, 0x4d,
+ 0x2f, 0xa9, 0x5e, 0x2f, 0x41, 0x4d, 0x1a, 0xa6, 0xac, 0x8b, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff,
+ 0x82, 0xc2, 0x92, 0x90, 0x87, 0x01, 0x00, 0x00,
}
func (this *DTagTransferRequest) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v5/types/models_params.go b/x/profiles/legacy/v5/types/models_params.go
index d7bd4dbf12..147916d5d8 100644
--- a/x/profiles/legacy/v5/types/models_params.go
+++ b/x/profiles/legacy/v5/types/models_params.go
@@ -20,12 +20,12 @@ const (
// Default profile paramsModule
var (
- DefaultMinNicknameLength = sdk.NewInt(2)
- DefaultMaxNicknameLength = sdk.NewInt(1000) // Longest name on earth count 954 chars
+ DefaultMinNicknameLength = math.NewInt(2)
+ DefaultMaxNicknameLength = math.NewInt(1000) // Longest name on earth count 954 chars
DefaultRegEx = `^[A-Za-z0-9_]+$`
- DefaultMinDTagLength = sdk.NewInt(3)
- DefaultMaxDTagLength = sdk.NewInt(30)
- DefaultMaxBioLength = sdk.NewInt(1000)
+ DefaultMinDTagLength = math.NewInt(3)
+ DefaultMaxDTagLength = math.NewInt(30)
+ DefaultMaxBioLength = math.NewInt(1000)
)
// Parameters store keys
@@ -231,7 +231,7 @@ func DefaultOracleParams() OracleParams {
1,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
)
}
diff --git a/x/profiles/legacy/v5/types/models_params.pb.go b/x/profiles/legacy/v5/types/models_params.pb.go
index acff445da5..20e01fe469 100644
--- a/x/profiles/legacy/v5/types/models_params.pb.go
+++ b/x/profiles/legacy/v5/types/models_params.pb.go
@@ -4,6 +4,7 @@
package types
import (
+ cosmossdk_io_math "cosmossdk.io/math"
fmt "fmt"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
@@ -68,8 +69,8 @@ var xxx_messageInfo_Params proto.InternalMessageInfo
// NicknameParams defines the parameters related to the profiles nicknames
type NicknameParams struct {
- MinLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_length" yaml:"min_length"`
- MaxLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=max_length,json=maxLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_length" yaml:"max_length"`
+ MinLength cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3,customtype=cosmossdk.io/math.Int" json:"min_length" yaml:"min_length"`
+ MaxLength cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=max_length,json=maxLength,proto3,customtype=cosmossdk.io/math.Int" json:"max_length" yaml:"max_length"`
}
func (m *NicknameParams) Reset() { *m = NicknameParams{} }
@@ -107,9 +108,9 @@ var xxx_messageInfo_NicknameParams proto.InternalMessageInfo
// DTagParams defines the parameters related to profile DTags
type DTagParams struct {
- RegEx string `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"`
- MinLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=min_length,json=minLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_length" yaml:"min_length"`
- MaxLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_length" yaml:"max_length"`
+ RegEx string `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"`
+ MinLength cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=min_length,json=minLength,proto3,customtype=cosmossdk.io/math.Int" json:"min_length" yaml:"min_length"`
+ MaxLength cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=cosmossdk.io/math.Int" json:"max_length" yaml:"max_length"`
}
func (m *DTagParams) Reset() { *m = DTagParams{} }
@@ -147,7 +148,7 @@ var xxx_messageInfo_DTagParams proto.InternalMessageInfo
// BioParams defines the parameters related to profile biography
type BioParams struct {
- MaxLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_length" yaml:"max_length"`
+ MaxLength cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=cosmossdk.io/math.Int" json:"max_length" yaml:"max_length"`
}
func (m *BioParams) Reset() { *m = BioParams{} }
@@ -252,51 +253,52 @@ func init() {
}
var fileDescriptor_1b093f5fee9c9f7d = []byte{
- // 702 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xcb, 0x6e, 0xd3, 0x40,
- 0x14, 0x86, 0x73, 0x71, 0xa3, 0x78, 0x52, 0x2e, 0xb5, 0x0a, 0x84, 0x22, 0xec, 0x68, 0x16, 0x55,
- 0x36, 0xb5, 0xd5, 0x20, 0x84, 0x54, 0xc4, 0x02, 0xa7, 0x15, 0xaa, 0x04, 0xb4, 0x32, 0x20, 0x24,
- 0x36, 0xd6, 0xd8, 0x99, 0xba, 0x56, 0x6c, 0x8f, 0xe5, 0x71, 0xa2, 0x74, 0xc5, 0x96, 0x25, 0x4f,
- 0x80, 0x58, 0x23, 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0xac, 0xb2, 0xa0, 0x67, 0xe5, 0x87, 0x29, 0x66, 0x9c, 0xc2, 0x1c, 0x75, 0x0f, 0xe3, 0xfb, 0x5c,
+ 0x27, 0xc6, 0x65, 0xbf, 0x38, 0x1a, 0xea, 0xd5, 0xe3, 0xa1, 0x5e, 0xfd, 0x36, 0xd4, 0xab, 0x6f,
+ 0x4f, 0xf4, 0xca, 0xf1, 0x89, 0x5e, 0xf9, 0x7c, 0xa2, 0x57, 0x5e, 0xdd, 0x99, 0x81, 0x8a, 0xed,
+ 0xb1, 0x1a, 0x21, 0x8f, 0x49, 0xdb, 0xea, 0xdf, 0xb2, 0x06, 0xd3, 0x5d, 0x1e, 0xe1, 0x10, 0xf9,
+ 0x87, 0x56, 0xff, 0xa6, 0xb8, 0xcd, 0xab, 0xf3, 0x0d, 0x7c, 0xe3, 0x47, 0x00, 0x00, 0x00, 0xff,
+ 0xff, 0xe8, 0x1b, 0x52, 0x07, 0xf5, 0x05, 0x00, 0x00,
}
func (m *Params) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/legacy/v5/types/models_profile.go b/x/profiles/legacy/v5/types/models_profile.go
index 62c8f5664b..d8daeccffa 100644
--- a/x/profiles/legacy/v5/types/models_profile.go
+++ b/x/profiles/legacy/v5/types/models_profile.go
@@ -14,18 +14,17 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/ghodss/yaml"
"github.com/gogo/protobuf/proto"
)
var (
- _ authtypes.AccountI = (*Profile)(nil)
+ _ sdk.AccountI = (*Profile)(nil)
_ exported.VestingAccount = (*Profile)(nil)
)
// NewProfile builds a new profile having the given DTag, creator and creation date
-func NewProfile(dTag string, nickname, bio string, pictures Pictures, creationDate time.Time, account authtypes.AccountI) (*Profile, error) {
+func NewProfile(dTag string, nickname, bio string, pictures Pictures, creationDate time.Time, account sdk.AccountI) (*Profile, error) {
// Make sure myAccount is a proto.Message, e.g. a BaseAccount etc.
protoAccount, ok := account.(proto.Message)
if !ok {
@@ -48,7 +47,7 @@ func NewProfile(dTag string, nickname, bio string, pictures Pictures, creationDa
}
// NewProfileFromAccount allows to build a new Profile instance from a provided DTag, and account and a creation time
-func NewProfileFromAccount(dTag string, account authtypes.AccountI, creationTime time.Time) (*Profile, error) {
+func NewProfileFromAccount(dTag string, account sdk.AccountI, creationTime time.Time) (*Profile, error) {
return NewProfile(
dTag,
"",
@@ -59,9 +58,9 @@ func NewProfileFromAccount(dTag string, account authtypes.AccountI, creationTime
)
}
-// GetAccount returns the underlying account as an authtypes.AccountI instance
-func (p *Profile) GetAccount() authtypes.AccountI {
- return p.Account.GetCachedValue().(authtypes.AccountI)
+// GetAccount returns the underlying account as an sdk.AccountI instance
+func (p *Profile) GetAccount() sdk.AccountI {
+ return p.Account.GetCachedValue().(sdk.AccountI)
}
// getVestingAccount returns the underlying account as an exported.VestingAccount instance
@@ -75,7 +74,7 @@ func (p *Profile) getVestingAccount() exported.VestingAccount {
// setAccount sets the given account as the underlying account instance.
// This should be called after updating anything about the account (eg. after calling SetSequence).
-func (p *Profile) setAccount(account authtypes.AccountI) error {
+func (p *Profile) setAccount(account sdk.AccountI) error {
accAny, err := codectypes.NewAnyWithValue(account)
if err != nil {
return err
@@ -85,12 +84,12 @@ func (p *Profile) setAccount(account authtypes.AccountI) error {
return nil
}
-// GetAddress implements authtypes.AccountI
+// GetAddress implements sdk.AccountI
func (p *Profile) GetAddress() sdk.AccAddress {
return p.GetAccount().GetAddress()
}
-// SetAddress implements authtypes.AccountI
+// SetAddress implements sdk.AccountI
func (p *Profile) SetAddress(addr sdk.AccAddress) error {
acc := p.GetAccount()
err := acc.SetAddress(addr)
@@ -101,12 +100,12 @@ func (p *Profile) SetAddress(addr sdk.AccAddress) error {
return p.setAccount(acc)
}
-// GetPubKey implements authtypes.AccountI
+// GetPubKey implements sdk.AccountI
func (p *Profile) GetPubKey() cryptotypes.PubKey {
return p.GetAccount().GetPubKey()
}
-// SetPubKey implements authtypes.AccountI
+// SetPubKey implements sdk.AccountI
func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error {
acc := p.GetAccount()
err := acc.SetPubKey(pubKey)
@@ -117,12 +116,12 @@ func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error {
return p.setAccount(acc)
}
-// GetAccountNumber implements authtypes.AccountI
+// GetAccountNumber implements sdk.AccountI
func (p *Profile) GetAccountNumber() uint64 {
return p.GetAccount().GetAccountNumber()
}
-// SetAccountNumber implements authtypes.AccountI
+// SetAccountNumber implements sdk.AccountI
func (p *Profile) SetAccountNumber(accountNumber uint64) error {
acc := p.GetAccount()
err := acc.SetAccountNumber(accountNumber)
@@ -133,12 +132,12 @@ func (p *Profile) SetAccountNumber(accountNumber uint64) error {
return p.setAccount(acc)
}
-// GetSequence implements authtypes.AccountI
+// GetSequence implements sdk.AccountI
func (p *Profile) GetSequence() uint64 {
return p.GetAccount().GetSequence()
}
-// SetSequence implements authtypes.AccountI
+// SetSequence implements sdk.AccountI
func (p *Profile) SetSequence(sequence uint64) error {
acc := p.GetAccount()
err := acc.SetSequence(sequence)
@@ -252,7 +251,7 @@ func (p *Profile) GetDelegatedVesting() sdk.Coins {
// UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (p *Profile) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
if p.Account != nil {
- var account authtypes.AccountI
+ var account sdk.AccountI
err := unpacker.UnpackAny(p.Account, &account)
if err != nil {
return err
@@ -276,7 +275,7 @@ type profilePretty struct {
CreationDate time.Time `json:"creation_date" yaml:"creation_date"`
}
-// String implements authtypes.AccountIย implements stringer
+// String implements sdk.AccountIย implements stringer
func (p *Profile) String() string {
out, _ := p.MarshalYAML()
return out.(string)
diff --git a/x/profiles/legacy/v5/types/models_profile.pb.go b/x/profiles/legacy/v5/types/models_profile.pb.go
index fd18b6bab5..ef9822f02c 100644
--- a/x/profiles/legacy/v5/types/models_profile.pb.go
+++ b/x/profiles/legacy/v5/types/models_profile.pb.go
@@ -143,39 +143,39 @@ func init() {
}
var fileDescriptor_089dd63594c4b06b = []byte{
- // 503 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0xb1, 0x6e, 0xdb, 0x3c,
- 0x14, 0x85, 0xa5, 0xdf, 0x4e, 0xec, 0x30, 0xf9, 0xd3, 0x82, 0x35, 0x10, 0xd5, 0x08, 0x44, 0x83,
- 0x43, 0x1b, 0xa0, 0x0d, 0x89, 0xb8, 0xe8, 0xe2, 0x4e, 0x11, 0xb2, 0x74, 0x73, 0x85, 0x74, 0xe9,
- 0x62, 0x50, 0x32, 0xa3, 0xa8, 0x95, 0x44, 0xc3, 0xa2, 0x8d, 0xea, 0x0d, 0x3a, 0x66, 0x0c, 0xd0,
- 0xc5, 0x0f, 0xd1, 0x87, 0x08, 0x3a, 0x65, 0xec, 0xa4, 0x16, 0xf6, 0xd2, 0x59, 0x4f, 0x50, 0x48,
- 0x24, 0x13, 0xb4, 0xd9, 0xc8, 0x7b, 0xbe, 0x7b, 0xee, 0xd5, 0xa1, 0xc0, 0xf3, 0x29, 0xcf, 0x53,
- 0x91, 0xd3, 0xd9, 0x5c, 0x5c, 0xc4, 0x09, 0xcf, 0xe9, 0x72, 0x48, 0x53, 0x31, 0xe5, 0x49, 0x3e,
- 0xd1, 0x25, 0x32, 0x9b, 0x0b, 0x29, 0x20, 0x54, 0x20, 0x31, 0x20, 0x59, 0x0e, 0xfb, 0xbd, 0x48,
- 0x44, 0xa2, 0x91, 0x69, 0x7d, 0x52, 0x64, 0xff, 0x69, 0x24, 0x44, 0x94, 0x70, 0xda, 0xdc, 0x82,
- 0xc5, 0x05, 0x65, 0x59, 0xa1, 0x25, 0xf4, 0xaf, 0x24, 0xe3, 0x94, 0xe7, 0x92, 0xa5, 0x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x3b, 0xdb, 0x8d, 0x6f, 0xff, 0x41, 0x54, 0xe7, 0xe6, 0x11, 0xbc, 0x81, 0x76,
- 0xed, 0x29, 0xd7, 0xbf, 0xda, 0xf1, 0xd5, 0x4f, 0x64, 0xfb, 0x7b, 0xa6, 0x76, 0xc6, 0x24, 0x1f,
- 0x75, 0xbf, 0xac, 0x90, 0x75, 0xbd, 0x42, 0x16, 0xfe, 0x08, 0xba, 0x66, 0x37, 0xf8, 0x12, 0x74,
- 0xf4, 0xce, 0xcd, 0xeb, 0xec, 0x78, 0xb0, 0x2a, 0xd1, 0xbe, 0x5e, 0x54, 0x09, 0xd8, 0x37, 0x08,
- 0x7c, 0x06, 0xb6, 0x42, 0xb1, 0xe4, 0x73, 0x1d, 0xfd, 0xe3, 0xaa, 0x44, 0x7b, 0x7a, 0x7c, 0x5d,
- 0xc6, 0xbe, 0x92, 0x47, 0xdd, 0xeb, 0x15, 0xb2, 0x7f, 0xaf, 0x90, 0xed, 0xbd, 0xbf, 0x59, 0xbb,
- 0xf6, 0xed, 0xda, 0xb5, 0x7f, 0xad, 0x5d, 0xfb, 0x6a, 0xe3, 0x5a, 0xb7, 0x1b, 0xd7, 0xfa, 0xb1,
- 0x71, 0xad, 0x0f, 0x6f, 0xa2, 0x58, 0x5e, 0x2e, 0x02, 0x12, 0x8a, 0x94, 0xaa, 0xf4, 0x8e, 0x13,
- 0x16, 0xe4, 0xfa, 0x4c, 0x97, 0xaf, 0xe9, 0xe7, 0xfb, 0x3f, 0x3d, 0xe1, 0x11, 0x0b, 0x8b, 0xba,
- 0x28, 0x8b, 0x19, 0xcf, 0x83, 0xed, 0x26, 0x90, 0x57, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4,
- 0x50, 0xd6, 0x01, 0x13, 0x03, 0x00, 0x00,
+ // 504 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x92, 0xb1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, 0x89, 0x2c, 0xfc, 0x09, 0x74, 0xcc, 0x6e, 0xf0, 0x25, 0x68, 0xeb,
+ 0x9d, 0x9b, 0xd7, 0xd9, 0xf6, 0x60, 0x55, 0xa2, 0x3d, 0xbd, 0xa8, 0x12, 0xb0, 0x6f, 0x10, 0xf8,
+ 0x0c, 0x6c, 0x86, 0xa2, 0xe0, 0x33, 0x1d, 0xfd, 0xe3, 0xaa, 0x44, 0xbb, 0x7a, 0x7c, 0x5d, 0xc6,
+ 0xbe, 0x92, 0x87, 0x9d, 0xab, 0x25, 0xb2, 0xff, 0x2c, 0x91, 0xed, 0x7d, 0xb8, 0x5e, 0xb9, 0xf6,
+ 0xcd, 0xca, 0xb5, 0x7f, 0xaf, 0x5c, 0xfb, 0x72, 0xed, 0x5a, 0x37, 0x6b, 0xd7, 0xfa, 0xb9, 0x76,
+ 0xad, 0x8f, 0x6f, 0xa3, 0x58, 0x5e, 0xcc, 0x03, 0x12, 0x8a, 0x94, 0xaa, 0xf4, 0x8e, 0x12, 0x16,
+ 0xe4, 0xfa, 0x4c, 0x8b, 0x37, 0xf4, 0xcb, 0xdd, 0x9f, 0x9e, 0xf0, 0x88, 0x85, 0x0b, 0x5a, 0xbc,
+ 0xa6, 0x72, 0x31, 0xe5, 0x79, 0xb0, 0xd5, 0x04, 0xf2, 0xea, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff,
+ 0x5a, 0x2b, 0x36, 0x65, 0x13, 0x03, 0x00, 0x00,
}
func (this *Pictures) Equal(that interface{}) bool {
diff --git a/x/profiles/legacy/v6/store.go b/x/profiles/legacy/v6/store.go
index 9fe09d04af..cccfba76ce 100644
--- a/x/profiles/legacy/v6/store.go
+++ b/x/profiles/legacy/v6/store.go
@@ -3,19 +3,18 @@ package v6
import (
"fmt"
+ storetypes "cosmossdk.io/store/types"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
v5types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v5/types"
- "github.com/cosmos/cosmos-sdk/store/prefix"
+ "cosmossdk.io/store/prefix"
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
)
@@ -60,7 +59,7 @@ func MigrateStore(ctx sdk.Context, ak authkeeper.AccountKeeper, storeKey storety
// The migration from v5 to v6 is skipped because the two types are identical (from v5 to v6 no changes were made).
func migrateProfiles(ctx sdk.Context, ak authkeeper.AccountKeeper) error {
var profiles []*v5types.Profile
- ak.IterateAccounts(ctx, func(account authtypes.AccountI) (stop bool) {
+ ak.IterateAccounts(ctx, func(account sdk.AccountI) (stop bool) {
if profile, ok := account.(*v5types.Profile); ok {
profiles = append(profiles, profile)
}
@@ -90,7 +89,7 @@ func migrateProfiles(ctx sdk.Context, ak authkeeper.AccountKeeper) error {
// migrateApplicationLinks migrates the application links from v5 to v7 adding the expiration date properly.
// The migration from v5 to v6 is skipped because the two types are identical (from v5 to v6 no changes were made).
-func migrateApplicationLinks(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateApplicationLinks(store storetypes.KVStore, cdc codec.BinaryCodec) error {
appLinksStore := prefix.NewStore(store, types.ApplicationLinkPrefix)
iterator := appLinksStore.Iterator(nil, nil)
@@ -177,7 +176,7 @@ func convertApplicationLinkResult(v5Result *v5types.Result) *types.Result {
// migrateChainLinks migrates the chain links from v5 to v7 by changing the various Protobuf interface types.
// The migration from v5 to v6 is skipped because the two types are identical (from v5 to v6 no changes were made).
-func migrateChainLinks(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateChainLinks(store storetypes.KVStore, cdc codec.BinaryCodec) error {
appLinksStore := prefix.NewStore(store, types.ChainLinksPrefix)
iterator := appLinksStore.Iterator(nil, nil)
@@ -298,7 +297,7 @@ func convertChainLinkSignatureData(data *codectypes.Any, cdc codec.BinaryCodec)
}
// setDefaultExternalAddresses set the default external address of each chain for each owner
-func setDefaultExternalAddresses(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func setDefaultExternalAddresses(store storetypes.KVStore, cdc codec.BinaryCodec) error {
chainLinkStore := prefix.NewStore(store, types.ChainLinksPrefix)
chainLinksIterator := chainLinkStore.Iterator(nil, nil)
defer chainLinksIterator.Close()
diff --git a/x/profiles/legacy/v6/store_test.go b/x/profiles/legacy/v6/store_test.go
index cbe64973f0..799546c1ac 100644
--- a/x/profiles/legacy/v6/store_test.go
+++ b/x/profiles/legacy/v6/store_test.go
@@ -5,21 +5,24 @@ import (
"testing"
"time"
+ "github.com/cosmos/cosmos-sdk/codec/address"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
+ "github.com/cosmos/cosmos-sdk/runtime"
v5types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v5/types"
v6 "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v6"
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
- dbm "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ dbm "github.com/cosmos/cosmos-db"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
@@ -35,7 +38,7 @@ func buildContext(
keys map[string]*storetypes.KVStoreKey, tKeys map[string]*storetypes.TransientStoreKey, memKeys map[string]*storetypes.MemoryStoreKey,
) sdk.Context {
db := dbm.NewMemDB()
- cms := store.NewCommitMultiStore(db)
+ cms := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
cms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, db)
}
@@ -58,16 +61,17 @@ func TestMigrateStore(t *testing.T) {
cdc, legacyAmino := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
// Build the x/auth keeper
authKeeper := authkeeper.NewAccountKeeper(
cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
diff --git a/x/profiles/legacy/v7/store_test.go b/x/profiles/legacy/v7/store_test.go
index 9e2fec8ce5..03f269024b 100644
--- a/x/profiles/legacy/v7/store_test.go
+++ b/x/profiles/legacy/v7/store_test.go
@@ -5,15 +5,16 @@ import (
v7 "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v7"
- dbm "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ dbm "github.com/cosmos/cosmos-db"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -26,7 +27,7 @@ func buildContext(
keys map[string]*storetypes.KVStoreKey, tKeys map[string]*storetypes.TransientStoreKey, memKeys map[string]*storetypes.MemoryStoreKey,
) sdk.Context {
db := dbm.NewMemDB()
- cms := store.NewCommitMultiStore(db)
+ cms := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
cms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, db)
}
@@ -49,9 +50,9 @@ func TestMigrateStore(t *testing.T) {
cdc, legacyAmino := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(authtypes.StoreKey, paramstypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, paramstypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
// Get the params subspace
paramsKeeper := paramskeeper.NewKeeper(cdc, legacyAmino, keys[paramstypes.StoreKey], tKeys[paramstypes.TStoreKey])
diff --git a/x/profiles/legacy/v8/store.go b/x/profiles/legacy/v8/store.go
index 39c38cd46f..a5f4c53d50 100644
--- a/x/profiles/legacy/v8/store.go
+++ b/x/profiles/legacy/v8/store.go
@@ -5,9 +5,9 @@ import (
"encoding/hex"
"fmt"
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
"github.com/cosmos/cosmos-sdk/codec"
@@ -37,7 +37,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
// During the migration from v6 to v7 there was an error which ended up setting all chain link value types to
// SIGNATURE_VALUE_TYPE_COSMOS_DIRECT. This script fixes that by setting the proper value type based on the plain
// text encode that has been used when creating the signature.
-func migrateChainLinks(store sdk.KVStore, cdc codec.BinaryCodec, amino *codec.LegacyAmino) error {
+func migrateChainLinks(store storetypes.KVStore, cdc codec.BinaryCodec, amino *codec.LegacyAmino) error {
chainLinksStore := prefix.NewStore(store, types.ChainLinksPrefix)
iterator := chainLinksStore.Iterator(nil, nil)
diff --git a/x/profiles/legacy/v8/store_test.go b/x/profiles/legacy/v8/store_test.go
index e11d482447..e4a7e96b2f 100644
--- a/x/profiles/legacy/v8/store_test.go
+++ b/x/profiles/legacy/v8/store_test.go
@@ -9,14 +9,15 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
- dbm "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ dbm "github.com/cosmos/cosmos-db"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -29,7 +30,7 @@ func buildContext(
keys map[string]*storetypes.KVStoreKey, tKeys map[string]*storetypes.TransientStoreKey, memKeys map[string]*storetypes.MemoryStoreKey,
) sdk.Context {
db := dbm.NewMemDB()
- cms := store.NewCommitMultiStore(db)
+ cms := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
cms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, db)
}
@@ -52,9 +53,9 @@ func TestMigrateStore(t *testing.T) {
cdc, legacyAmino := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
pubKey := secp256k1.GenPrivKey().PubKey()
testCases := []struct {
diff --git a/x/profiles/legacy/v9/store.go b/x/profiles/legacy/v9/store.go
index 62f1802496..332363e274 100644
--- a/x/profiles/legacy/v9/store.go
+++ b/x/profiles/legacy/v9/store.go
@@ -1,8 +1,8 @@
package v9
import (
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
diff --git a/x/profiles/legacy/v9/store_test.go b/x/profiles/legacy/v9/store_test.go
index 99d7b91f08..955063829f 100644
--- a/x/profiles/legacy/v9/store_test.go
+++ b/x/profiles/legacy/v9/store_test.go
@@ -3,6 +3,7 @@ package v9_test
import (
"testing"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
@@ -30,7 +31,7 @@ func (ms mockSubspace) GetParamSet(ctx sdk.Context, ps paramstypes.ParamSet) {
func TestMigrate(t *testing.T) {
cdc, _ := app.MakeCodecs()
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
testCases := []struct {
name string
diff --git a/x/profiles/module.go b/x/profiles/module.go
index a278c414ef..a18585f026 100644
--- a/x/profiles/module.go
+++ b/x/profiles/module.go
@@ -8,9 +8,9 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/client"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -48,7 +48,7 @@ var (
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
+ _ appmodule.HasBeginBlocker = AppModule{}
)
// AppModuleBasic defines the basic application module used by the profiles module.
@@ -203,14 +203,10 @@ func (AppModule) ConsensusVersion() uint64 {
}
// BeginBlock returns the begin blocker for the profiles module.
-func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
- BeginBlocker(ctx, am.keeper)
-}
-
-// EndBlock returns the end blocker for the profiles module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return []abci.ValidatorUpdate{}
+func (am AppModule) BeginBlock(ctx context.Context) error {
+ sdkCtx := sdk.UnwrapSDKContext(ctx)
+ BeginBlocker(sdkCtx, am.keeper)
+ return nil
}
// --------------------------------------------------------------------------------------------------------------------
@@ -229,7 +225,7 @@ func (AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.Weight
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/profiles/simulation/operations.go b/x/profiles/simulation/operations.go
index 2c6d1374eb..5771c56082 100644
--- a/x/profiles/simulation/operations.go
+++ b/x/profiles/simulation/operations.go
@@ -39,63 +39,63 @@ func WeightedOperations(
k *keeper.Keeper, ak authkeeper.AccountKeeper, bk bankkeeper.Keeper,
) sim.WeightedOperations {
var weightMsgSaveProfile int
- appParams.GetOrGenerate(cdc, OpWeightMsgSaveProfile, &weightMsgSaveProfile, nil,
+ appParams.GetOrGenerate(OpWeightMsgSaveProfile, &weightMsgSaveProfile, nil,
func(_ *rand.Rand) {
weightMsgSaveProfile = params.DefaultWeightMsgSaveProfile
},
)
var weightMsgDeleteProfile int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeleteProfile, &weightMsgDeleteProfile, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeleteProfile, &weightMsgDeleteProfile, nil,
func(_ *rand.Rand) {
weightMsgDeleteProfile = params.DefaultWeightMsgDeleteProfile
},
)
var weightMsgRequestDTagTransfer int
- appParams.GetOrGenerate(cdc, OpWeightMsgRequestDTagTransfer, &weightMsgRequestDTagTransfer, nil,
+ appParams.GetOrGenerate(OpWeightMsgRequestDTagTransfer, &weightMsgRequestDTagTransfer, nil,
func(_ *rand.Rand) {
weightMsgRequestDTagTransfer = params.DefaultWeightMsgRequestDTagTransfer
},
)
var weightMsgAcceptDTagTransfer int
- appParams.GetOrGenerate(cdc, OpWeightMsgAcceptDTagTransfer, &weightMsgAcceptDTagTransfer, nil,
+ appParams.GetOrGenerate(OpWeightMsgAcceptDTagTransfer, &weightMsgAcceptDTagTransfer, nil,
func(_ *rand.Rand) {
weightMsgAcceptDTagTransfer = params.DefaultWeightMsgAcceptDTagTransfer
},
)
var weightMsgRefuseDTagTransfer int
- appParams.GetOrGenerate(cdc, OpWeightMsgRefuseDTagTransfer, &weightMsgRefuseDTagTransfer, nil,
+ appParams.GetOrGenerate(OpWeightMsgRefuseDTagTransfer, &weightMsgRefuseDTagTransfer, nil,
func(r *rand.Rand) {
weightMsgRefuseDTagTransfer = params.DefaultWeightMsgRefuseDTagTransfer
},
)
var weightMsgCancelDTagTransfer int
- appParams.GetOrGenerate(cdc, OpWeightMsgCancelDTagTransfer, &weightMsgCancelDTagTransfer, nil,
+ appParams.GetOrGenerate(OpWeightMsgCancelDTagTransfer, &weightMsgCancelDTagTransfer, nil,
func(r *rand.Rand) {
weightMsgCancelDTagTransfer = params.DefaultWeightMsgCancelDTagTransfer
},
)
var weightMsgLinkChainAccount int
- appParams.GetOrGenerate(cdc, OpWeightMsgLinkChainAccount, &weightMsgLinkChainAccount, nil,
+ appParams.GetOrGenerate(OpWeightMsgLinkChainAccount, &weightMsgLinkChainAccount, nil,
func(r *rand.Rand) {
weightMsgLinkChainAccount = params.DefaultWeightMsgLinkChainAccount
},
)
var weightMsgUnlinkChainAccount int
- appParams.GetOrGenerate(cdc, OpWeightMsgUnlinkChainAccount, &weightMsgUnlinkChainAccount, nil,
+ appParams.GetOrGenerate(OpWeightMsgUnlinkChainAccount, &weightMsgUnlinkChainAccount, nil,
func(r *rand.Rand) {
weightMsgUnlinkChainAccount = params.DefaultWeightMsgUnlinkChainAccount
},
)
var weightMsgSetDefaultExternalAddress int
- appParams.GetOrGenerate(cdc, OpWeightMsgLinkChainAccount, &weightMsgSetDefaultExternalAddress, nil,
+ appParams.GetOrGenerate(OpWeightMsgLinkChainAccount, &weightMsgSetDefaultExternalAddress, nil,
func(r *rand.Rand) {
weightMsgSetDefaultExternalAddress = params.DefaultWeightMsgSetDefaultExternalAddress
},
diff --git a/x/profiles/simulation/utils.go b/x/profiles/simulation/utils.go
index ace6bbd90d..06dc7495ba 100644
--- a/x/profiles/simulation/utils.go
+++ b/x/profiles/simulation/utils.go
@@ -6,6 +6,7 @@ import (
"math/rand"
"time"
+ "cosmossdk.io/math"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -46,14 +47,14 @@ var (
}
feeCoins = sdk.NewCoins(
- sdk.NewCoin("band", sdk.NewInt(10)),
- sdk.NewCoin("atom", sdk.NewInt(10)),
- sdk.NewCoin("desmos", sdk.NewInt(10)),
- sdk.NewCoin("akt", sdk.NewInt(10)),
- sdk.NewCoin("dvpn", sdk.NewInt(10)),
- sdk.NewCoin("daric", sdk.NewInt(10)),
- sdk.NewCoin("osmo", sdk.NewInt(10)),
- sdk.NewCoin("regen", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
+ sdk.NewCoin("atom", math.NewInt(10)),
+ sdk.NewCoin("desmos", math.NewInt(10)),
+ sdk.NewCoin("akt", math.NewInt(10)),
+ sdk.NewCoin("dvpn", math.NewInt(10)),
+ sdk.NewCoin("daric", math.NewInt(10)),
+ sdk.NewCoin("osmo", math.NewInt(10)),
+ sdk.NewCoin("regen", math.NewInt(10)),
)
)
@@ -75,7 +76,7 @@ func NewRandomProfiles(r *rand.Rand, accounts []simtypes.Account, number int) []
// NewRandomProfile return a random ProfileData from random data and the given account
//
//nolint:interfacer
-func NewRandomProfile(r *rand.Rand, account authtypes.AccountI) *types.Profile {
+func NewRandomProfile(r *rand.Rand, account sdk.AccountI) *types.Profile {
profile, err := types.NewProfile(
RandomDTag(r),
RandomNickname(r),
@@ -149,21 +150,21 @@ func GetSimAccount(address sdk.Address, accs []simtypes.Account) *simtypes.Accou
// RandomNicknameParams return a random set of nickname params
func RandomNicknameParams(r *rand.Rand) types.NicknameParams {
- randomMin := sdk.NewInt(int64(simtypes.RandIntBetween(r, 2, 3)))
- randomMax := sdk.NewInt(int64(simtypes.RandIntBetween(r, 30, 1000)))
+ randomMin := math.NewInt(int64(simtypes.RandIntBetween(r, 2, 3)))
+ randomMax := math.NewInt(int64(simtypes.RandIntBetween(r, 30, 1000)))
return types.NewNicknameParams(randomMin, randomMax)
}
// RandomDTagParams return a random set of nickname params
func RandomDTagParams(r *rand.Rand) types.DTagParams {
- randomMin := sdk.NewInt(int64(simtypes.RandIntBetween(r, 3, 4)))
- randomMax := sdk.NewInt(int64(simtypes.RandIntBetween(r, 30, 50)))
+ randomMin := math.NewInt(int64(simtypes.RandIntBetween(r, 3, 4)))
+ randomMax := math.NewInt(int64(simtypes.RandIntBetween(r, 30, 50)))
return types.NewDTagParams("^[A-Za-z0-9_]+$", randomMin, randomMax)
}
// RandomBioParams return a random biography param
func RandomBioParams(r *rand.Rand) types.BioParams {
- randomMax := sdk.NewInt(int64(simtypes.RandIntBetween(r, 500, 1000)))
+ randomMax := math.NewInt(int64(simtypes.RandIntBetween(r, 500, 1000)))
return types.NewBioParams(randomMax)
}
diff --git a/x/profiles/testutil/expected_keepers_mocks.go b/x/profiles/testutil/expected_keepers_mocks.go
index d4852fd666..ed510caa9f 100644
--- a/x/profiles/testutil/expected_keepers_mocks.go
+++ b/x/profiles/testutil/expected_keepers_mocks.go
@@ -8,11 +8,11 @@ import (
reflect "reflect"
types "github.com/cosmos/cosmos-sdk/types"
- types0 "github.com/cosmos/cosmos-sdk/x/capability/types"
- types1 "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- types2 "github.com/cosmos/ibc-go/v7/modules/core/03-connection/types"
- types3 "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- exported "github.com/cosmos/ibc-go/v7/modules/core/exported"
+ types0 "github.com/cosmos/ibc-go/modules/capability/types"
+ types1 "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ types2 "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types"
+ types3 "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
+ exported "github.com/cosmos/ibc-go/v8/modules/core/exported"
gomock "github.com/golang/mock/gomock"
)
diff --git a/x/profiles/types/account.go b/x/profiles/types/account.go
index bad3ed8a95..5838d5958e 100644
--- a/x/profiles/types/account.go
+++ b/x/profiles/types/account.go
@@ -17,7 +17,7 @@ import (
)
var (
- _ authtypes.AccountI = (*Profile)(nil)
+ _ sdk.AccountI = (*Profile)(nil)
_ authtypes.GenesisAccount = (*Profile)(nil)
_ exported.VestingAccount = (*Profile)(nil)
)
@@ -25,7 +25,7 @@ var (
// NewProfile builds a new profile having the given DTag, creator and creation date
func NewProfile(
dTag string, nickname, bio string, pictures Pictures, creationDate time.Time,
- account authtypes.AccountI,
+ account sdk.AccountI,
) (*Profile, error) {
// Make sure myAccount is a proto.Message, e.g. a BaseAccount etc.
protoAccount, ok := account.(proto.Message)
@@ -49,7 +49,7 @@ func NewProfile(
}
// NewProfileFromAccount allows to build a new Profile instance from a provided DTag, and account and a creation time
-func NewProfileFromAccount(dTag string, account authtypes.AccountI, creationTime time.Time) (*Profile, error) {
+func NewProfileFromAccount(dTag string, account sdk.AccountI, creationTime time.Time) (*Profile, error) {
return NewProfile(
dTag,
"",
@@ -60,9 +60,9 @@ func NewProfileFromAccount(dTag string, account authtypes.AccountI, creationTime
)
}
-// GetAccount returns the underlying account as an authtypes.AccountI instance
-func (p *Profile) GetAccount() authtypes.AccountI {
- return p.Account.GetCachedValue().(authtypes.AccountI)
+// GetAccount returns the underlying account as an sdk.AccountI instance
+func (p *Profile) GetAccount() sdk.AccountI {
+ return p.Account.GetCachedValue().(sdk.AccountI)
}
// getVestingAccount returns the underlying account as an exported.VestingAccount instance
@@ -76,7 +76,7 @@ func (p *Profile) getVestingAccount() exported.VestingAccount {
// setAccount sets the given account as the underlying account instance.
// This should be called after updating anything about the account (eg. after calling SetSequence).
-func (p *Profile) setAccount(account authtypes.AccountI) error {
+func (p *Profile) setAccount(account sdk.AccountI) error {
accAny, err := codectypes.NewAnyWithValue(account)
if err != nil {
return err
@@ -86,12 +86,12 @@ func (p *Profile) setAccount(account authtypes.AccountI) error {
return nil
}
-// GetAddress implements authtypes.AccountI
+// GetAddress implements sdk.AccountI
func (p *Profile) GetAddress() sdk.AccAddress {
return p.GetAccount().GetAddress()
}
-// SetAddress implements authtypes.AccountI
+// SetAddress implements sdk.AccountI
func (p *Profile) SetAddress(addr sdk.AccAddress) error {
acc := p.GetAccount()
err := acc.SetAddress(addr)
@@ -102,12 +102,12 @@ func (p *Profile) SetAddress(addr sdk.AccAddress) error {
return p.setAccount(acc)
}
-// GetPubKey implements authtypes.AccountI
+// GetPubKey implements sdk.AccountI
func (p *Profile) GetPubKey() cryptotypes.PubKey {
return p.GetAccount().GetPubKey()
}
-// SetPubKey implements authtypes.AccountI
+// SetPubKey implements sdk.AccountI
func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error {
acc := p.GetAccount()
err := acc.SetPubKey(pubKey)
@@ -118,12 +118,12 @@ func (p *Profile) SetPubKey(pubKey cryptotypes.PubKey) error {
return p.setAccount(acc)
}
-// GetAccountNumber implements authtypes.AccountI
+// GetAccountNumber implements sdk.AccountI
func (p *Profile) GetAccountNumber() uint64 {
return p.GetAccount().GetAccountNumber()
}
-// SetAccountNumber implements authtypes.AccountI
+// SetAccountNumber implements sdk.AccountI
func (p *Profile) SetAccountNumber(accountNumber uint64) error {
acc := p.GetAccount()
err := acc.SetAccountNumber(accountNumber)
@@ -134,12 +134,12 @@ func (p *Profile) SetAccountNumber(accountNumber uint64) error {
return p.setAccount(acc)
}
-// GetSequence implements authtypes.AccountI
+// GetSequence implements sdk.AccountI
func (p *Profile) GetSequence() uint64 {
return p.GetAccount().GetSequence()
}
-// SetSequence implements authtypes.AccountI
+// SetSequence implements sdk.AccountI
func (p *Profile) SetSequence(sequence uint64) error {
acc := p.GetAccount()
err := acc.SetSequence(sequence)
@@ -253,7 +253,7 @@ func (p *Profile) GetDelegatedVesting() sdk.Coins {
// UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (p *Profile) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
if p.Account != nil {
- var account authtypes.AccountI
+ var account sdk.AccountI
err := unpacker.UnpackAny(p.Account, &account)
if err != nil {
return err
@@ -306,7 +306,7 @@ type profilePretty struct {
CreationDate time.Time `json:"creation_date" yaml:"creation_date"`
}
-// String implements authtypes.AccountIย implements stringer
+// String implements sdk.AccountIย implements stringer
func (p *Profile) String() string {
out, _ := p.MarshalYAML()
return out.(string)
diff --git a/x/profiles/types/account_test.go b/x/profiles/types/account_test.go
index 112a9865ce..617ae26ce2 100644
--- a/x/profiles/types/account_test.go
+++ b/x/profiles/types/account_test.go
@@ -4,6 +4,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
@@ -19,7 +20,7 @@ import (
func TestProfile_TrackDelegation(t *testing.T) {
// Create a profile with vesting account
- vestingAccount := vestingtypes.NewContinuousVestingAccount(
+ vestingAccount, _ := vestingtypes.NewContinuousVestingAccount(
&authtypes.BaseAccount{
Address: "cosmos1tdgrkvx2qgjk0uqsmdhm6dcz6wvwh9f8t37x0k",
PubKey: codectypes.UnsafePackAny(
@@ -30,7 +31,7 @@ func TestProfile_TrackDelegation(t *testing.T) {
AccountNumber: 0,
Sequence: 0,
},
- sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(1000))),
+ sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(1000))),
time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
time.Date(2100, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
)
@@ -46,10 +47,10 @@ func TestProfile_TrackDelegation(t *testing.T) {
)
// Execute track delegation
- profile.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))))
+ profile.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))))
// Setup expected vesting account
- expected := vestingtypes.NewContinuousVestingAccount(
+ expected, _ := vestingtypes.NewContinuousVestingAccount(
&authtypes.BaseAccount{
Address: "cosmos1tdgrkvx2qgjk0uqsmdhm6dcz6wvwh9f8t37x0k",
PubKey: codectypes.UnsafePackAny(
@@ -60,18 +61,18 @@ func TestProfile_TrackDelegation(t *testing.T) {
AccountNumber: 0,
Sequence: 0,
},
- sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(1000))),
+ sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(1000))),
time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
time.Date(2100, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
)
- expected.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))))
+ expected.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))))
require.Equal(t, expected, profile.GetAccount())
}
func TestProfile_TrackUndelegation(t *testing.T) {
// Create a profile with vesting account
- vestingAccount := vestingtypes.NewContinuousVestingAccount(
+ vestingAccount, _ := vestingtypes.NewContinuousVestingAccount(
&authtypes.BaseAccount{
Address: "cosmos1tdgrkvx2qgjk0uqsmdhm6dcz6wvwh9f8t37x0k",
PubKey: codectypes.UnsafePackAny(
@@ -82,7 +83,7 @@ func TestProfile_TrackUndelegation(t *testing.T) {
AccountNumber: 0,
Sequence: 0,
},
- sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(1000))),
+ sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(1000))),
time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
time.Date(2100, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
)
@@ -98,11 +99,11 @@ func TestProfile_TrackUndelegation(t *testing.T) {
)
// Execute track delegation
- profile.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(200))))
- profile.TrackUndelegation(sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))))
+ profile.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(200))))
+ profile.TrackUndelegation(sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))))
// Setup expected vesting account
- expected := vestingtypes.NewContinuousVestingAccount(
+ expected, _ := vestingtypes.NewContinuousVestingAccount(
&authtypes.BaseAccount{
Address: "cosmos1tdgrkvx2qgjk0uqsmdhm6dcz6wvwh9f8t37x0k",
PubKey: codectypes.UnsafePackAny(
@@ -113,12 +114,12 @@ func TestProfile_TrackUndelegation(t *testing.T) {
AccountNumber: 0,
Sequence: 0,
},
- sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(1000))),
+ sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(1000))),
time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
time.Date(2100, 9, 1, 0, 0, 0, 0, time.UTC).Unix(),
)
- expected.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(200))))
- expected.TrackUndelegation(sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))))
+ expected.TrackDelegation(time.Date(2023, 9, 1, 0, 0, 0, 0, time.UTC), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(2000))), sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(200))))
+ expected.TrackUndelegation(sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))))
require.Equal(t, expected, profile.GetAccount())
}
@@ -431,7 +432,7 @@ func TestProfileSerialization(t *testing.T) {
bz, err := cdc.MarshalInterface(profile)
require.NoError(t, err)
- var original authtypes.AccountI
+ var original sdk.AccountI
err = cdc.UnmarshalInterface(bz, &original)
require.NoError(t, err)
@@ -457,7 +458,7 @@ func TestProfileSerialization(t *testing.T) {
require.NoError(t, err)
// Deserialize
- var serialized authtypes.AccountI
+ var serialized sdk.AccountI
err = cdc.UnmarshalInterface(bz, &serialized)
require.NoError(t, err)
diff --git a/x/profiles/types/codec.go b/x/profiles/types/codec.go
index 0ed05f870d..973f29b569 100644
--- a/x/profiles/types/codec.go
+++ b/x/profiles/types/codec.go
@@ -4,14 +4,11 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting/exported"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
- govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec"
"github.com/desmos-labs/desmos/v6/types/crypto/ethsecp256k1"
)
@@ -49,7 +46,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
}
func RegisterInterfaces(registry types.InterfaceRegistry) {
- registry.RegisterImplementations((*authtypes.AccountI)(nil), &Profile{})
+ registry.RegisterImplementations((*sdk.AccountI)(nil), &Profile{})
registry.RegisterImplementations((*exported.VestingAccount)(nil), &Profile{})
registry.RegisterImplementations((*authtypes.GenesisAccount)(nil), &Profile{})
registry.RegisterInterface(
@@ -87,29 +84,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCdc references the global x/profiles module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/profiles and
- // defined at the application level.
- AminoCdc = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-
- // Register all Amino interfaces and concrete types on the gov Amino codec so that this can later be
- // used to properly serialize MsgSubmitProposal instances
- RegisterLegacyAminoCodec(govcodec.Amino)
-}
diff --git a/x/profiles/types/expected_keepers.go b/x/profiles/types/expected_keepers.go
index d4f9985316..9f0d6b09f0 100644
--- a/x/profiles/types/expected_keepers.go
+++ b/x/profiles/types/expected_keepers.go
@@ -2,11 +2,11 @@ package types
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- connectiontypes "github.com/cosmos/ibc-go/v7/modules/core/03-connection/types"
- channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
- ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ connectiontypes "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types"
+ channeltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
+ ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"
)
// DONTCOVER
diff --git a/x/profiles/types/genesis.go b/x/profiles/types/genesis.go
index 26e317ca94..b77fcb70b7 100644
--- a/x/profiles/types/genesis.go
+++ b/x/profiles/types/genesis.go
@@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
)
// NewGenesisState creates a new genesis state
diff --git a/x/profiles/types/genesis.pb.go b/x/profiles/types/genesis.pb.go
index f0cfa85648..7521835883 100644
--- a/x/profiles/types/genesis.pb.go
+++ b/x/profiles/types/genesis.pb.go
@@ -140,42 +140,42 @@ var fileDescriptor_bd22d098f73f0a1c = []byte{
// 607 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x3f, 0x6f, 0xd3, 0x40,
0x18, 0xc6, 0xe3, 0xfe, 0x89, 0x94, 0x0b, 0x48, 0xf4, 0x14, 0x55, 0x26, 0xa8, 0x76, 0x48, 0x05,
- 0x14, 0x50, 0x6d, 0xd1, 0x8a, 0xa5, 0x5b, 0xdd, 0x56, 0xa8, 0x02, 0x55, 0x55, 0xda, 0x89, 0xc5,
- 0xba, 0xd8, 0x57, 0xf7, 0x54, 0xdb, 0x67, 0xee, 0x2e, 0x69, 0xb3, 0x33, 0x30, 0xf2, 0x05, 0x90,
- 0x60, 0x63, 0x64, 0xe0, 0x3b, 0xd0, 0xb1, 0x62, 0x62, 0x8a, 0x50, 0x32, 0xb0, 0xf7, 0x13, 0x20,
- 0xdf, 0x9d, 0x49, 0xa0, 0x0e, 0x4b, 0x74, 0xf6, 0xfb, 0x7b, 0xde, 0xe7, 0xb9, 0x37, 0x7e, 0x41,
- 0x2b, 0xc4, 0x3c, 0xa1, 0xdc, 0xcd, 0x18, 0x3d, 0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
func (m *GenesisState) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/types/genesis_test.go b/x/profiles/types/genesis_test.go
index 242c7efcc2..69f7f1fd50 100644
--- a/x/profiles/types/genesis_test.go
+++ b/x/profiles/types/genesis_test.go
@@ -4,9 +4,9 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
"github.com/desmos-labs/desmos/v6/testutil/profilestesting"
- sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
@@ -28,7 +28,7 @@ func TestValidateGenesis(t *testing.T) {
genesis: types.NewGenesisState(
nil,
types.NewParams(
- types.NewNicknameParams(sdk.NewInt(-1), sdk.NewInt(10)),
+ types.NewNicknameParams(math.NewInt(-1), math.NewInt(10)),
types.DefaultDTagParams(),
types.DefaultBioParams(),
types.DefaultOracleParams(),
diff --git a/x/profiles/types/models_app_links.pb.go b/x/profiles/types/models_app_links.pb.go
index c66dab9705..9e369b7c11 100644
--- a/x/profiles/types/models_app_links.pb.go
+++ b/x/profiles/types/models_app_links.pb.go
@@ -459,7 +459,7 @@ var fileDescriptor_e02d86ea3253bfd9 = []byte{
// 1044 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xbf, 0x6f, 0xdb, 0xc6,
0x17, 0x17, 0x25, 0x5a, 0x96, 0xce, 0xb1, 0xad, 0x5c, 0xfc, 0xcd, 0x57, 0x15, 0x10, 0x51, 0x66,
- 0xda, 0xc6, 0x71, 0x61, 0x12, 0xb1, 0x51, 0xa0, 0x70, 0xd0, 0x02, 0xa2, 0x44, 0x23, 0x6c, 0x5c,
+ 0xda, 0xc6, 0x71, 0x61, 0x12, 0xb1, 0x81, 0xa2, 0x70, 0xd0, 0x02, 0xa2, 0x44, 0x23, 0x6c, 0x5c,
0xdb, 0x38, 0xc9, 0x09, 0x90, 0x85, 0x38, 0x93, 0x27, 0xf5, 0x10, 0x4a, 0x54, 0x49, 0xca, 0x48,
0x5a, 0x74, 0x0f, 0x3c, 0xe5, 0x1f, 0x30, 0x10, 0xa0, 0x4b, 0xc7, 0x0e, 0x5d, 0x8b, 0x0e, 0x5d,
0x32, 0x06, 0x9d, 0x3a, 0xa9, 0x85, 0x3c, 0xb4, 0xb3, 0xf6, 0x02, 0x05, 0xef, 0x4e, 0xa6, 0x1c,
@@ -521,7 +521,7 @@ var fileDescriptor_e02d86ea3253bfd9 = []byte{
0x65, 0xe9, 0x8f, 0x61, 0x59, 0x7a, 0x79, 0x56, 0x4e, 0xbd, 0x39, 0x2b, 0xa7, 0x7e, 0x3b, 0x2b,
0xa7, 0x9e, 0xdc, 0x6b, 0xd3, 0xe8, 0xcb, 0xfe, 0x91, 0xe6, 0xf8, 0x1d, 0x9d, 0x0f, 0xf4, 0x86,
0x87, 0x8f, 0x42, 0xb1, 0xd6, 0x8f, 0x3f, 0xd6, 0x9f, 0x25, 0xff, 0x9e, 0x44, 0xcf, 0x7b, 0x24,
- 0x3c, 0xca, 0xb2, 0x87, 0x7e, 0xeb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x34, 0xa1, 0x42, 0x07,
+ 0x3c, 0xca, 0xb2, 0x87, 0x7e, 0xeb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x4c, 0x15, 0xf5,
0xbe, 0x08, 0x00, 0x00,
}
diff --git a/x/profiles/types/models_chain_links.pb.go b/x/profiles/types/models_chain_links.pb.go
index 70914b79e1..cfaacfb4ec 100644
--- a/x/profiles/types/models_chain_links.pb.go
+++ b/x/profiles/types/models_chain_links.pb.go
@@ -434,70 +434,70 @@ func init() {
}
var fileDescriptor_29bee920e792da29 = []byte{
- // 1005 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcb, 0x6f, 0xe3, 0x44,
- 0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4, 0xfd, 0x58, 0xea, 0xc5, 0xff, 0x87, 0xb0, 0xc0, 0x03, 0x7d, 0x96, 0xcc, 0x70, 0xf3,
+ 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x11, 0x55, 0x33, 0x9b, 0x2f, 0x09, 0x00, 0x00,
}
func (this *ChainLink) Equal(that interface{}) bool {
diff --git a/x/profiles/types/models_dtag_requests.pb.go b/x/profiles/types/models_dtag_requests.pb.go
index 9494746a4e..aa773edcd0 100644
--- a/x/profiles/types/models_dtag_requests.pb.go
+++ b/x/profiles/types/models_dtag_requests.pb.go
@@ -98,8 +98,8 @@ var fileDescriptor_3ee5a4443f48e795 = []byte{
0x79, 0x9f, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e,
0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x61, 0x7a, 0x66, 0x49,
0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0x24, 0xa0, 0x75, 0x73, 0x12, 0x93, 0x8a, 0xa1,
- 0x6c, 0xfd, 0x32, 0x53, 0xfd, 0x0a, 0x44, 0x44, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81,
- 0x83, 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xa0, 0x21, 0x73, 0xc8, 0x01, 0x00, 0x00,
+ 0x6c, 0xfd, 0x32, 0x33, 0xfd, 0x0a, 0x44, 0x44, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81,
+ 0x83, 0xd4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x4d, 0x76, 0x81, 0xc8, 0x01, 0x00, 0x00,
}
func (this *DTagTransferRequest) Equal(that interface{}) bool {
diff --git a/x/profiles/types/models_packets.pb.go b/x/profiles/types/models_packets.pb.go
index 8fe0a0d612..304109a1bb 100644
--- a/x/profiles/types/models_packets.pb.go
+++ b/x/profiles/types/models_packets.pb.go
@@ -129,35 +129,35 @@ var fileDescriptor_ecd3778626d03f03 = []byte{
// 497 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3f, 0x6f, 0xd3, 0x4c,
0x18, 0xb7, 0xdf, 0x37, 0x20, 0xd5, 0x05, 0x44, 0x9c, 0x20, 0x25, 0x19, 0xec, 0xc8, 0x52, 0xd5,
- 0x0a, 0x14, 0x9f, 0x20, 0x82, 0xa1, 0x4c, 0x71, 0x19, 0x90, 0x60, 0xa8, 0xc2, 0xc6, 0x40, 0x74,
- 0xb1, 0x2f, 0xee, 0x29, 0xf6, 0x3d, 0x96, 0xef, 0x12, 0x25, 0xdf, 0x80, 0x91, 0x8f, 0xc0, 0xc8,
- 0xc8, 0xd0, 0x0f, 0x51, 0x31, 0xa0, 0x8a, 0x89, 0x29, 0x42, 0xc9, 0xc0, 0xde, 0x4f, 0x80, 0x7c,
- 0x77, 0xa1, 0x0e, 0x35, 0x62, 0xb1, 0xce, 0xf7, 0xfc, 0xfe, 0x3c, 0xcf, 0xef, 0x1e, 0xeb, 0x30,
- 0x22, 0x3c, 0x05, 0x8e, 0xb2, 0x1c, 0x26, 0x34, 0x21, 0x1c, 0xcd, 0xfb, 0x28, 0x85, 0x88, 0x24,
- 0x7c, 0x94, 0xe1, 0x70, 0x4a, 0x04, 0xf7, 0xb3, 0x1c, 0x04, 0xd8, 0xb6, 0x02, 0xfa, 0x5b, 0xa0,
- 0x3f, 0xef, 0x77, 0xea, 0x38, 0xa5, 0x0c, 0x90, 0xfc, 0x2a, 0x58, 0xa7, 0x19, 0x43, 0x0c, 0xf2,
- 0x88, 0x8a, 0x93, 0xbe, 0x6d, 0xc7, 0x00, 0x71, 0x42, 0x90, 0xfc, 0x1b, 0xcf, 0x26,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, 0x1a, 0xde, 0x4b, 0xab, 0x5d, 0xbd, 0x4f,
+ 0x83, 0x70, 0x6a, 0x1f, 0x54, 0xae, 0xd3, 0xde, 0x1f, 0x6f, 0xaf, 0x94, 0x82, 0x57, 0x97, 0x6b,
+ 0xc7, 0xbc, 0x5a, 0x3b, 0xe6, 0x8f, 0xb5, 0x63, 0x7e, 0xd8, 0x38, 0xc6, 0xd5, 0xc6, 0x31, 0xbe,
+ 0x6f, 0x1c, 0xe3, 0xed, 0xd3, 0x98, 0x8a, 0xf3, 0xd9, 0xd8, 0x0f, 0x21, 0x45, 0x6a, 0x8e, 0x5e,
+ 0x82, 0xc7, 0x5c, 0x9f, 0xd1, 0xfc, 0x18, 0x2d, 0x6e, 0xb6, 0x5f, 0x2c, 0x33, 0xc2, 0xc7, 0x77,
+ 0xe5, 0xa2, 0xf6, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x29, 0xf9, 0x6d, 0xb9, 0x03, 0x00,
0x00,
}
diff --git a/x/profiles/types/models_params.go b/x/profiles/types/models_params.go
index 5af8dbcd77..e00fd8b23d 100644
--- a/x/profiles/types/models_params.go
+++ b/x/profiles/types/models_params.go
@@ -18,12 +18,12 @@ const (
// Default profile paramsModule
var (
- DefaultMinNicknameLength = sdk.NewInt(2)
- DefaultMaxNicknameLength = sdk.NewInt(1000) // Longest name on earth count 954 chars
+ DefaultMinNicknameLength = math.NewInt(2)
+ DefaultMaxNicknameLength = math.NewInt(1000) // Longest name on earth count 954 chars
DefaultRegEx = `^[A-Za-z0-9_]+$`
- DefaultMinDTagLength = sdk.NewInt(3)
- DefaultMaxDTagLength = sdk.NewInt(30)
- DefaultMaxBioLength = sdk.NewInt(1000)
+ DefaultMinDTagLength = math.NewInt(3)
+ DefaultMaxDTagLength = math.NewInt(30)
+ DefaultMaxBioLength = math.NewInt(1000)
DefaultAppLinksValidityDuration = time.Hour * 24 * 365 // 1 year
)
@@ -207,7 +207,7 @@ func DefaultOracleParams() OracleParams {
1,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
)
}
diff --git a/x/profiles/types/models_params.pb.go b/x/profiles/types/models_params.pb.go
index 0cf0b43a55..c1269b2771 100644
--- a/x/profiles/types/models_params.pb.go
+++ b/x/profiles/types/models_params.pb.go
@@ -4,6 +4,7 @@
package types
import (
+ cosmossdk_io_math "cosmossdk.io/math"
fmt "fmt"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
@@ -74,8 +75,8 @@ var xxx_messageInfo_Params proto.InternalMessageInfo
// NicknameParams defines the parameters related to the profiles nicknames
type NicknameParams struct {
- MinLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_length" yaml:"min_length"`
- MaxLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=max_length,json=maxLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_length" yaml:"max_length"`
+ MinLength cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=min_length,json=minLength,proto3,customtype=cosmossdk.io/math.Int" json:"min_length" yaml:"min_length"`
+ MaxLength cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=max_length,json=maxLength,proto3,customtype=cosmossdk.io/math.Int" json:"max_length" yaml:"max_length"`
}
func (m *NicknameParams) Reset() { *m = NicknameParams{} }
@@ -113,9 +114,9 @@ var xxx_messageInfo_NicknameParams proto.InternalMessageInfo
// DTagParams defines the parameters related to profile DTags
type DTagParams struct {
- RegEx string `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"`
- MinLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=min_length,json=minLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_length" yaml:"min_length"`
- MaxLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_length" yaml:"max_length"`
+ RegEx string `protobuf:"bytes,1,opt,name=reg_ex,json=regEx,proto3" json:"reg_ex,omitempty" yaml:"reg_ex"`
+ MinLength cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=min_length,json=minLength,proto3,customtype=cosmossdk.io/math.Int" json:"min_length" yaml:"min_length"`
+ MaxLength cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=cosmossdk.io/math.Int" json:"max_length" yaml:"max_length"`
}
func (m *DTagParams) Reset() { *m = DTagParams{} }
@@ -153,7 +154,7 @@ var xxx_messageInfo_DTagParams proto.InternalMessageInfo
// BioParams defines the parameters related to profile biography
type BioParams struct {
- MaxLength github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_length" yaml:"max_length"`
+ MaxLength cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=max_length,json=maxLength,proto3,customtype=cosmossdk.io/math.Int" json:"max_length" yaml:"max_length"`
}
func (m *BioParams) Reset() { *m = BioParams{} }
@@ -298,61 +299,61 @@ func init() {
}
var fileDescriptor_924c89959f3aa975 = []byte{
- // 858 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x4d, 0x6f, 0xe3, 0x44,
- 0x18, 0xc7, 0xe3, 0x3a, 0x8d, 0x92, 0x49, 0x59, 0x36, 0xd6, 0x0a, 0x65, 0x2b, 0xd6, 0x0e, 0x3e,
- 0xac, 0x42, 0xa5, 0xb5, 0x95, 0xad, 0x10, 0x52, 0x25, 0x0e, 0xeb, 0x16, 0x41, 0xc5, 0xf2, 0x22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xd1, 0xd9, 0x4c, 0x95, 0xce, 0x67, 0xaa, 0xf4, 0xcf, 0x4c, 0x95, 0x7e, 0xba, 0x52,
+ 0x2b, 0xe7, 0x57, 0x6a, 0xe5, 0xef, 0x2b, 0xb5, 0xf2, 0x65, 0x6f, 0x25, 0x6d, 0x3e, 0xcd, 0x9e,
+ 0x87, 0xd0, 0xa5, 0x62, 0x6d, 0x8e, 0xdf, 0x5b, 0x1d, 0x6e, 0xac, 0x0a, 0x6e, 0x8d, 0x59, 0xdc,
+ 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0x48, 0x9f, 0xf5, 0x9e, 0x66, 0x07, 0x00, 0x00,
}
func (m *Params) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/types/models_params_test.go b/x/profiles/types/models_params_test.go
index 6ffcfa95d1..4236093767 100644
--- a/x/profiles/types/models_params_test.go
+++ b/x/profiles/types/models_params_test.go
@@ -4,7 +4,7 @@ import (
"testing"
"time"
- sdkmath "cosmossdk.io/math"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -20,7 +20,7 @@ func TestValidateParams(t *testing.T) {
{
name: "invalid nickname param returns error",
params: types.NewParams(
- types.NewNicknameParams(sdk.NewInt(1), sdk.NewInt(1000)),
+ types.NewNicknameParams(math.NewInt(1), math.NewInt(1000)),
types.DefaultDTagParams(),
types.DefaultBioParams(),
types.DefaultOracleParams(),
@@ -32,7 +32,7 @@ func TestValidateParams(t *testing.T) {
name: "invalid DTag param returns error",
params: types.NewParams(
types.DefaultNicknameParams(),
- types.NewDTagParams("regEx", sdk.NewInt(3), sdk.NewInt(-30)),
+ types.NewDTagParams("regEx", math.NewInt(3), math.NewInt(-30)),
types.DefaultBioParams(),
types.DefaultOracleParams(),
types.DefaultAppLinksParams(),
@@ -44,7 +44,7 @@ func TestValidateParams(t *testing.T) {
params: types.NewParams(
types.DefaultNicknameParams(),
types.DefaultDTagParams(),
- types.NewBioParams(sdk.NewInt(-1000)),
+ types.NewBioParams(math.NewInt(-1000)),
types.DefaultOracleParams(),
types.DefaultAppLinksParams(),
),
@@ -113,27 +113,27 @@ func TestValidateNicknameParams(t *testing.T) {
}{
{
name: "invalid max returns error - nil min",
- params: types.NicknameParams{MinLength: sdkmath.Int{}, MaxLength: sdk.NewInt(10)},
+ params: types.NicknameParams{MinLength: math.Int{}, MaxLength: math.NewInt(10)},
shouldErr: true,
},
{
name: "invalid min returns error",
- params: types.NewNicknameParams(sdk.NewInt(1), sdk.NewInt(1000)),
+ params: types.NewNicknameParams(math.NewInt(1), math.NewInt(1000)),
shouldErr: true,
},
{
name: "invalid max returns error - nil max",
- params: types.NicknameParams{MinLength: sdk.NewInt(2), MaxLength: sdkmath.Int{}},
+ params: types.NicknameParams{MinLength: math.NewInt(2), MaxLength: math.Int{}},
shouldErr: true,
},
{
name: "invalid max returns error - lower than min",
- params: types.NewNicknameParams(sdk.NewInt(2), sdk.NewInt(-10)),
+ params: types.NewNicknameParams(math.NewInt(2), math.NewInt(-10)),
shouldErr: true,
},
{
name: "valid values return no error",
- params: types.NewNicknameParams(sdk.NewInt(2), sdk.NewInt(10)),
+ params: types.NewNicknameParams(math.NewInt(2), math.NewInt(10)),
shouldErr: false,
},
}
@@ -160,22 +160,22 @@ func TestValidateDTagParams(t *testing.T) {
}{
{
name: "empty regex returns error",
- params: types.NewDTagParams("", sdk.NewInt(3), sdk.NewInt(30)),
+ params: types.NewDTagParams("", math.NewInt(3), math.NewInt(30)),
shouldErr: true,
},
{
name: "invalid min returns error",
- params: types.NewDTagParams("regExParam", sdk.NewInt(1), sdk.NewInt(30)),
+ params: types.NewDTagParams("regExParam", math.NewInt(1), math.NewInt(30)),
shouldErr: true,
},
{
name: "invalid max returns error - lower than min",
- params: types.NewDTagParams("regExParam", sdk.NewInt(3), sdk.NewInt(-30)),
+ params: types.NewDTagParams("regExParam", math.NewInt(3), math.NewInt(-30)),
shouldErr: true,
},
{
name: "valid params return no error",
- params: types.NewDTagParams("regExParam", sdk.NewInt(3), sdk.NewInt(30)),
+ params: types.NewDTagParams("regExParam", math.NewInt(3), math.NewInt(30)),
shouldErr: false,
},
}
@@ -202,12 +202,12 @@ func TestValidateBioParams(t *testing.T) {
}{
{
name: "invalid value returns error",
- params: types.NewBioParams(sdk.NewInt(-1000)),
+ params: types.NewBioParams(math.NewInt(-1000)),
shouldErr: true,
},
{
name: "valid value returns no error",
- params: types.NewBioParams(sdk.NewInt(1000)),
+ params: types.NewBioParams(math.NewInt(1000)),
shouldErr: false,
},
}
@@ -240,7 +240,7 @@ func TestValidateOracleParams(t *testing.T) {
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
shouldErr: true,
},
@@ -252,7 +252,7 @@ func TestValidateOracleParams(t *testing.T) {
0,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
shouldErr: true,
},
@@ -264,7 +264,7 @@ func TestValidateOracleParams(t *testing.T) {
6,
0,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
shouldErr: true,
},
@@ -276,7 +276,7 @@ func TestValidateOracleParams(t *testing.T) {
6,
50_000,
0,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
shouldErr: true,
},
@@ -288,7 +288,7 @@ func TestValidateOracleParams(t *testing.T) {
6,
50_000,
200_000,
- sdk.NewCoin("bank", sdk.NewInt(0)),
+ sdk.NewCoin("bank", math.NewInt(0)),
),
shouldErr: true,
},
@@ -300,7 +300,7 @@ func TestValidateOracleParams(t *testing.T) {
6,
50_000,
200_000,
- sdk.NewCoin("band", sdk.NewInt(10)),
+ sdk.NewCoin("band", math.NewInt(10)),
),
shouldErr: false,
},
diff --git a/x/profiles/types/models_profile.pb.go b/x/profiles/types/models_profile.pb.go
index 5a06e4c1e0..eccf35eea7 100644
--- a/x/profiles/types/models_profile.pb.go
+++ b/x/profiles/types/models_profile.pb.go
@@ -144,40 +144,40 @@ func init() {
}
var fileDescriptor_0064ca3ec5b2e1f8 = []byte{
- // 515 bytes of a gzipped FileDescriptorProto
+ // 516 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x93, 0xbf, 0x6f, 0xd3, 0x40,
0x14, 0xc7, 0x6d, 0x92, 0x36, 0xe9, 0xb5, 0x14, 0x38, 0x22, 0x61, 0xa2, 0xc8, 0x17, 0x59, 0x02,
- 0x2a, 0xa0, 0x77, 0x0a, 0x11, 0x4b, 0xb6, 0x5a, 0x5d, 0x10, 0x4b, 0x64, 0x55, 0x0c, 0x2c, 0xd1,
- 0xd9, 0xb9, 0xb8, 0x86, 0xd8, 0x17, 0xc5, 0x97, 0x88, 0xfc, 0x07, 0x8c, 0x1d, 0x3b, 0x66, 0x41,
- 0x62, 0x64, 0xe0, 0x8f, 0xa8, 0x98, 0x3a, 0x32, 0x19, 0x94, 0x0c, 0x30, 0xe7, 0x2f, 0x40, 0xbe,
- 0x1f, 0xad, 0x68, 0x97, 0xe8, 0xdd, 0xfb, 0x7e, 0xde, 0xf7, 0xbd, 0xbc, 0x27, 0x83, 0x67, 0x43,
- 0x96, 0xa7, 0x3c, 0x27, 0x93, 0x29, 0x1f, 0x25, 0x63, 0x96, 0x93, 0x79, 0x97, 0xa4, 0x7c, 0xc8,
- 0xc6, 0xf9, 0x40, 0xa7, 0xf0, 0x64, 0xca, 0x05, 0x87, 0x50, 0x81, 0xd8, 0x80, 0x78, 0xde, 0x6d,
- 0x3e, 0xa0, 0x69, 0x92, 0x71, 0x22, 0x7f, 0x15, 0xd6, 0x6c, 0xc4, 0x3c, 0xe6, 0x32, 0x24, 0x65,
- 0xa4, 0xb3, 0x8f, 0x63, 0xce, 0xe3, 0x31, 0x23, 0xf2, 0x15, 0xce, 0x46,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x2c, 0xef, 0x03, 0xa8, 0x9b, 0x29, 0xe1,
+ 0x4b, 0x50, 0xd3, 0xd3, 0xcb, 0x3b, 0xed, 0xf8, 0x70, 0x53, 0xa0, 0x7d, 0x3d, 0xb2, 0x12, 0xbc,
+ 0xc0, 0x20, 0xf0, 0x29, 0xd8, 0x8a, 0xf8, 0x9c, 0x4d, 0xf5, 0x11, 0xee, 0x6f, 0x0a, 0xb4, 0xa7,
+ 0x67, 0x28, 0xd3, 0x5e, 0xa0, 0xe4, 0x5e, 0xfd, 0x7c, 0x89, 0xec, 0xbf, 0x4b, 0x64, 0xfb, 0x6f,
+ 0x2f, 0x56, 0xae, 0x7d, 0xb9, 0x72, 0xed, 0xdf, 0x2b, 0xd7, 0x3e, 0x5b, 0xbb, 0xd6, 0xe5, 0xda,
+ 0xb5, 0x7e, 0xae, 0x5d, 0xeb, 0x7d, 0x27, 0x4e, 0xc4, 0xe9, 0x2c, 0xc4, 0x11, 0x4f, 0x89, 0xda,
+ 0xe3, 0xe1, 0x98, 0x86, 0xb9, 0x8e, 0xc9, 0xfc, 0x35, 0xf9, 0x74, 0xfd, 0x19, 0x88, 0xc5, 0x84,
+ 0xe5, 0xe1, 0xb6, 0xdc, 0x45, 0xf7, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xfa, 0x5d, 0x4e,
+ 0x26, 0x03, 0x00, 0x00,
}
func (this *Pictures) Equal(that interface{}) bool {
diff --git a/x/profiles/types/msg_server.pb.go b/x/profiles/types/msg_server.pb.go
index b2baf3c369..6d67de0454 100644
--- a/x/profiles/types/msg_server.pb.go
+++ b/x/profiles/types/msg_server.pb.go
@@ -6,13 +6,20 @@ package types
import (
context "context"
fmt "fmt"
+ _ "github.com/cosmos/cosmos-proto"
+ types "github.com/cosmos/cosmos-sdk/codec/types"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
+ _ "github.com/cosmos/cosmos-sdk/types/tx/amino"
+ _ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
proto "github.com/cosmos/gogoproto/proto"
+ types1 "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
+ io "io"
math "math"
+ math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -26,566 +33,5641 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+// MsgSaveProfile represents a message to save a profile.
+type MsgSaveProfile struct {
+ // DTag of the profile. If it shouldn't be changed, [do-no-modify] can be used
+ // instead.
+ DTag string `protobuf:"bytes,1,opt,name=dtag,proto3" json:"dtag,omitempty" yaml:"dtag"`
+ // Nickname of the profile. If it shouldn't be changed, [do-no-modify] can be
+ // used instead.
+ Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty" yaml:"nickname"`
+ // Bio of the profile. If it shouldn't be changed, [do-no-modify] can be used
+ // instead.
+ Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty" yaml:"bio"`
+ // URL to the profile picture. If it shouldn't be changed, [do-no-modify] can
+ // be used instead.
+ ProfilePicture string `protobuf:"bytes,4,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty" yaml:"profile_picture"`
+ // URL to the profile cover. If it shouldn't be changed, [do-no-modify] can be
+ // used instead.
+ CoverPicture string `protobuf:"bytes,5,opt,name=cover_picture,json=coverPicture,proto3" json:"cover_picture,omitempty" yaml:"cover_picture"`
+ // Address of the user associated to the profile
+ Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
+}
+
+func (m *MsgSaveProfile) Reset() { *m = MsgSaveProfile{} }
+func (m *MsgSaveProfile) String() string { return proto.CompactTextString(m) }
+func (*MsgSaveProfile) ProtoMessage() {}
+func (*MsgSaveProfile) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{0}
+}
+func (m *MsgSaveProfile) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgSaveProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgSaveProfile.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgSaveProfile) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgSaveProfile.Merge(m, src)
+}
+func (m *MsgSaveProfile) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgSaveProfile) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgSaveProfile.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgSaveProfile proto.InternalMessageInfo
+
+func (m *MsgSaveProfile) GetDTag() string {
+ if m != nil {
+ return m.DTag
+ }
+ return ""
+}
+
+func (m *MsgSaveProfile) GetNickname() string {
+ if m != nil {
+ return m.Nickname
+ }
+ return ""
+}
+
+func (m *MsgSaveProfile) GetBio() string {
+ if m != nil {
+ return m.Bio
+ }
+ return ""
+}
+
+func (m *MsgSaveProfile) GetProfilePicture() string {
+ if m != nil {
+ return m.ProfilePicture
+ }
+ return ""
+}
+
+func (m *MsgSaveProfile) GetCoverPicture() string {
+ if m != nil {
+ return m.CoverPicture
+ }
+ return ""
+}
+
+func (m *MsgSaveProfile) GetCreator() string {
+ if m != nil {
+ return m.Creator
+ }
+ return ""
+}
+
+// MsgSaveProfileResponse defines the Msg/SaveProfile response type.
+type MsgSaveProfileResponse struct {
+}
+
+func (m *MsgSaveProfileResponse) Reset() { *m = MsgSaveProfileResponse{} }
+func (m *MsgSaveProfileResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgSaveProfileResponse) ProtoMessage() {}
+func (*MsgSaveProfileResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{1}
+}
+func (m *MsgSaveProfileResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgSaveProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgSaveProfileResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgSaveProfileResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgSaveProfileResponse.Merge(m, src)
+}
+func (m *MsgSaveProfileResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgSaveProfileResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgSaveProfileResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgSaveProfileResponse proto.InternalMessageInfo
+
+// MsgDeleteProfile represents the message used to delete an existing profile.
+type MsgDeleteProfile struct {
+ // Address associated to the profile to be deleted
+ Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
+}
+
+func (m *MsgDeleteProfile) Reset() { *m = MsgDeleteProfile{} }
+func (m *MsgDeleteProfile) String() string { return proto.CompactTextString(m) }
+func (*MsgDeleteProfile) ProtoMessage() {}
+func (*MsgDeleteProfile) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{2}
+}
+func (m *MsgDeleteProfile) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgDeleteProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgDeleteProfile.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgDeleteProfile) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgDeleteProfile.Merge(m, src)
+}
+func (m *MsgDeleteProfile) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgDeleteProfile) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgDeleteProfile.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgDeleteProfile proto.InternalMessageInfo
+
+func (m *MsgDeleteProfile) GetCreator() string {
+ if m != nil {
+ return m.Creator
+ }
+ return ""
+}
+
+// MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.
+type MsgDeleteProfileResponse struct {
+}
+
+func (m *MsgDeleteProfileResponse) Reset() { *m = MsgDeleteProfileResponse{} }
+func (m *MsgDeleteProfileResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgDeleteProfileResponse) ProtoMessage() {}
+func (*MsgDeleteProfileResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{3}
+}
+func (m *MsgDeleteProfileResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgDeleteProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgDeleteProfileResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgDeleteProfileResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgDeleteProfileResponse.Merge(m, src)
+}
+func (m *MsgDeleteProfileResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgDeleteProfileResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgDeleteProfileResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgDeleteProfileResponse proto.InternalMessageInfo
+
+// MsgRequestDTagTransfer represents the message used to request the DTag
+// transfer to another user.
+type MsgRequestDTagTransfer struct {
+ // Receiver contains the address of the request receiver that owns the DTag to
+ // transfer if the request is accepted
+ Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
+ // Sender contains the address of the request sender that will receive the
+ // receiver DTag if the requet is accepted
+ Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
+}
+
+func (m *MsgRequestDTagTransfer) Reset() { *m = MsgRequestDTagTransfer{} }
+func (m *MsgRequestDTagTransfer) String() string { return proto.CompactTextString(m) }
+func (*MsgRequestDTagTransfer) ProtoMessage() {}
+func (*MsgRequestDTagTransfer) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{4}
+}
+func (m *MsgRequestDTagTransfer) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgRequestDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgRequestDTagTransfer.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgRequestDTagTransfer) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgRequestDTagTransfer.Merge(m, src)
+}
+func (m *MsgRequestDTagTransfer) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgRequestDTagTransfer) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgRequestDTagTransfer.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgRequestDTagTransfer proto.InternalMessageInfo
+
+func (m *MsgRequestDTagTransfer) GetReceiver() string {
+ if m != nil {
+ return m.Receiver
+ }
+ return ""
+}
+
+func (m *MsgRequestDTagTransfer) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
+}
+
+// MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response
+// type.
+type MsgRequestDTagTransferResponse struct {
+}
+
+func (m *MsgRequestDTagTransferResponse) Reset() { *m = MsgRequestDTagTransferResponse{} }
+func (m *MsgRequestDTagTransferResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgRequestDTagTransferResponse) ProtoMessage() {}
+func (*MsgRequestDTagTransferResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{5}
+}
+func (m *MsgRequestDTagTransferResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgRequestDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgRequestDTagTransferResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgRequestDTagTransferResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgRequestDTagTransferResponse.Merge(m, src)
+}
+func (m *MsgRequestDTagTransferResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgRequestDTagTransferResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgRequestDTagTransferResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgRequestDTagTransferResponse proto.InternalMessageInfo
+
+// MsgCancelDTagTransferRequest represents the message used to cancel a DTag
+// transfer request.
+type MsgCancelDTagTransferRequest struct {
+ // Receiver contains the address of the request receiver
+ Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
+ // Sender contains the address of the requets sender
+ Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
+}
+
+func (m *MsgCancelDTagTransferRequest) Reset() { *m = MsgCancelDTagTransferRequest{} }
+func (m *MsgCancelDTagTransferRequest) String() string { return proto.CompactTextString(m) }
+func (*MsgCancelDTagTransferRequest) ProtoMessage() {}
+func (*MsgCancelDTagTransferRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{6}
+}
+func (m *MsgCancelDTagTransferRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgCancelDTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgCancelDTagTransferRequest.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgCancelDTagTransferRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgCancelDTagTransferRequest.Merge(m, src)
+}
+func (m *MsgCancelDTagTransferRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgCancelDTagTransferRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgCancelDTagTransferRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgCancelDTagTransferRequest proto.InternalMessageInfo
+
+func (m *MsgCancelDTagTransferRequest) GetReceiver() string {
+ if m != nil {
+ return m.Receiver
+ }
+ return ""
+}
+
+func (m *MsgCancelDTagTransferRequest) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
+}
+
+// MsgCancelDTagTransferRequestResponse represents the
+// Msg/CancelDTagTransferRequest response type.
+type MsgCancelDTagTransferRequestResponse struct {
+}
+
+func (m *MsgCancelDTagTransferRequestResponse) Reset() { *m = MsgCancelDTagTransferRequestResponse{} }
+func (m *MsgCancelDTagTransferRequestResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgCancelDTagTransferRequestResponse) ProtoMessage() {}
+func (*MsgCancelDTagTransferRequestResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{7}
+}
+func (m *MsgCancelDTagTransferRequestResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgCancelDTagTransferRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgCancelDTagTransferRequestResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgCancelDTagTransferRequestResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgCancelDTagTransferRequestResponse.Merge(m, src)
+}
+func (m *MsgCancelDTagTransferRequestResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgCancelDTagTransferRequestResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgCancelDTagTransferRequestResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgCancelDTagTransferRequestResponse proto.InternalMessageInfo
+
+// MsgAcceptDTagTransferRequest represents the message used to accept a DTag
+// transfer request.
+type MsgAcceptDTagTransferRequest struct {
+ // NewDTag represents the DTag that the request receiver will obtain if they
+ // accept the request
+ NewDTag string `protobuf:"bytes,1,opt,name=new_dtag,json=newDtag,proto3" json:"new_dtag,omitempty" yaml:"new_dtag"`
+ // Sender represents the request sender
+ Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
+ // Receiver represents the request receiver
+ Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
+}
+
+func (m *MsgAcceptDTagTransferRequest) Reset() { *m = MsgAcceptDTagTransferRequest{} }
+func (m *MsgAcceptDTagTransferRequest) String() string { return proto.CompactTextString(m) }
+func (*MsgAcceptDTagTransferRequest) ProtoMessage() {}
+func (*MsgAcceptDTagTransferRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{8}
+}
+func (m *MsgAcceptDTagTransferRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgAcceptDTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgAcceptDTagTransferRequest.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgAcceptDTagTransferRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgAcceptDTagTransferRequest.Merge(m, src)
+}
+func (m *MsgAcceptDTagTransferRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgAcceptDTagTransferRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgAcceptDTagTransferRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgAcceptDTagTransferRequest proto.InternalMessageInfo
+
+func (m *MsgAcceptDTagTransferRequest) GetNewDTag() string {
+ if m != nil {
+ return m.NewDTag
+ }
+ return ""
+}
+
+func (m *MsgAcceptDTagTransferRequest) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
+}
+
+func (m *MsgAcceptDTagTransferRequest) GetReceiver() string {
+ if m != nil {
+ return m.Receiver
+ }
+ return ""
+}
+
+// MsgAcceptDTagTransferRequestResponse defines the
+// Msg/AcceptDTagTransferRequest response.
+type MsgAcceptDTagTransferRequestResponse struct {
+}
+
+func (m *MsgAcceptDTagTransferRequestResponse) Reset() { *m = MsgAcceptDTagTransferRequestResponse{} }
+func (m *MsgAcceptDTagTransferRequestResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgAcceptDTagTransferRequestResponse) ProtoMessage() {}
+func (*MsgAcceptDTagTransferRequestResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{9}
+}
+func (m *MsgAcceptDTagTransferRequestResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgAcceptDTagTransferRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgAcceptDTagTransferRequestResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgAcceptDTagTransferRequestResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgAcceptDTagTransferRequestResponse.Merge(m, src)
+}
+func (m *MsgAcceptDTagTransferRequestResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgAcceptDTagTransferRequestResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgAcceptDTagTransferRequestResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgAcceptDTagTransferRequestResponse proto.InternalMessageInfo
+
+// MsgRefuseDTagTransferRequest represents the message used to refuse a DTag
+// transfer request.
+type MsgRefuseDTagTransferRequest struct {
+ // Sender represents the request sender
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
+ // Receiver represents the request receiver
+ Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
+}
+
+func (m *MsgRefuseDTagTransferRequest) Reset() { *m = MsgRefuseDTagTransferRequest{} }
+func (m *MsgRefuseDTagTransferRequest) String() string { return proto.CompactTextString(m) }
+func (*MsgRefuseDTagTransferRequest) ProtoMessage() {}
+func (*MsgRefuseDTagTransferRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{10}
+}
+func (m *MsgRefuseDTagTransferRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgRefuseDTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgRefuseDTagTransferRequest.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgRefuseDTagTransferRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgRefuseDTagTransferRequest.Merge(m, src)
+}
+func (m *MsgRefuseDTagTransferRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgRefuseDTagTransferRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgRefuseDTagTransferRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgRefuseDTagTransferRequest proto.InternalMessageInfo
+
+func (m *MsgRefuseDTagTransferRequest) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
+}
+
+func (m *MsgRefuseDTagTransferRequest) GetReceiver() string {
+ if m != nil {
+ return m.Receiver
+ }
+ return ""
+}
+
+// MsgRefuseDTagTransferRequestResponse defines the
+// Msg/RefuseDTagTransferRequest response.
+type MsgRefuseDTagTransferRequestResponse struct {
+}
+
+func (m *MsgRefuseDTagTransferRequestResponse) Reset() { *m = MsgRefuseDTagTransferRequestResponse{} }
+func (m *MsgRefuseDTagTransferRequestResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgRefuseDTagTransferRequestResponse) ProtoMessage() {}
+func (*MsgRefuseDTagTransferRequestResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{11}
+}
+func (m *MsgRefuseDTagTransferRequestResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgRefuseDTagTransferRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgRefuseDTagTransferRequestResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgRefuseDTagTransferRequestResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgRefuseDTagTransferRequestResponse.Merge(m, src)
+}
+func (m *MsgRefuseDTagTransferRequestResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgRefuseDTagTransferRequestResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgRefuseDTagTransferRequestResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgRefuseDTagTransferRequestResponse proto.InternalMessageInfo
+
+// MsgLinkChainAccount represents a message to link an account to a profile.
+type MsgLinkChainAccount struct {
+ // ChainAddress contains the details of the external chain address to be
+ // linked
+ ChainAddress *types.Any `protobuf:"bytes,1,opt,name=chain_address,json=chainAddress,proto3" json:"chain_address,omitempty" yaml:"source_address"`
+ // Proof contains the proof of ownership of the external chain address
+ Proof Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof" yaml:"source_proof"`
+ // ChainConfig contains the configuration of the external chain
+ ChainConfig ChainConfig `protobuf:"bytes,3,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"source_chain_config"`
+ // Signer represents the Desmos address associated with the
+ // profile to which link the external account
+ Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
+}
+
+func (m *MsgLinkChainAccount) Reset() { *m = MsgLinkChainAccount{} }
+func (m *MsgLinkChainAccount) String() string { return proto.CompactTextString(m) }
+func (*MsgLinkChainAccount) ProtoMessage() {}
+func (*MsgLinkChainAccount) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{12}
+}
+func (m *MsgLinkChainAccount) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgLinkChainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgLinkChainAccount.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgLinkChainAccount) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgLinkChainAccount.Merge(m, src)
+}
+func (m *MsgLinkChainAccount) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgLinkChainAccount) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgLinkChainAccount.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgLinkChainAccount proto.InternalMessageInfo
+
+func (m *MsgLinkChainAccount) GetChainAddress() *types.Any {
+ if m != nil {
+ return m.ChainAddress
+ }
+ return nil
+}
+
+func (m *MsgLinkChainAccount) GetProof() Proof {
+ if m != nil {
+ return m.Proof
+ }
+ return Proof{}
+}
+
+func (m *MsgLinkChainAccount) GetChainConfig() ChainConfig {
+ if m != nil {
+ return m.ChainConfig
+ }
+ return ChainConfig{}
+}
+
+func (m *MsgLinkChainAccount) GetSigner() string {
+ if m != nil {
+ return m.Signer
+ }
+ return ""
+}
+
+// MsgLinkChainAccountResponse defines the Msg/LinkAccount response type.
+type MsgLinkChainAccountResponse struct {
+}
+
+func (m *MsgLinkChainAccountResponse) Reset() { *m = MsgLinkChainAccountResponse{} }
+func (m *MsgLinkChainAccountResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgLinkChainAccountResponse) ProtoMessage() {}
+func (*MsgLinkChainAccountResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{13}
+}
+func (m *MsgLinkChainAccountResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgLinkChainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgLinkChainAccountResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgLinkChainAccountResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgLinkChainAccountResponse.Merge(m, src)
+}
+func (m *MsgLinkChainAccountResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgLinkChainAccountResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgLinkChainAccountResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgLinkChainAccountResponse proto.InternalMessageInfo
+
+// MsgUnlinkChainAccount represents a message to unlink an account from a
+// profile.
+type MsgUnlinkChainAccount struct {
+ // Owner represents the Desmos profile from which to remove the link
+ Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
+ // ChainName represents the name of the chain to which the link to remove is
+ // associated
+ ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty" yaml:"chain_name"`
+ // Target represents the external address to be removed
+ Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty" yaml:"target"`
+}
+
+func (m *MsgUnlinkChainAccount) Reset() { *m = MsgUnlinkChainAccount{} }
+func (m *MsgUnlinkChainAccount) String() string { return proto.CompactTextString(m) }
+func (*MsgUnlinkChainAccount) ProtoMessage() {}
+func (*MsgUnlinkChainAccount) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{14}
+}
+func (m *MsgUnlinkChainAccount) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgUnlinkChainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgUnlinkChainAccount.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgUnlinkChainAccount) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgUnlinkChainAccount.Merge(m, src)
+}
+func (m *MsgUnlinkChainAccount) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgUnlinkChainAccount) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgUnlinkChainAccount.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgUnlinkChainAccount proto.InternalMessageInfo
+
+func (m *MsgUnlinkChainAccount) GetOwner() string {
+ if m != nil {
+ return m.Owner
+ }
+ return ""
+}
+
+func (m *MsgUnlinkChainAccount) GetChainName() string {
+ if m != nil {
+ return m.ChainName
+ }
+ return ""
+}
+
+func (m *MsgUnlinkChainAccount) GetTarget() string {
+ if m != nil {
+ return m.Target
+ }
+ return ""
+}
+
+// MsgUnlinkChainAccountResponse defines the Msg/UnlinkAccount response type.
+type MsgUnlinkChainAccountResponse struct {
+}
+
+func (m *MsgUnlinkChainAccountResponse) Reset() { *m = MsgUnlinkChainAccountResponse{} }
+func (m *MsgUnlinkChainAccountResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgUnlinkChainAccountResponse) ProtoMessage() {}
+func (*MsgUnlinkChainAccountResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{15}
+}
+func (m *MsgUnlinkChainAccountResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgUnlinkChainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgUnlinkChainAccountResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgUnlinkChainAccountResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgUnlinkChainAccountResponse.Merge(m, src)
+}
+func (m *MsgUnlinkChainAccountResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgUnlinkChainAccountResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgUnlinkChainAccountResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgUnlinkChainAccountResponse proto.InternalMessageInfo
+
+// MsgSetDefaultExternalAddress represents the message used to set a default
+// address for a specific chain
+type MsgSetDefaultExternalAddress struct {
+ // Name of the chain for which to set the default address
+ ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
+ // Address to be set as the default one
+ Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
+ // User signing the message
+ Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
+}
+
+func (m *MsgSetDefaultExternalAddress) Reset() { *m = MsgSetDefaultExternalAddress{} }
+func (m *MsgSetDefaultExternalAddress) String() string { return proto.CompactTextString(m) }
+func (*MsgSetDefaultExternalAddress) ProtoMessage() {}
+func (*MsgSetDefaultExternalAddress) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{16}
+}
+func (m *MsgSetDefaultExternalAddress) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgSetDefaultExternalAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgSetDefaultExternalAddress.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgSetDefaultExternalAddress) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgSetDefaultExternalAddress.Merge(m, src)
+}
+func (m *MsgSetDefaultExternalAddress) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgSetDefaultExternalAddress) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgSetDefaultExternalAddress.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgSetDefaultExternalAddress proto.InternalMessageInfo
+
+func (m *MsgSetDefaultExternalAddress) GetChainName() string {
+ if m != nil {
+ return m.ChainName
+ }
+ return ""
+}
+
+func (m *MsgSetDefaultExternalAddress) GetTarget() string {
+ if m != nil {
+ return m.Target
+ }
+ return ""
+}
+
+func (m *MsgSetDefaultExternalAddress) GetSigner() string {
+ if m != nil {
+ return m.Signer
+ }
+ return ""
+}
+
+// MsgSetDefaultExternalAddressResponse represents the
+// Msg/SetDefaultExternalAddress response type
+type MsgSetDefaultExternalAddressResponse struct {
+}
+
+func (m *MsgSetDefaultExternalAddressResponse) Reset() { *m = MsgSetDefaultExternalAddressResponse{} }
+func (m *MsgSetDefaultExternalAddressResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgSetDefaultExternalAddressResponse) ProtoMessage() {}
+func (*MsgSetDefaultExternalAddressResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{17}
+}
+func (m *MsgSetDefaultExternalAddressResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgSetDefaultExternalAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgSetDefaultExternalAddressResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgSetDefaultExternalAddressResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgSetDefaultExternalAddressResponse.Merge(m, src)
+}
+func (m *MsgSetDefaultExternalAddressResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgSetDefaultExternalAddressResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgSetDefaultExternalAddressResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgSetDefaultExternalAddressResponse proto.InternalMessageInfo
+
+// MsgLinkApplication defines a msg to connect a profile with a
+// centralized application account (eg. Twitter, GitHub, etc).
+type MsgLinkApplication struct {
+ // The sender of the connection request
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
+ // LinkData contains the data related to the application to which connect
+ LinkData Data `protobuf:"bytes,2,opt,name=link_data,json=linkData,proto3" json:"link_data" yaml:"link_data"`
+ // Hex encoded call data that will be sent to the data source in order to
+ // verify the link
+ CallData string `protobuf:"bytes,3,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty" yaml:"call_data"`
+ // The port on which the packet will be sent
+ SourcePort string `protobuf:"bytes,4,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty" yaml:"source_port"`
+ // The channel by which the packet will be sent
+ SourceChannel string `protobuf:"bytes,5,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty" yaml:"source_channel"`
+ // Timeout height relative to the current block height.
+ // The timeout is disabled when set to 0.
+ TimeoutHeight types1.Height `protobuf:"bytes,6,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height" yaml:"timeout_height"`
+ // Timeout timestamp (in nanoseconds) relative to the current block timestamp.
+ // The timeout is disabled when set to 0.
+ TimeoutTimestamp uint64 `protobuf:"varint,7,opt,name=timeout_timestamp,json=timeoutTimestamp,proto3" json:"timeout_timestamp,omitempty" yaml:"timeout_timestamp"`
+}
+
+func (m *MsgLinkApplication) Reset() { *m = MsgLinkApplication{} }
+func (m *MsgLinkApplication) String() string { return proto.CompactTextString(m) }
+func (*MsgLinkApplication) ProtoMessage() {}
+func (*MsgLinkApplication) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{18}
+}
+func (m *MsgLinkApplication) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgLinkApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgLinkApplication.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgLinkApplication) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgLinkApplication.Merge(m, src)
+}
+func (m *MsgLinkApplication) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgLinkApplication) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgLinkApplication.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgLinkApplication proto.InternalMessageInfo
+
+func (m *MsgLinkApplication) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
+}
+
+func (m *MsgLinkApplication) GetLinkData() Data {
+ if m != nil {
+ return m.LinkData
+ }
+ return Data{}
+}
+
+func (m *MsgLinkApplication) GetCallData() string {
+ if m != nil {
+ return m.CallData
+ }
+ return ""
+}
+
+func (m *MsgLinkApplication) GetSourcePort() string {
+ if m != nil {
+ return m.SourcePort
+ }
+ return ""
+}
+
+func (m *MsgLinkApplication) GetSourceChannel() string {
+ if m != nil {
+ return m.SourceChannel
+ }
+ return ""
+}
+
+func (m *MsgLinkApplication) GetTimeoutHeight() types1.Height {
+ if m != nil {
+ return m.TimeoutHeight
+ }
+ return types1.Height{}
+}
+
+func (m *MsgLinkApplication) GetTimeoutTimestamp() uint64 {
+ if m != nil {
+ return m.TimeoutTimestamp
+ }
+ return 0
+}
+
+// MsgLinkApplicationResponse defines the Msg/LinkApplication
+// response type.
+type MsgLinkApplicationResponse struct {
+}
+
+func (m *MsgLinkApplicationResponse) Reset() { *m = MsgLinkApplicationResponse{} }
+func (m *MsgLinkApplicationResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgLinkApplicationResponse) ProtoMessage() {}
+func (*MsgLinkApplicationResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{19}
+}
+func (m *MsgLinkApplicationResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgLinkApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgLinkApplicationResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgLinkApplicationResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgLinkApplicationResponse.Merge(m, src)
+}
+func (m *MsgLinkApplicationResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgLinkApplicationResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgLinkApplicationResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgLinkApplicationResponse proto.InternalMessageInfo
+
+// MsgUnlinkApplication defines a msg to delete an application link from a user
+// profile
+type MsgUnlinkApplication struct {
+ // Application represents the name of the application to unlink
+ Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"`
+ // Username represents the username inside the application to unlink
+ Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" yaml:"username"`
+ // Signer represents the Desmos account to which the application should be
+ // unlinked
+ Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
+}
+
+func (m *MsgUnlinkApplication) Reset() { *m = MsgUnlinkApplication{} }
+func (m *MsgUnlinkApplication) String() string { return proto.CompactTextString(m) }
+func (*MsgUnlinkApplication) ProtoMessage() {}
+func (*MsgUnlinkApplication) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{20}
+}
+func (m *MsgUnlinkApplication) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgUnlinkApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgUnlinkApplication.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgUnlinkApplication) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgUnlinkApplication.Merge(m, src)
+}
+func (m *MsgUnlinkApplication) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgUnlinkApplication) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgUnlinkApplication.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgUnlinkApplication proto.InternalMessageInfo
+
+func (m *MsgUnlinkApplication) GetApplication() string {
+ if m != nil {
+ return m.Application
+ }
+ return ""
+}
+
+func (m *MsgUnlinkApplication) GetUsername() string {
+ if m != nil {
+ return m.Username
+ }
+ return ""
+}
+
+func (m *MsgUnlinkApplication) GetSigner() string {
+ if m != nil {
+ return m.Signer
+ }
+ return ""
+}
+
+// MsgUnlinkApplicationResponse defines the Msg/UnlinkApplication response
+// type.
+type MsgUnlinkApplicationResponse struct {
+}
+
+func (m *MsgUnlinkApplicationResponse) Reset() { *m = MsgUnlinkApplicationResponse{} }
+func (m *MsgUnlinkApplicationResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgUnlinkApplicationResponse) ProtoMessage() {}
+func (*MsgUnlinkApplicationResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{21}
+}
+func (m *MsgUnlinkApplicationResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgUnlinkApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgUnlinkApplicationResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgUnlinkApplicationResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgUnlinkApplicationResponse.Merge(m, src)
+}
+func (m *MsgUnlinkApplicationResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgUnlinkApplicationResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgUnlinkApplicationResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgUnlinkApplicationResponse proto.InternalMessageInfo
+
+// MsgUpdateParams is the Msg/UpdateParams request type.
+//
+// Since: Desmos 5.0.0
+type MsgUpdateParams struct {
+ // authority is the address that controls the module (defaults to x/gov unless
+ // overwritten).
+ Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
+ // params defines the parameters to update.
+ //
+ // NOTE: All parameters must be supplied.
+ Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
+}
+
+func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} }
+func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) }
+func (*MsgUpdateParams) ProtoMessage() {}
+func (*MsgUpdateParams) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{22}
+}
+func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgUpdateParams) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgUpdateParams.Merge(m, src)
+}
+func (m *MsgUpdateParams) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgUpdateParams) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo
+
+func (m *MsgUpdateParams) GetAuthority() string {
+ if m != nil {
+ return m.Authority
+ }
+ return ""
+}
+
+func (m *MsgUpdateParams) GetParams() Params {
+ if m != nil {
+ return m.Params
+ }
+ return Params{}
+}
+
+// MsgUpdateParamsResponse defines the response structure for executing a
+// MsgUpdateParams message.
+//
+// Since: Desmos 5.0.0
+type MsgUpdateParamsResponse struct {
+}
+
+func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} }
+func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgUpdateParamsResponse) ProtoMessage() {}
+func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_869194438e2ecf0d, []int{23}
+}
+func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src)
+}
+func (m *MsgUpdateParamsResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo
+
+func init() {
+ proto.RegisterType((*MsgSaveProfile)(nil), "desmos.profiles.v3.MsgSaveProfile")
+ proto.RegisterType((*MsgSaveProfileResponse)(nil), "desmos.profiles.v3.MsgSaveProfileResponse")
+ proto.RegisterType((*MsgDeleteProfile)(nil), "desmos.profiles.v3.MsgDeleteProfile")
+ proto.RegisterType((*MsgDeleteProfileResponse)(nil), "desmos.profiles.v3.MsgDeleteProfileResponse")
+ proto.RegisterType((*MsgRequestDTagTransfer)(nil), "desmos.profiles.v3.MsgRequestDTagTransfer")
+ proto.RegisterType((*MsgRequestDTagTransferResponse)(nil), "desmos.profiles.v3.MsgRequestDTagTransferResponse")
+ proto.RegisterType((*MsgCancelDTagTransferRequest)(nil), "desmos.profiles.v3.MsgCancelDTagTransferRequest")
+ proto.RegisterType((*MsgCancelDTagTransferRequestResponse)(nil), "desmos.profiles.v3.MsgCancelDTagTransferRequestResponse")
+ proto.RegisterType((*MsgAcceptDTagTransferRequest)(nil), "desmos.profiles.v3.MsgAcceptDTagTransferRequest")
+ proto.RegisterType((*MsgAcceptDTagTransferRequestResponse)(nil), "desmos.profiles.v3.MsgAcceptDTagTransferRequestResponse")
+ proto.RegisterType((*MsgRefuseDTagTransferRequest)(nil), "desmos.profiles.v3.MsgRefuseDTagTransferRequest")
+ proto.RegisterType((*MsgRefuseDTagTransferRequestResponse)(nil), "desmos.profiles.v3.MsgRefuseDTagTransferRequestResponse")
+ proto.RegisterType((*MsgLinkChainAccount)(nil), "desmos.profiles.v3.MsgLinkChainAccount")
+ proto.RegisterType((*MsgLinkChainAccountResponse)(nil), "desmos.profiles.v3.MsgLinkChainAccountResponse")
+ proto.RegisterType((*MsgUnlinkChainAccount)(nil), "desmos.profiles.v3.MsgUnlinkChainAccount")
+ proto.RegisterType((*MsgUnlinkChainAccountResponse)(nil), "desmos.profiles.v3.MsgUnlinkChainAccountResponse")
+ proto.RegisterType((*MsgSetDefaultExternalAddress)(nil), "desmos.profiles.v3.MsgSetDefaultExternalAddress")
+ proto.RegisterType((*MsgSetDefaultExternalAddressResponse)(nil), "desmos.profiles.v3.MsgSetDefaultExternalAddressResponse")
+ proto.RegisterType((*MsgLinkApplication)(nil), "desmos.profiles.v3.MsgLinkApplication")
+ proto.RegisterType((*MsgLinkApplicationResponse)(nil), "desmos.profiles.v3.MsgLinkApplicationResponse")
+ proto.RegisterType((*MsgUnlinkApplication)(nil), "desmos.profiles.v3.MsgUnlinkApplication")
+ proto.RegisterType((*MsgUnlinkApplicationResponse)(nil), "desmos.profiles.v3.MsgUnlinkApplicationResponse")
+ proto.RegisterType((*MsgUpdateParams)(nil), "desmos.profiles.v3.MsgUpdateParams")
+ proto.RegisterType((*MsgUpdateParamsResponse)(nil), "desmos.profiles.v3.MsgUpdateParamsResponse")
+}
+
func init() {
proto.RegisterFile("desmos/profiles/v3/msg_server.proto", fileDescriptor_869194438e2ecf0d)
}
-var fileDescriptor_869194438e2ecf0d = []byte{
- // 511 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x3f, 0x6f, 0xd3, 0x40,
- 0x18, 0xc6, 0x1b, 0x21, 0x18, 0xae, 0x20, 0xe0, 0x18, 0x10, 0x37, 0x78, 0xa0, 0x85, 0xd2, 0x16,
- 0xec, 0xa6, 0x11, 0x12, 0x6b, 0x68, 0x98, 0xa0, 0x52, 0x95, 0xb6, 0x0b, 0x12, 0x0a, 0x97, 0xcb,
- 0x1b, 0xd7, 0xea, 0xe5, 0xee, 0xb8, 0x3b, 0x5b, 0x65, 0x63, 0x63, 0x84, 0x8f, 0xc2, 0xc7, 0x60,
- 0xec, 0xc8, 0x88, 0x92, 0x81, 0xaf, 0x81, 0x12, 0x27, 0xc6, 0x6e, 0xfb, 0x16, 0x67, 0x4a, 0x64,
- 0xff, 0x9e, 0x3f, 0x7a, 0x24, 0xbf, 0x64, 0x6d, 0x00, 0x6e, 0xa4, 0x5d, 0x64, 0xac, 0x1e, 0x26,
- 0x12, 0x5c, 0x94, 0xb5, 0xa2, 0x91, 0x8b, 0x7b, 0x0e, 0x6c, 0x06, 0x36, 0x34, 0x56, 0x7b, 0x4d,
- 0x69, 0x0e, 0x85, 0x0b, 0x28, 0xcc, 0x5a, 0xec, 0xa1, 0xd0, 0x33, 0xe1, 0xc8, 0xc5, 0x51, 0xd6,
- 0x9c, 0xfe, 0xe4, 0x30, 0x7b, 0x72, 0xb5, 0xa3, 0xeb, 0xcd, 0x1f, 0xcc, 0xb1, 0x6d, 0x0c, 0x1b,
- 0x78, 0x1e, 0xf7, 0x2c, 0x7c, 0x4a, 0xc1, 0x79, 0x37, 0x87, 0x37, 0x31, 0x58, 0x9c, 0xf0, 0x44,
- 0xf5, 0x64, 0xa2, 0x4e, 0x17, 0xe8, 0x06,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 0x54, 0xfa,
- 0x37, 0x67, 0x1e, 0xac, 0xe2, 0xb2, 0x3d, 0x18, 0x58, 0x70, 0x0e, 0xdd, 0x1a, 0x55, 0xa0, 0x5b,
- 0xa3, 0x8a, 0xa2, 0x49, 0x42, 0xee, 0x4e, 0x97, 0x69, 0x1b, 0x23, 0x13, 0xc1, 0x7d, 0xa2, 0x15,
- 0x7d, 0x7a, 0xcd, 0x82, 0x25, 0x8e, 0x85, 0xf5, 0xb8, 0x22, 0x4a, 0x93, 0xfb, 0xf9, 0x24, 0xe5,
- 0xb0, 0x67, 0xd7, 0x8e, 0x57, 0x8e, 0xdb, 0xa9, 0x4b, 0x16, 0x81, 0x1f, 0xc9, 0xed, 0x63, 0x33,
- 0xe0, 0x1e, 0x0e, 0x66, 0xe7, 0x93, 0xae, 0x61, 0x0e, 0x25, 0x88, 0x6d, 0xd7, 0x80, 0x16, 0x09,
- 0xec, 0xe6, 0x97, 0x3f, 0x3f, 0xb6, 0x1a, 0xaf, 0xdf, 0xfe, 0x1c, 0x07, 0x8d, 0xf3, 0x71, 0xd0,
- 0xf8, 0x3d, 0x0e, 0x1a, 0xdf, 0x27, 0xc1, 0xca, 0xf9, 0x24, 0x58, 0xf9, 0x35, 0x09, 0x56, 0xde,
- 0x37, 0xe3, 0xc4, 0x9f, 0xa4, 0xfd, 0x50, 0xe8, 0x51, 0x94, 0xfb, 0xbe, 0x90, 0xbc, 0xef, 0xe6,
- 0xff, 0xa3, 0xec, 0x65, 0x74, 0xf6, 0xef, 0xda, 0xfb, 0xcf, 0x06, 0x5c, 0xff, 0xd6, 0xec, 0xca,
- 0xb7, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0xcf, 0xcf, 0x27, 0x5b, 0x07, 0x07, 0x00, 0x00,
+var fileDescriptor_869194438e2ecf0d = []byte{
+ // 1672 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 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be, 0x2f, 0xdf, 0x16, 0xfa, 0xfe, 0xb2, 0x63, 0x5a, 0xfe, 0x59, 0xab, 0x56,
+ 0x34, 0x70, 0xa3, 0xc4, 0xfc, 0x6e, 0xd9, 0x7a, 0xcd, 0xe3, 0xdf, 0xa5, 0xf6, 0xa3, 0xf8, 0x19,
+ 0xe0, 0x5f, 0x36, 0x91, 0x57, 0x1b, 0xa2, 0xcf, 0xb7, 0xbd, 0xef, 0x03, 0x00, 0x00, 0xff, 0xff,
+ 0x9a, 0x79, 0x64, 0x44, 0xb5, 0x15, 0x00, 0x00,
+}
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ context.Context
+var _ grpc.ClientConn
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+const _ = grpc.SupportPackageIsVersion4
+
+// MsgClient is the client API for Msg service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
+type MsgClient interface {
+ // SaveProfile defines the method to save a profile
+ SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error)
+ // DeleteProfile defines the method to delete an existing profile
+ DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error)
+ // RequestDTagTransfer defines the method to request another user to transfer
+ // their DTag to you
+ RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error)
+ // CancelDTagTransferRequest defines the method to cancel an outgoing DTag
+ // transfer request
+ CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error)
+ // AcceptDTagTransferRequest defines the method to accept an incoming DTag
+ // transfer request
+ AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error)
+ // RefuseDTagTransferRequest defines the method to refuse an incoming DTag
+ // transfer request
+ RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error)
+ // LinkChainAccount defines a method to link an external chain account to a
+ // profile
+ LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error)
+ // UnlinkChainAccount defines a method to unlink an external chain account
+ // from a profile
+ UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error)
+ // SetDefaultExternalAddress allows to set a specific external address as the
+ // default one for a given chain
+ SetDefaultExternalAddress(ctx context.Context, in *MsgSetDefaultExternalAddress, opts ...grpc.CallOption) (*MsgSetDefaultExternalAddressResponse, error)
+ // LinkApplication defines a method to create a centralized application
+ // link
+ LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error)
+ // UnlinkApplication defines a method to remove a centralized application
+ UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, error)
+ // UpdateParams defines a (governance) operation for updating the module
+ // parameters.
+ // The authority defaults to the x/gov module account.
+ //
+ // Since: Desmos 5.0.0
+ UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
+}
+
+type msgClient struct {
+ cc grpc1.ClientConn
+}
+
+func NewMsgClient(cc grpc1.ClientConn) MsgClient {
+ return &msgClient{cc}
+}
+
+func (c *msgClient) SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error) {
+ out := new(MsgSaveProfileResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/SaveProfile", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error) {
+ out := new(MsgDeleteProfileResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/DeleteProfile", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error) {
+ out := new(MsgRequestDTagTransferResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/RequestDTagTransfer", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error) {
+ out := new(MsgCancelDTagTransferRequestResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/CancelDTagTransferRequest", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error) {
+ out := new(MsgAcceptDTagTransferRequestResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/AcceptDTagTransferRequest", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error) {
+ out := new(MsgRefuseDTagTransferRequestResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/RefuseDTagTransferRequest", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error) {
+ out := new(MsgLinkChainAccountResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/LinkChainAccount", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error) {
+ out := new(MsgUnlinkChainAccountResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/UnlinkChainAccount", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) SetDefaultExternalAddress(ctx context.Context, in *MsgSetDefaultExternalAddress, opts ...grpc.CallOption) (*MsgSetDefaultExternalAddressResponse, error) {
+ out := new(MsgSetDefaultExternalAddressResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/SetDefaultExternalAddress", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error) {
+ out := new(MsgLinkApplicationResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/LinkApplication", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, error) {
+ out := new(MsgUnlinkApplicationResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/UnlinkApplication", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
+ out := new(MsgUpdateParamsResponse)
+ err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/UpdateParams", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+// MsgServer is the server API for Msg service.
+type MsgServer interface {
+ // SaveProfile defines the method to save a profile
+ SaveProfile(context.Context, *MsgSaveProfile) (*MsgSaveProfileResponse, error)
+ // DeleteProfile defines the method to delete an existing profile
+ DeleteProfile(context.Context, *MsgDeleteProfile) (*MsgDeleteProfileResponse, error)
+ // RequestDTagTransfer defines the method to request another user to transfer
+ // their DTag to you
+ RequestDTagTransfer(context.Context, *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error)
+ // CancelDTagTransferRequest defines the method to cancel an outgoing DTag
+ // transfer request
+ CancelDTagTransferRequest(context.Context, *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error)
+ // AcceptDTagTransferRequest defines the method to accept an incoming DTag
+ // transfer request
+ AcceptDTagTransferRequest(context.Context, *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error)
+ // RefuseDTagTransferRequest defines the method to refuse an incoming DTag
+ // transfer request
+ RefuseDTagTransferRequest(context.Context, *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error)
+ // LinkChainAccount defines a method to link an external chain account to a
+ // profile
+ LinkChainAccount(context.Context, *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error)
+ // UnlinkChainAccount defines a method to unlink an external chain account
+ // from a profile
+ UnlinkChainAccount(context.Context, *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error)
+ // SetDefaultExternalAddress allows to set a specific external address as the
+ // default one for a given chain
+ SetDefaultExternalAddress(context.Context, *MsgSetDefaultExternalAddress) (*MsgSetDefaultExternalAddressResponse, error)
+ // LinkApplication defines a method to create a centralized application
+ // link
+ LinkApplication(context.Context, *MsgLinkApplication) (*MsgLinkApplicationResponse, error)
+ // UnlinkApplication defines a method to remove a centralized application
+ UnlinkApplication(context.Context, *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error)
+ // UpdateParams defines a (governance) operation for updating the module
+ // parameters.
+ // The authority defaults to the x/gov module account.
+ //
+ // Since: Desmos 5.0.0
+ UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
+}
+
+// UnimplementedMsgServer can be embedded to have forward compatible implementations.
+type UnimplementedMsgServer struct {
+}
+
+func (*UnimplementedMsgServer) SaveProfile(ctx context.Context, req *MsgSaveProfile) (*MsgSaveProfileResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method SaveProfile not implemented")
+}
+func (*UnimplementedMsgServer) DeleteProfile(ctx context.Context, req *MsgDeleteProfile) (*MsgDeleteProfileResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method DeleteProfile not implemented")
+}
+func (*UnimplementedMsgServer) RequestDTagTransfer(ctx context.Context, req *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method RequestDTagTransfer not implemented")
+}
+func (*UnimplementedMsgServer) CancelDTagTransferRequest(ctx context.Context, req *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CancelDTagTransferRequest not implemented")
+}
+func (*UnimplementedMsgServer) AcceptDTagTransferRequest(ctx context.Context, req *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method AcceptDTagTransferRequest not implemented")
+}
+func (*UnimplementedMsgServer) RefuseDTagTransferRequest(ctx context.Context, req *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method RefuseDTagTransferRequest not implemented")
+}
+func (*UnimplementedMsgServer) LinkChainAccount(ctx context.Context, req *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method LinkChainAccount not implemented")
+}
+func (*UnimplementedMsgServer) UnlinkChainAccount(ctx context.Context, req *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UnlinkChainAccount not implemented")
+}
+func (*UnimplementedMsgServer) SetDefaultExternalAddress(ctx context.Context, req *MsgSetDefaultExternalAddress) (*MsgSetDefaultExternalAddressResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method SetDefaultExternalAddress not implemented")
+}
+func (*UnimplementedMsgServer) LinkApplication(ctx context.Context, req *MsgLinkApplication) (*MsgLinkApplicationResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method LinkApplication not implemented")
+}
+func (*UnimplementedMsgServer) UnlinkApplication(ctx context.Context, req *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UnlinkApplication not implemented")
+}
+func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
+}
+
+func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
+ s.RegisterService(&_Msg_serviceDesc, srv)
+}
+
+func _Msg_SaveProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgSaveProfile)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).SaveProfile(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/SaveProfile",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).SaveProfile(ctx, req.(*MsgSaveProfile))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_DeleteProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgDeleteProfile)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).DeleteProfile(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/DeleteProfile",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).DeleteProfile(ctx, req.(*MsgDeleteProfile))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_RequestDTagTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgRequestDTagTransfer)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).RequestDTagTransfer(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/RequestDTagTransfer",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).RequestDTagTransfer(ctx, req.(*MsgRequestDTagTransfer))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_CancelDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCancelDTagTransferRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).CancelDTagTransferRequest(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/CancelDTagTransferRequest",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CancelDTagTransferRequest(ctx, req.(*MsgCancelDTagTransferRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_AcceptDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgAcceptDTagTransferRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).AcceptDTagTransferRequest(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/AcceptDTagTransferRequest",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).AcceptDTagTransferRequest(ctx, req.(*MsgAcceptDTagTransferRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_RefuseDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgRefuseDTagTransferRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).RefuseDTagTransferRequest(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/RefuseDTagTransferRequest",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).RefuseDTagTransferRequest(ctx, req.(*MsgRefuseDTagTransferRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_LinkChainAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgLinkChainAccount)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).LinkChainAccount(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/LinkChainAccount",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).LinkChainAccount(ctx, req.(*MsgLinkChainAccount))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_UnlinkChainAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgUnlinkChainAccount)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).UnlinkChainAccount(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/UnlinkChainAccount",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).UnlinkChainAccount(ctx, req.(*MsgUnlinkChainAccount))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_SetDefaultExternalAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgSetDefaultExternalAddress)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).SetDefaultExternalAddress(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/SetDefaultExternalAddress",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).SetDefaultExternalAddress(ctx, req.(*MsgSetDefaultExternalAddress))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_LinkApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgLinkApplication)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).LinkApplication(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/LinkApplication",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).LinkApplication(ctx, req.(*MsgLinkApplication))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Msg_UnlinkApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgUnlinkApplication)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).UnlinkApplication(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/UnlinkApplication",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).UnlinkApplication(ctx, req.(*MsgUnlinkApplication))
+ }
+ return interceptor(ctx, in, info, handler)
}
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
+func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgUpdateParams)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(MsgServer).UpdateParams(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/desmos.profiles.v3.Msg/UpdateParams",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
+ }
+ return interceptor(ctx, in, info, handler)
+}
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
+var _Msg_serviceDesc = grpc.ServiceDesc{
+ ServiceName: "desmos.profiles.v3.Msg",
+ HandlerType: (*MsgServer)(nil),
+ Methods: []grpc.MethodDesc{
+ {
+ MethodName: "SaveProfile",
+ Handler: _Msg_SaveProfile_Handler,
+ },
+ {
+ MethodName: "DeleteProfile",
+ Handler: _Msg_DeleteProfile_Handler,
+ },
+ {
+ MethodName: "RequestDTagTransfer",
+ Handler: _Msg_RequestDTagTransfer_Handler,
+ },
+ {
+ MethodName: "CancelDTagTransferRequest",
+ Handler: _Msg_CancelDTagTransferRequest_Handler,
+ },
+ {
+ MethodName: "AcceptDTagTransferRequest",
+ Handler: _Msg_AcceptDTagTransferRequest_Handler,
+ },
+ {
+ MethodName: "RefuseDTagTransferRequest",
+ Handler: _Msg_RefuseDTagTransferRequest_Handler,
+ },
+ {
+ MethodName: "LinkChainAccount",
+ Handler: _Msg_LinkChainAccount_Handler,
+ },
+ {
+ MethodName: "UnlinkChainAccount",
+ Handler: _Msg_UnlinkChainAccount_Handler,
+ },
+ {
+ MethodName: "SetDefaultExternalAddress",
+ Handler: _Msg_SetDefaultExternalAddress_Handler,
+ },
+ {
+ MethodName: "LinkApplication",
+ Handler: _Msg_LinkApplication_Handler,
+ },
+ {
+ MethodName: "UnlinkApplication",
+ Handler: _Msg_UnlinkApplication_Handler,
+ },
+ {
+ MethodName: "UpdateParams",
+ Handler: _Msg_UpdateParams_Handler,
+ },
+ },
+ Streams: []grpc.StreamDesc{},
+ Metadata: "desmos/profiles/v3/msg_server.proto",
+}
-// MsgClient is the client API for Msg service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type MsgClient interface {
- // SaveProfile defines the method to save a profile
- SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error)
- // DeleteProfile defines the method to delete an existing profile
- DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error)
- // RequestDTagTransfer defines the method to request another user to transfer
- // their DTag to you
- RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error)
- // CancelDTagTransferRequest defines the method to cancel an outgoing DTag
- // transfer request
- CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error)
- // AcceptDTagTransferRequest defines the method to accept an incoming DTag
- // transfer request
- AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error)
- // RefuseDTagTransferRequest defines the method to refuse an incoming DTag
- // transfer request
- RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error)
- // LinkChainAccount defines a method to link an external chain account to a
- // profile
- LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error)
- // UnlinkChainAccount defines a method to unlink an external chain account
- // from a profile
- UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error)
- // SetDefaultExternalAddress allows to set a specific external address as the
- // default one for a given chain
- SetDefaultExternalAddress(ctx context.Context, in *MsgSetDefaultExternalAddress, opts ...grpc.CallOption) (*MsgSetDefaultExternalAddressResponse, error)
- // LinkApplication defines a method to create a centralized application
- // link
- LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error)
- // UnlinkApplication defines a method to remove a centralized application
- UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, error)
- // UpdateParams defines a (governance) operation for updating the module
- // parameters.
- // The authority defaults to the x/gov module account.
- //
- // Since: Desmos 5.0.0
- UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
+func (m *MsgSaveProfile) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgSaveProfile) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgSaveProfile) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Creator) > 0 {
+ i -= len(m.Creator)
+ copy(dAtA[i:], m.Creator)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Creator)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.CoverPicture) > 0 {
+ i -= len(m.CoverPicture)
+ copy(dAtA[i:], m.CoverPicture)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.CoverPicture)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.ProfilePicture) > 0 {
+ i -= len(m.ProfilePicture)
+ copy(dAtA[i:], m.ProfilePicture)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.ProfilePicture)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Bio) > 0 {
+ i -= len(m.Bio)
+ copy(dAtA[i:], m.Bio)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Bio)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Nickname) > 0 {
+ i -= len(m.Nickname)
+ copy(dAtA[i:], m.Nickname)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Nickname)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.DTag) > 0 {
+ i -= len(m.DTag)
+ copy(dAtA[i:], m.DTag)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.DTag)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgSaveProfileResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgSaveProfileResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgSaveProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgDeleteProfile) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgDeleteProfile) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgDeleteProfile) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Creator) > 0 {
+ i -= len(m.Creator)
+ copy(dAtA[i:], m.Creator)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Creator)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgDeleteProfileResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgDeleteProfileResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgDeleteProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgRequestDTagTransfer) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgRequestDTagTransfer) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgRequestDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Receiver) > 0 {
+ i -= len(m.Receiver)
+ copy(dAtA[i:], m.Receiver)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Receiver)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgRequestDTagTransferResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgRequestDTagTransferResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgRequestDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgCancelDTagTransferRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgCancelDTagTransferRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgCancelDTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Receiver) > 0 {
+ i -= len(m.Receiver)
+ copy(dAtA[i:], m.Receiver)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Receiver)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgCancelDTagTransferRequestResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgCancelDTagTransferRequestResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgCancelDTagTransferRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgAcceptDTagTransferRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgAcceptDTagTransferRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgAcceptDTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Receiver) > 0 {
+ i -= len(m.Receiver)
+ copy(dAtA[i:], m.Receiver)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Receiver)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.NewDTag) > 0 {
+ i -= len(m.NewDTag)
+ copy(dAtA[i:], m.NewDTag)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.NewDTag)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgAcceptDTagTransferRequestResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgAcceptDTagTransferRequestResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgAcceptDTagTransferRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgRefuseDTagTransferRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgRefuseDTagTransferRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgRefuseDTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Receiver) > 0 {
+ i -= len(m.Receiver)
+ copy(dAtA[i:], m.Receiver)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Receiver)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
}
-type msgClient struct {
- cc grpc1.ClientConn
+func (m *MsgRefuseDTagTransferRequestResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
}
-func NewMsgClient(cc grpc1.ClientConn) MsgClient {
- return &msgClient{cc}
+func (m *MsgRefuseDTagTransferRequestResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (c *msgClient) SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error) {
- out := new(MsgSaveProfileResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/SaveProfile", in, out, opts...)
+func (m *MsgRefuseDTagTransferRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgLinkChainAccount) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error) {
- out := new(MsgDeleteProfileResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/DeleteProfile", in, out, opts...)
+func (m *MsgLinkChainAccount) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgLinkChainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Signer) > 0 {
+ i -= len(m.Signer)
+ copy(dAtA[i:], m.Signer)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Signer)))
+ i--
+ dAtA[i] = 0x22
+ }
+ {
+ size, err := m.ChainConfig.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintMsgServer(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ {
+ size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintMsgServer(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if m.ChainAddress != nil {
+ {
+ size, err := m.ChainAddress.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintMsgServer(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgLinkChainAccountResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error) {
- out := new(MsgRequestDTagTransferResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/RequestDTagTransfer", in, out, opts...)
+func (m *MsgLinkChainAccountResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgLinkChainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgUnlinkChainAccount) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error) {
- out := new(MsgCancelDTagTransferRequestResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/CancelDTagTransferRequest", in, out, opts...)
+func (m *MsgUnlinkChainAccount) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgUnlinkChainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Target) > 0 {
+ i -= len(m.Target)
+ copy(dAtA[i:], m.Target)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Target)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.ChainName) > 0 {
+ i -= len(m.ChainName)
+ copy(dAtA[i:], m.ChainName)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.ChainName)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Owner) > 0 {
+ i -= len(m.Owner)
+ copy(dAtA[i:], m.Owner)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Owner)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgUnlinkChainAccountResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error) {
- out := new(MsgAcceptDTagTransferRequestResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/AcceptDTagTransferRequest", in, out, opts...)
+func (m *MsgUnlinkChainAccountResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgUnlinkChainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgSetDefaultExternalAddress) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error) {
- out := new(MsgRefuseDTagTransferRequestResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/RefuseDTagTransferRequest", in, out, opts...)
+func (m *MsgSetDefaultExternalAddress) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgSetDefaultExternalAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Signer) > 0 {
+ i -= len(m.Signer)
+ copy(dAtA[i:], m.Signer)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Signer)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Target) > 0 {
+ i -= len(m.Target)
+ copy(dAtA[i:], m.Target)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Target)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.ChainName) > 0 {
+ i -= len(m.ChainName)
+ copy(dAtA[i:], m.ChainName)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.ChainName)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgSetDefaultExternalAddressResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error) {
- out := new(MsgLinkChainAccountResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/LinkChainAccount", in, out, opts...)
+func (m *MsgSetDefaultExternalAddressResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgSetDefaultExternalAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgLinkApplication) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error) {
- out := new(MsgUnlinkChainAccountResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/UnlinkChainAccount", in, out, opts...)
+func (m *MsgLinkApplication) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgLinkApplication) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.TimeoutTimestamp != 0 {
+ i = encodeVarintMsgServer(dAtA, i, uint64(m.TimeoutTimestamp))
+ i--
+ dAtA[i] = 0x38
+ }
+ {
+ size, err := m.TimeoutHeight.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintMsgServer(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ if len(m.SourceChannel) > 0 {
+ i -= len(m.SourceChannel)
+ copy(dAtA[i:], m.SourceChannel)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.SourceChannel)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.SourcePort) > 0 {
+ i -= len(m.SourcePort)
+ copy(dAtA[i:], m.SourcePort)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.SourcePort)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.CallData) > 0 {
+ i -= len(m.CallData)
+ copy(dAtA[i:], m.CallData)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.CallData)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ {
+ size, err := m.LinkData.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintMsgServer(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgLinkApplicationResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) SetDefaultExternalAddress(ctx context.Context, in *MsgSetDefaultExternalAddress, opts ...grpc.CallOption) (*MsgSetDefaultExternalAddressResponse, error) {
- out := new(MsgSetDefaultExternalAddressResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/SetDefaultExternalAddress", in, out, opts...)
+func (m *MsgLinkApplicationResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgLinkApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgUnlinkApplication) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error) {
- out := new(MsgLinkApplicationResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/LinkApplication", in, out, opts...)
+func (m *MsgUnlinkApplication) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgUnlinkApplication) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Signer) > 0 {
+ i -= len(m.Signer)
+ copy(dAtA[i:], m.Signer)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Signer)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Username) > 0 {
+ i -= len(m.Username)
+ copy(dAtA[i:], m.Username)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Username)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Application) > 0 {
+ i -= len(m.Application)
+ copy(dAtA[i:], m.Application)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Application)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgUnlinkApplicationResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, error) {
- out := new(MsgUnlinkApplicationResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/UnlinkApplication", in, out, opts...)
+func (m *MsgUnlinkApplicationResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgUnlinkApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
- out := new(MsgUpdateParamsResponse)
- err := c.cc.Invoke(ctx, "/desmos.profiles.v3.Msg/UpdateParams", in, out, opts...)
+func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintMsgServer(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.Authority) > 0 {
+ i -= len(m.Authority)
+ copy(dAtA[i:], m.Authority)
+ i = encodeVarintMsgServer(dAtA, i, uint64(len(m.Authority)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
- return out, nil
+ return dAtA[:n], nil
}
-// MsgServer is the server API for Msg service.
-type MsgServer interface {
- // SaveProfile defines the method to save a profile
- SaveProfile(context.Context, *MsgSaveProfile) (*MsgSaveProfileResponse, error)
- // DeleteProfile defines the method to delete an existing profile
- DeleteProfile(context.Context, *MsgDeleteProfile) (*MsgDeleteProfileResponse, error)
- // RequestDTagTransfer defines the method to request another user to transfer
- // their DTag to you
- RequestDTagTransfer(context.Context, *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error)
- // CancelDTagTransferRequest defines the method to cancel an outgoing DTag
- // transfer request
- CancelDTagTransferRequest(context.Context, *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error)
- // AcceptDTagTransferRequest defines the method to accept an incoming DTag
- // transfer request
- AcceptDTagTransferRequest(context.Context, *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error)
- // RefuseDTagTransferRequest defines the method to refuse an incoming DTag
- // transfer request
- RefuseDTagTransferRequest(context.Context, *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error)
- // LinkChainAccount defines a method to link an external chain account to a
- // profile
- LinkChainAccount(context.Context, *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error)
- // UnlinkChainAccount defines a method to unlink an external chain account
- // from a profile
- UnlinkChainAccount(context.Context, *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error)
- // SetDefaultExternalAddress allows to set a specific external address as the
- // default one for a given chain
- SetDefaultExternalAddress(context.Context, *MsgSetDefaultExternalAddress) (*MsgSetDefaultExternalAddressResponse, error)
- // LinkApplication defines a method to create a centralized application
- // link
- LinkApplication(context.Context, *MsgLinkApplication) (*MsgLinkApplicationResponse, error)
- // UnlinkApplication defines a method to remove a centralized application
- UnlinkApplication(context.Context, *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error)
- // UpdateParams defines a (governance) operation for updating the module
- // parameters.
- // The authority defaults to the x/gov module account.
- //
- // Since: Desmos 5.0.0
- UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
+func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-// UnimplementedMsgServer can be embedded to have forward compatible implementations.
-type UnimplementedMsgServer struct {
+func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
}
-func (*UnimplementedMsgServer) SaveProfile(ctx context.Context, req *MsgSaveProfile) (*MsgSaveProfileResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SaveProfile not implemented")
+func encodeVarintMsgServer(dAtA []byte, offset int, v uint64) int {
+ offset -= sovMsgServer(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
}
-func (*UnimplementedMsgServer) DeleteProfile(ctx context.Context, req *MsgDeleteProfile) (*MsgDeleteProfileResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteProfile not implemented")
+func (m *MsgSaveProfile) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.DTag)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Nickname)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Bio)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.ProfilePicture)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.CoverPicture)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Creator)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func (*UnimplementedMsgServer) RequestDTagTransfer(ctx context.Context, req *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RequestDTagTransfer not implemented")
+
+func (m *MsgSaveProfileResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (*UnimplementedMsgServer) CancelDTagTransferRequest(ctx context.Context, req *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelDTagTransferRequest not implemented")
+
+func (m *MsgDeleteProfile) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Creator)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func (*UnimplementedMsgServer) AcceptDTagTransferRequest(ctx context.Context, req *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AcceptDTagTransferRequest not implemented")
+
+func (m *MsgDeleteProfileResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (*UnimplementedMsgServer) RefuseDTagTransferRequest(ctx context.Context, req *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RefuseDTagTransferRequest not implemented")
+
+func (m *MsgRequestDTagTransfer) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Receiver)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func (*UnimplementedMsgServer) LinkChainAccount(ctx context.Context, req *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LinkChainAccount not implemented")
+
+func (m *MsgRequestDTagTransferResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (*UnimplementedMsgServer) UnlinkChainAccount(ctx context.Context, req *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnlinkChainAccount not implemented")
+
+func (m *MsgCancelDTagTransferRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Receiver)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func (*UnimplementedMsgServer) SetDefaultExternalAddress(ctx context.Context, req *MsgSetDefaultExternalAddress) (*MsgSetDefaultExternalAddressResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SetDefaultExternalAddress not implemented")
+
+func (m *MsgCancelDTagTransferRequestResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (*UnimplementedMsgServer) LinkApplication(ctx context.Context, req *MsgLinkApplication) (*MsgLinkApplicationResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LinkApplication not implemented")
+
+func (m *MsgAcceptDTagTransferRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.NewDTag)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Receiver)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func (*UnimplementedMsgServer) UnlinkApplication(ctx context.Context, req *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UnlinkApplication not implemented")
+
+func (m *MsgAcceptDTagTransferRequestResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
+
+func (m *MsgRefuseDTagTransferRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Receiver)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
- s.RegisterService(&_Msg_serviceDesc, srv)
+func (m *MsgRefuseDTagTransferRequestResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func _Msg_SaveProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgSaveProfile)
- if err := dec(in); err != nil {
- return nil, err
+func (m *MsgLinkChainAccount) Size() (n int) {
+ if m == nil {
+ return 0
}
- if interceptor == nil {
- return srv.(MsgServer).SaveProfile(ctx, in)
+ var l int
+ _ = l
+ if m.ChainAddress != nil {
+ l = m.ChainAddress.Size()
+ n += 1 + l + sovMsgServer(uint64(l))
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/SaveProfile",
+ l = m.Proof.Size()
+ n += 1 + l + sovMsgServer(uint64(l))
+ l = m.ChainConfig.Size()
+ n += 1 + l + sovMsgServer(uint64(l))
+ l = len(m.Signer)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
+}
+
+func (m *MsgLinkChainAccountResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgUnlinkChainAccount) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Owner)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.ChainName)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.Target)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
+}
+
+func (m *MsgUnlinkChainAccountResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgSetDefaultExternalAddress) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ChainName)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).SaveProfile(ctx, req.(*MsgSaveProfile))
+ l = len(m.Target)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- return interceptor(ctx, in, info, handler)
+ l = len(m.Signer)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func _Msg_DeleteProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgDeleteProfile)
- if err := dec(in); err != nil {
- return nil, err
+func (m *MsgSetDefaultExternalAddressResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if interceptor == nil {
- return srv.(MsgServer).DeleteProfile(ctx, in)
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgLinkApplication) Size() (n int) {
+ if m == nil {
+ return 0
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/DeleteProfile",
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).DeleteProfile(ctx, req.(*MsgDeleteProfile))
+ l = m.LinkData.Size()
+ n += 1 + l + sovMsgServer(uint64(l))
+ l = len(m.CallData)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- return interceptor(ctx, in, info, handler)
+ l = len(m.SourcePort)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = len(m.SourceChannel)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ l = m.TimeoutHeight.Size()
+ n += 1 + l + sovMsgServer(uint64(l))
+ if m.TimeoutTimestamp != 0 {
+ n += 1 + sovMsgServer(uint64(m.TimeoutTimestamp))
+ }
+ return n
}
-func _Msg_RequestDTagTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgRequestDTagTransfer)
- if err := dec(in); err != nil {
- return nil, err
+func (m *MsgLinkApplicationResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if interceptor == nil {
- return srv.(MsgServer).RequestDTagTransfer(ctx, in)
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgUnlinkApplication) Size() (n int) {
+ if m == nil {
+ return 0
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/RequestDTagTransfer",
+ var l int
+ _ = l
+ l = len(m.Application)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).RequestDTagTransfer(ctx, req.(*MsgRequestDTagTransfer))
+ l = len(m.Username)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- return interceptor(ctx, in, info, handler)
+ l = len(m.Signer)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
+ }
+ return n
}
-func _Msg_CancelDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCancelDTagTransferRequest)
- if err := dec(in); err != nil {
- return nil, err
+func (m *MsgUnlinkApplicationResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if interceptor == nil {
- return srv.(MsgServer).CancelDTagTransferRequest(ctx, in)
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgUpdateParams) Size() (n int) {
+ if m == nil {
+ return 0
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/CancelDTagTransferRequest",
+ var l int
+ _ = l
+ l = len(m.Authority)
+ if l > 0 {
+ n += 1 + l + sovMsgServer(uint64(l))
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CancelDTagTransferRequest(ctx, req.(*MsgCancelDTagTransferRequest))
+ l = m.Params.Size()
+ n += 1 + l + sovMsgServer(uint64(l))
+ return n
+}
+
+func (m *MsgUpdateParamsResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return interceptor(ctx, in, info, handler)
+ var l int
+ _ = l
+ return n
}
-func _Msg_AcceptDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgAcceptDTagTransferRequest)
- if err := dec(in); err != nil {
- return nil, err
+func sovMsgServer(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozMsgServer(x uint64) (n int) {
+ return sovMsgServer(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *MsgSaveProfile) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgSaveProfile: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgSaveProfile: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DTag", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DTag = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Nickname", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Nickname = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Bio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Bio = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ProfilePicture", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ProfilePicture = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CoverPicture", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CoverPicture = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Creator = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- if interceptor == nil {
- return srv.(MsgServer).AcceptDTagTransferRequest(ctx, in)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/AcceptDTagTransferRequest",
+ return nil
+}
+func (m *MsgSaveProfileResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgSaveProfileResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgSaveProfileResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).AcceptDTagTransferRequest(ctx, req.(*MsgAcceptDTagTransferRequest))
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- return interceptor(ctx, in, info, handler)
+ return nil
}
+func (m *MsgDeleteProfile) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgDeleteProfile: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgDeleteProfile: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Creator = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_RefuseDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgRefuseDTagTransferRequest)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).RefuseDTagTransferRequest(ctx, in)
+ return nil
+}
+func (m *MsgDeleteProfileResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgDeleteProfileResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgDeleteProfileResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/RefuseDTagTransferRequest",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).RefuseDTagTransferRequest(ctx, req.(*MsgRefuseDTagTransferRequest))
+ return nil
+}
+func (m *MsgRequestDTagTransfer) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgRequestDTagTransfer: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgRequestDTagTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Receiver = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Sender = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgRequestDTagTransferResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgRequestDTagTransferResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgRequestDTagTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_LinkChainAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgLinkChainAccount)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).LinkChainAccount(ctx, in)
+ return nil
+}
+func (m *MsgCancelDTagTransferRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelDTagTransferRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelDTagTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Receiver = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Sender = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/LinkChainAccount",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).LinkChainAccount(ctx, req.(*MsgLinkChainAccount))
+ return nil
+}
+func (m *MsgCancelDTagTransferRequestResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelDTagTransferRequestResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelDTagTransferRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgAcceptDTagTransferRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgAcceptDTagTransferRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgAcceptDTagTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NewDTag", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.NewDTag = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Sender = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Receiver = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_UnlinkChainAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgUnlinkChainAccount)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).UnlinkChainAccount(ctx, in)
+ return nil
+}
+func (m *MsgAcceptDTagTransferRequestResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgAcceptDTagTransferRequestResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgAcceptDTagTransferRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/UnlinkChainAccount",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).UnlinkChainAccount(ctx, req.(*MsgUnlinkChainAccount))
+ return nil
+}
+func (m *MsgRefuseDTagTransferRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgRefuseDTagTransferRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgRefuseDTagTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Sender = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Receiver = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgRefuseDTagTransferRequestResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgRefuseDTagTransferRequestResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgRefuseDTagTransferRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_SetDefaultExternalAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgSetDefaultExternalAddress)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).SetDefaultExternalAddress(ctx, in)
+ return nil
+}
+func (m *MsgLinkChainAccount) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgLinkChainAccount: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgLinkChainAccount: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ChainAddress", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ChainAddress == nil {
+ m.ChainAddress = &types.Any{}
+ }
+ if err := m.ChainAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ChainConfig", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ChainConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Signer = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/SetDefaultExternalAddress",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).SetDefaultExternalAddress(ctx, req.(*MsgSetDefaultExternalAddress))
+ return nil
+}
+func (m *MsgLinkChainAccountResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgLinkChainAccountResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgLinkChainAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgUnlinkChainAccount) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgUnlinkChainAccount: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUnlinkChainAccount: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Owner = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ChainName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ChainName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Target = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_LinkApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgLinkApplication)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).LinkApplication(ctx, in)
+ return nil
+}
+func (m *MsgUnlinkChainAccountResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgUnlinkChainAccountResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUnlinkChainAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/LinkApplication",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).LinkApplication(ctx, req.(*MsgLinkApplication))
+ return nil
+}
+func (m *MsgSetDefaultExternalAddress) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgSetDefaultExternalAddress: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgSetDefaultExternalAddress: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ChainName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ChainName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Target = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Signer = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgSetDefaultExternalAddressResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgSetDefaultExternalAddressResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgSetDefaultExternalAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_UnlinkApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgUnlinkApplication)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).UnlinkApplication(ctx, in)
+ return nil
+}
+func (m *MsgLinkApplication) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgLinkApplication: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgLinkApplication: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Sender = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LinkData", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.LinkData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CallData", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CallData = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SourcePort", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SourcePort = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SourceChannel", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SourceChannel = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TimeoutHeight", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.TimeoutHeight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TimeoutTimestamp", wireType)
+ }
+ m.TimeoutTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.TimeoutTimestamp |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/UnlinkApplication",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).UnlinkApplication(ctx, req.(*MsgUnlinkApplication))
+ return nil
+}
+func (m *MsgLinkApplicationResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgLinkApplicationResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgLinkApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgUnlinkApplication) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgUnlinkApplication: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUnlinkApplication: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Application = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Username = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Signer = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgUpdateParams)
- if err := dec(in); err != nil {
- return nil, err
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- if interceptor == nil {
- return srv.(MsgServer).UpdateParams(ctx, in)
+ return nil
+}
+func (m *MsgUnlinkApplicationResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgUnlinkApplicationResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUnlinkApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/desmos.profiles.v3.Msg/UpdateParams",
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
+ return nil
+}
+func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Authority = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
}
- return interceptor(ctx, in, info, handler)
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipMsgServer(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthMsgServer
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
-var _Msg_serviceDesc = grpc.ServiceDesc{
- ServiceName: "desmos.profiles.v3.Msg",
- HandlerType: (*MsgServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "SaveProfile",
- Handler: _Msg_SaveProfile_Handler,
- },
- {
- MethodName: "DeleteProfile",
- Handler: _Msg_DeleteProfile_Handler,
- },
- {
- MethodName: "RequestDTagTransfer",
- Handler: _Msg_RequestDTagTransfer_Handler,
- },
- {
- MethodName: "CancelDTagTransferRequest",
- Handler: _Msg_CancelDTagTransferRequest_Handler,
- },
- {
- MethodName: "AcceptDTagTransferRequest",
- Handler: _Msg_AcceptDTagTransferRequest_Handler,
- },
- {
- MethodName: "RefuseDTagTransferRequest",
- Handler: _Msg_RefuseDTagTransferRequest_Handler,
- },
- {
- MethodName: "LinkChainAccount",
- Handler: _Msg_LinkChainAccount_Handler,
- },
- {
- MethodName: "UnlinkChainAccount",
- Handler: _Msg_UnlinkChainAccount_Handler,
- },
- {
- MethodName: "SetDefaultExternalAddress",
- Handler: _Msg_SetDefaultExternalAddress_Handler,
- },
- {
- MethodName: "LinkApplication",
- Handler: _Msg_LinkApplication_Handler,
- },
- {
- MethodName: "UnlinkApplication",
- Handler: _Msg_UnlinkApplication_Handler,
- },
- {
- MethodName: "UpdateParams",
- Handler: _Msg_UpdateParams_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "desmos/profiles/v3/msg_server.proto",
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
}
+func skipMsgServer(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowMsgServer
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthMsgServer
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupMsgServer
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthMsgServer
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthMsgServer = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowMsgServer = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupMsgServer = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/x/profiles/types/msgs_app_links.go b/x/profiles/types/msgs_app_links.go
index e6a585be2a..dfd0312c65 100644
--- a/x/profiles/types/msgs_app_links.go
+++ b/x/profiles/types/msgs_app_links.go
@@ -7,8 +7,8 @@ import (
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
+ host "github.com/cosmos/ibc-go/v8/modules/core/24-host"
)
// NewMsgLinkApplication creates a new MsgLinkApplication instance
@@ -69,11 +69,6 @@ func (msg *MsgLinkApplication) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg.
-func (msg *MsgLinkApplication) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgLinkApplication) GetSigners() []sdk.AccAddress {
valAddr, err := sdk.AccAddressFromBech32(msg.Sender)
@@ -126,11 +121,6 @@ func (msg *MsgUnlinkApplication) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg.
-func (msg *MsgUnlinkApplication) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgUnlinkApplication) GetSigners() []sdk.AccAddress {
valAddr, err := sdk.AccAddressFromBech32(msg.Signer)
diff --git a/x/profiles/types/msgs_app_links.pb.go b/x/profiles/types/msgs_app_links.pb.go
deleted file mode 100644
index 14f8e5e43c..0000000000
--- a/x/profiles/types/msgs_app_links.pb.go
+++ /dev/null
@@ -1,1177 +0,0 @@
-// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: desmos/profiles/v3/msgs_app_links.proto
-
-package types
-
-import (
- fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- _ "github.com/cosmos/cosmos-sdk/types/msgservice"
- _ "github.com/cosmos/cosmos-sdk/types/tx/amino"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
- types "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
- io "io"
- math "math"
- math_bits "math/bits"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
-
-// MsgLinkApplication defines a msg to connect a profile with a
-// centralized application account (eg. Twitter, GitHub, etc).
-type MsgLinkApplication struct {
- // The sender of the connection request
- Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
- // LinkData contains the data related to the application to which connect
- LinkData Data `protobuf:"bytes,2,opt,name=link_data,json=linkData,proto3" json:"link_data" yaml:"link_data"`
- // Hex encoded call data that will be sent to the data source in order to
- // verify the link
- CallData string `protobuf:"bytes,3,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty" yaml:"call_data"`
- // The port on which the packet will be sent
- SourcePort string `protobuf:"bytes,4,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty" yaml:"source_port"`
- // The channel by which the packet will be sent
- SourceChannel string `protobuf:"bytes,5,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty" yaml:"source_channel"`
- // Timeout height relative to the current block height.
- // The timeout is disabled when set to 0.
- TimeoutHeight types.Height `protobuf:"bytes,6,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height" yaml:"timeout_height"`
- // Timeout timestamp (in nanoseconds) relative to the current block timestamp.
- // The timeout is disabled when set to 0.
- TimeoutTimestamp uint64 `protobuf:"varint,7,opt,name=timeout_timestamp,json=timeoutTimestamp,proto3" json:"timeout_timestamp,omitempty" yaml:"timeout_timestamp"`
-}
-
-func (m *MsgLinkApplication) Reset() { *m = MsgLinkApplication{} }
-func (m *MsgLinkApplication) String() string { return proto.CompactTextString(m) }
-func (*MsgLinkApplication) ProtoMessage() {}
-func (*MsgLinkApplication) Descriptor() ([]byte, []int) {
- return fileDescriptor_29dfbdba444598ee, []int{0}
-}
-func (m *MsgLinkApplication) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgLinkApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgLinkApplication.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgLinkApplication) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgLinkApplication.Merge(m, src)
-}
-func (m *MsgLinkApplication) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgLinkApplication) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgLinkApplication.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgLinkApplication proto.InternalMessageInfo
-
-func (m *MsgLinkApplication) GetSender() string {
- if m != nil {
- return m.Sender
- }
- return ""
-}
-
-func (m *MsgLinkApplication) GetLinkData() Data {
- if m != nil {
- return m.LinkData
- }
- return Data{}
-}
-
-func (m *MsgLinkApplication) GetCallData() string {
- if m != nil {
- return m.CallData
- }
- return ""
-}
-
-func (m *MsgLinkApplication) GetSourcePort() string {
- if m != nil {
- return m.SourcePort
- }
- return ""
-}
-
-func (m *MsgLinkApplication) GetSourceChannel() string {
- if m != nil {
- return m.SourceChannel
- }
- return ""
-}
-
-func (m *MsgLinkApplication) GetTimeoutHeight() types.Height {
- if m != nil {
- return m.TimeoutHeight
- }
- return types.Height{}
-}
-
-func (m *MsgLinkApplication) GetTimeoutTimestamp() uint64 {
- if m != nil {
- return m.TimeoutTimestamp
- }
- return 0
-}
-
-// MsgLinkApplicationResponse defines the Msg/LinkApplication
-// response type.
-type MsgLinkApplicationResponse struct {
-}
-
-func (m *MsgLinkApplicationResponse) Reset() { *m = MsgLinkApplicationResponse{} }
-func (m *MsgLinkApplicationResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgLinkApplicationResponse) ProtoMessage() {}
-func (*MsgLinkApplicationResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_29dfbdba444598ee, []int{1}
-}
-func (m *MsgLinkApplicationResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgLinkApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgLinkApplicationResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgLinkApplicationResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgLinkApplicationResponse.Merge(m, src)
-}
-func (m *MsgLinkApplicationResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgLinkApplicationResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgLinkApplicationResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgLinkApplicationResponse proto.InternalMessageInfo
-
-// MsgUnlinkApplication defines a msg to delete an application link from a user
-// profile
-type MsgUnlinkApplication struct {
- // Application represents the name of the application to unlink
- Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty" yaml:"application"`
- // Username represents the username inside the application to unlink
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" yaml:"username"`
- // Signer represents the Desmos account to which the application should be
- // unlinked
- Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
-}
-
-func (m *MsgUnlinkApplication) Reset() { *m = MsgUnlinkApplication{} }
-func (m *MsgUnlinkApplication) String() string { return proto.CompactTextString(m) }
-func (*MsgUnlinkApplication) ProtoMessage() {}
-func (*MsgUnlinkApplication) Descriptor() ([]byte, []int) {
- return fileDescriptor_29dfbdba444598ee, []int{2}
-}
-func (m *MsgUnlinkApplication) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgUnlinkApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgUnlinkApplication.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgUnlinkApplication) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgUnlinkApplication.Merge(m, src)
-}
-func (m *MsgUnlinkApplication) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgUnlinkApplication) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgUnlinkApplication.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgUnlinkApplication proto.InternalMessageInfo
-
-func (m *MsgUnlinkApplication) GetApplication() string {
- if m != nil {
- return m.Application
- }
- return ""
-}
-
-func (m *MsgUnlinkApplication) GetUsername() string {
- if m != nil {
- return m.Username
- }
- return ""
-}
-
-func (m *MsgUnlinkApplication) GetSigner() string {
- if m != nil {
- return m.Signer
- }
- return ""
-}
-
-// MsgUnlinkApplicationResponse defines the Msg/UnlinkApplication response
-// type.
-type MsgUnlinkApplicationResponse struct {
-}
-
-func (m *MsgUnlinkApplicationResponse) Reset() { *m = MsgUnlinkApplicationResponse{} }
-func (m *MsgUnlinkApplicationResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgUnlinkApplicationResponse) ProtoMessage() {}
-func (*MsgUnlinkApplicationResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_29dfbdba444598ee, []int{3}
-}
-func (m *MsgUnlinkApplicationResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgUnlinkApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgUnlinkApplicationResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgUnlinkApplicationResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgUnlinkApplicationResponse.Merge(m, src)
-}
-func (m *MsgUnlinkApplicationResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgUnlinkApplicationResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgUnlinkApplicationResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgUnlinkApplicationResponse proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*MsgLinkApplication)(nil), "desmos.profiles.v3.MsgLinkApplication")
- proto.RegisterType((*MsgLinkApplicationResponse)(nil), "desmos.profiles.v3.MsgLinkApplicationResponse")
- proto.RegisterType((*MsgUnlinkApplication)(nil), "desmos.profiles.v3.MsgUnlinkApplication")
- proto.RegisterType((*MsgUnlinkApplicationResponse)(nil), "desmos.profiles.v3.MsgUnlinkApplicationResponse")
-}
-
-func init() {
- proto.RegisterFile("desmos/profiles/v3/msgs_app_links.proto", fileDescriptor_29dfbdba444598ee)
-}
-
-var fileDescriptor_29dfbdba444598ee = []byte{
- // 633 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0x3d, 0x6f, 0x13, 0x3f,
- 0x18, 0xcf, 0xfd, 0xff, 0xa5, 0x34, 0xae, 0x5a, 0xda, 0x23, 0xc0, 0x35, 0x94, 0xbb, 0xca, 0x0b,
- 0x6d, 0x51, 0xcf, 0x0a, 0x15, 0x02, 0x75, 0xa2, 0x81, 0x01, 0x04, 0x95, 0xd0, 0x51, 0x16, 0x96,
- 0xc8, 0xb9, 0x33, 0x17, 0xab, 0x77, 0xf6, 0xe9, 0xec, 0x44, 0x74, 0x65, 0x64, 0xe2, 0x63, 0x30,
- 0x76, 0x60, 0xe0, 0x23, 0x74, 0xac, 0x98, 0x98, 0x4e, 0xa8, 0x1d, 0x3a, 0x73, 0x9f, 0x00, 0x9d,
- 0xed, 0xbc, 0x91, 0x8a, 0x25, 0x7e, 0x9e, 0xdf, 0x8b, 0x1d, 0x3f, 0xfe, 0x25, 0xe0, 0x7e, 0x44,
- 0x44, 0xca, 0x05, 0xca, 0x72, 0xfe, 0x81, 0x26, 0x44, 0xa0, 0xc1, 0x2e, 0x4a, 0x45, 0x2c, 0x3a,
- 0x38, 0xcb, 0x3a, 0x09, 0x65, 0x47, 0xc2, 0xcf, 0x72, 0x2e, 0xb9, 0x6d, 0x6b, 0xa1, 0x3f, 0x14,
- 0xfa, 0x83, 0xdd, 0xe6, 0xd6, 0x55, 0x66, 0x1e, 0x91, 0x64, 0xc6, 0xde, 0x5c, 0xc5, 0x29, 0x65,
- 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e4, 0x0c, 0xa7, 0x44,
- 0x05, 0xaa, 0xde, 0xbe, 0x59, 0x16, 0xde, 0x0d, 0x6d, 0x1b, 0x32, 0x30, 0x18, 0x89, 0x54, 0x8a,
- 0x69, 0xcc, 0x48, 0x6e, 0x92, 0x32, 0x99, 0x62, 0x85, 0xff, 0x2b, 0xc5, 0x4a, 0xb0, 0xf7, 0x40,
- 0xcf, 0x43, 0x35, 0xd5, 0x3c, 0xee, 0x8e, 0xe7, 0x31, 0x73, 0x35, 0xe8, 0x82, 0xf5, 0xab, 0xf0,
- 0xe1, 0x4c, 0xda, 0xaf, 0x4e, 0xcf, 0x5d, 0xeb, 0xec, 0xdc, 0xb5, 0x7e, 0x9d, 0xbb, 0xd6, 0x97,
- 0x0b, 0xb7, 0x76, 0x76, 0xe1, 0xd6, 0x7e, 0x5e, 0xb8, 0xb5, 0xf7, 0xad, 0x98, 0xca, 0x5e, 0xbf,
- 0xeb, 0x87, 0x3c, 0x45, 0xfa, 0x84, 0x9d, 0x04, 0x77, 0x85, 0xa9, 0xd1, 0xe0, 0x11, 0xfa, 0x38,
- 0xfe, 0x2f, 0x91, 0xc7, 0x19, 0x11, 0xdd, 0x79, 0xf5, 0x03, 0xde, 0xfd, 0x13, 0x00, 0x00, 0xff,
- 0xff, 0xd6, 0x3c, 0x43, 0xd3, 0xa8, 0x04, 0x00, 0x00,
-}
-
-func (m *MsgLinkApplication) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgLinkApplication) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgLinkApplication) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if m.TimeoutTimestamp != 0 {
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(m.TimeoutTimestamp))
- i--
- dAtA[i] = 0x38
- }
- {
- size, err := m.TimeoutHeight.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x32
- if len(m.SourceChannel) > 0 {
- i -= len(m.SourceChannel)
- copy(dAtA[i:], m.SourceChannel)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.SourceChannel)))
- i--
- dAtA[i] = 0x2a
- }
- if len(m.SourcePort) > 0 {
- i -= len(m.SourcePort)
- copy(dAtA[i:], m.SourcePort)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.SourcePort)))
- i--
- dAtA[i] = 0x22
- }
- if len(m.CallData) > 0 {
- i -= len(m.CallData)
- copy(dAtA[i:], m.CallData)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.CallData)))
- i--
- dAtA[i] = 0x1a
- }
- {
- size, err := m.LinkData.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x12
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgLinkApplicationResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgLinkApplicationResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgLinkApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgUnlinkApplication) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUnlinkApplication) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUnlinkApplication) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Signer) > 0 {
- i -= len(m.Signer)
- copy(dAtA[i:], m.Signer)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.Signer)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Username) > 0 {
- i -= len(m.Username)
- copy(dAtA[i:], m.Username)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.Username)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Application) > 0 {
- i -= len(m.Application)
- copy(dAtA[i:], m.Application)
- i = encodeVarintMsgsAppLinks(dAtA, i, uint64(len(m.Application)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgUnlinkApplicationResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUnlinkApplicationResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUnlinkApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func encodeVarintMsgsAppLinks(dAtA []byte, offset int, v uint64) int {
- offset -= sovMsgsAppLinks(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *MsgLinkApplication) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- l = m.LinkData.Size()
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- l = len(m.CallData)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- l = len(m.SourcePort)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- l = len(m.SourceChannel)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- l = m.TimeoutHeight.Size()
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- if m.TimeoutTimestamp != 0 {
- n += 1 + sovMsgsAppLinks(uint64(m.TimeoutTimestamp))
- }
- return n
-}
-
-func (m *MsgLinkApplicationResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgUnlinkApplication) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Application)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- l = len(m.Username)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- l = len(m.Signer)
- if l > 0 {
- n += 1 + l + sovMsgsAppLinks(uint64(l))
- }
- return n
-}
-
-func (m *MsgUnlinkApplicationResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func sovMsgsAppLinks(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
-}
-func sozMsgsAppLinks(x uint64) (n int) {
- return sovMsgsAppLinks(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *MsgLinkApplication) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgLinkApplication: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgLinkApplication: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field LinkData", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.LinkData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CallData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CallData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SourcePort", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SourcePort = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SourceChannel", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SourceChannel = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TimeoutHeight", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.TimeoutHeight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field TimeoutTimestamp", wireType)
- }
- m.TimeoutTimestamp = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.TimeoutTimestamp |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsAppLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgLinkApplicationResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgLinkApplicationResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgLinkApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsAppLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgUnlinkApplication) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUnlinkApplication: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUnlinkApplication: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Application", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Application = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Username = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Signer = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsAppLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgUnlinkApplicationResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUnlinkApplicationResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUnlinkApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsAppLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsAppLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func skipMsgsAppLinks(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- depth := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- case 1:
- iNdEx += 8
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsAppLinks
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if length < 0 {
- return 0, ErrInvalidLengthMsgsAppLinks
- }
- iNdEx += length
- case 3:
- depth++
- case 4:
- if depth == 0 {
- return 0, ErrUnexpectedEndOfGroupMsgsAppLinks
- }
- depth--
- case 5:
- iNdEx += 4
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- if iNdEx < 0 {
- return 0, ErrInvalidLengthMsgsAppLinks
- }
- if depth == 0 {
- return iNdEx, nil
- }
- }
- return 0, io.ErrUnexpectedEOF
-}
-
-var (
- ErrInvalidLengthMsgsAppLinks = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowMsgsAppLinks = fmt.Errorf("proto: integer overflow")
- ErrUnexpectedEndOfGroupMsgsAppLinks = fmt.Errorf("proto: unexpected end of group")
-)
diff --git a/x/profiles/types/msgs_app_links_test.go b/x/profiles/types/msgs_app_links_test.go
index 89bfb7f432..8ede6e94a6 100644
--- a/x/profiles/types/msgs_app_links_test.go
+++ b/x/profiles/types/msgs_app_links_test.go
@@ -4,7 +4,7 @@ import (
"testing"
sdk "github.com/cosmos/cosmos-sdk/types"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/x/profiles/types"
@@ -133,11 +133,6 @@ func TestMsgLinkApplication_ValidateBasic(t *testing.T) {
}
}
-func TestMsgLinkApplication_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgLinkApplication","value":{"call_data":"7B22757365726E616D65223A22526963636172646F4D222C22676973745F6964223A223732306530303732333930613930316262383065353966643630643766646564227D","link_data":{"application":"twitter","username":"twitteruser"},"sender":"cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773","source_channel":"channel-0","source_port":"ibc-profiles","timeout_height":{"revision_height":"1000"}}}`
- require.Equal(t, expected, string(msgLinkApplication.GetSignBytes()))
-}
-
func TestMsgLinkApplication_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgLinkApplication.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgLinkApplication.GetSigners())
@@ -213,11 +208,6 @@ func TestMsgUnlinkApplication_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUnlinkApplication_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgUnlinkApplication","value":{"application":"twitter","signer":"cosmos10nsdxxdvy9qka3zv0lzw8z9cnu6kanld8jh773","username":"twitteruser"}}`
- require.Equal(t, expected, string(msgUnlinkApplication.GetSignBytes()))
-}
-
func TestMsgUnlinkApplication_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUnlinkApplication.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgUnlinkApplication.GetSigners())
diff --git a/x/profiles/types/msgs_chain_links.go b/x/profiles/types/msgs_chain_links.go
index a9ed86c68a..88a275c9aa 100644
--- a/x/profiles/types/msgs_chain_links.go
+++ b/x/profiles/types/msgs_chain_links.go
@@ -55,11 +55,6 @@ func (msg *MsgLinkChainAccount) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgLinkChainAccount) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (msg *MsgLinkChainAccount) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
var address AddressData
@@ -114,11 +109,6 @@ func (msg *MsgUnlinkChainAccount) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgUnlinkChainAccount) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgUnlinkChainAccount) GetSigners() []sdk.AccAddress {
signer, _ := sdk.AccAddressFromBech32(msg.Owner)
@@ -161,11 +151,6 @@ func (msg *MsgSetDefaultExternalAddress) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgSetDefaultExternalAddress) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgSetDefaultExternalAddress) GetSigners() []sdk.AccAddress {
signer, _ := sdk.AccAddressFromBech32(msg.Signer)
diff --git a/x/profiles/types/msgs_chain_links.pb.go b/x/profiles/types/msgs_chain_links.pb.go
deleted file mode 100644
index 74de33c36e..0000000000
--- a/x/profiles/types/msgs_chain_links.pb.go
+++ /dev/null
@@ -1,1440 +0,0 @@
-// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: desmos/profiles/v3/msgs_chain_links.proto
-
-package types
-
-import (
- fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- types "github.com/cosmos/cosmos-sdk/codec/types"
- _ "github.com/cosmos/cosmos-sdk/types/msgservice"
- _ "github.com/cosmos/cosmos-sdk/types/tx/amino"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
-
-// MsgLinkChainAccount represents a message to link an account to a profile.
-type MsgLinkChainAccount struct {
- // ChainAddress contains the details of the external chain address to be
- // linked
- ChainAddress *types.Any `protobuf:"bytes,1,opt,name=chain_address,json=chainAddress,proto3" json:"chain_address,omitempty" yaml:"source_address"`
- // Proof contains the proof of ownership of the external chain address
- Proof Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof" yaml:"source_proof"`
- // ChainConfig contains the configuration of the external chain
- ChainConfig ChainConfig `protobuf:"bytes,3,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"source_chain_config"`
- // Signer represents the Desmos address associated with the
- // profile to which link the external account
- Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty" yaml:"signer"`
-}
-
-func (m *MsgLinkChainAccount) Reset() { *m = MsgLinkChainAccount{} }
-func (m *MsgLinkChainAccount) String() string { return proto.CompactTextString(m) }
-func (*MsgLinkChainAccount) ProtoMessage() {}
-func (*MsgLinkChainAccount) Descriptor() ([]byte, []int) {
- return fileDescriptor_52cd1f5b825f2f4e, []int{0}
-}
-func (m *MsgLinkChainAccount) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgLinkChainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgLinkChainAccount.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgLinkChainAccount) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgLinkChainAccount.Merge(m, src)
-}
-func (m *MsgLinkChainAccount) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgLinkChainAccount) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgLinkChainAccount.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgLinkChainAccount proto.InternalMessageInfo
-
-func (m *MsgLinkChainAccount) GetChainAddress() *types.Any {
- if m != nil {
- return m.ChainAddress
- }
- return nil
-}
-
-func (m *MsgLinkChainAccount) GetProof() Proof {
- if m != nil {
- return m.Proof
- }
- return Proof{}
-}
-
-func (m *MsgLinkChainAccount) GetChainConfig() ChainConfig {
- if m != nil {
- return m.ChainConfig
- }
- return ChainConfig{}
-}
-
-func (m *MsgLinkChainAccount) GetSigner() string {
- if m != nil {
- return m.Signer
- }
- return ""
-}
-
-// MsgLinkChainAccountResponse defines the Msg/LinkAccount response type.
-type MsgLinkChainAccountResponse struct {
-}
-
-func (m *MsgLinkChainAccountResponse) Reset() { *m = MsgLinkChainAccountResponse{} }
-func (m *MsgLinkChainAccountResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgLinkChainAccountResponse) ProtoMessage() {}
-func (*MsgLinkChainAccountResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_52cd1f5b825f2f4e, []int{1}
-}
-func (m *MsgLinkChainAccountResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgLinkChainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgLinkChainAccountResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgLinkChainAccountResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgLinkChainAccountResponse.Merge(m, src)
-}
-func (m *MsgLinkChainAccountResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgLinkChainAccountResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgLinkChainAccountResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgLinkChainAccountResponse proto.InternalMessageInfo
-
-// MsgUnlinkChainAccount represents a message to unlink an account from a
-// profile.
-type MsgUnlinkChainAccount struct {
- // Owner represents the Desmos profile from which to remove the link
- Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"`
- // ChainName represents the name of the chain to which the link to remove is
- // associated
- ChainName string `protobuf:"bytes,2,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty" yaml:"chain_name"`
- // Target represents the external address to be removed
- Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty" yaml:"target"`
-}
-
-func (m *MsgUnlinkChainAccount) Reset() { *m = MsgUnlinkChainAccount{} }
-func (m *MsgUnlinkChainAccount) String() string { return proto.CompactTextString(m) }
-func (*MsgUnlinkChainAccount) ProtoMessage() {}
-func (*MsgUnlinkChainAccount) Descriptor() ([]byte, []int) {
- return fileDescriptor_52cd1f5b825f2f4e, []int{2}
-}
-func (m *MsgUnlinkChainAccount) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgUnlinkChainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgUnlinkChainAccount.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgUnlinkChainAccount) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgUnlinkChainAccount.Merge(m, src)
-}
-func (m *MsgUnlinkChainAccount) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgUnlinkChainAccount) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgUnlinkChainAccount.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgUnlinkChainAccount proto.InternalMessageInfo
-
-func (m *MsgUnlinkChainAccount) GetOwner() string {
- if m != nil {
- return m.Owner
- }
- return ""
-}
-
-func (m *MsgUnlinkChainAccount) GetChainName() string {
- if m != nil {
- return m.ChainName
- }
- return ""
-}
-
-func (m *MsgUnlinkChainAccount) GetTarget() string {
- if m != nil {
- return m.Target
- }
- return ""
-}
-
-// MsgUnlinkChainAccountResponse defines the Msg/UnlinkAccount response type.
-type MsgUnlinkChainAccountResponse struct {
-}
-
-func (m *MsgUnlinkChainAccountResponse) Reset() { *m = MsgUnlinkChainAccountResponse{} }
-func (m *MsgUnlinkChainAccountResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgUnlinkChainAccountResponse) ProtoMessage() {}
-func (*MsgUnlinkChainAccountResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_52cd1f5b825f2f4e, []int{3}
-}
-func (m *MsgUnlinkChainAccountResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgUnlinkChainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgUnlinkChainAccountResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgUnlinkChainAccountResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgUnlinkChainAccountResponse.Merge(m, src)
-}
-func (m *MsgUnlinkChainAccountResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgUnlinkChainAccountResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgUnlinkChainAccountResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgUnlinkChainAccountResponse proto.InternalMessageInfo
-
-// MsgSetDefaultExternalAddress represents the message used to set a default
-// address for a specific chain
-type MsgSetDefaultExternalAddress struct {
- // Name of the chain for which to set the default address
- ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"`
- // Address to be set as the default one
- Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
- // User signing the message
- Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
-}
-
-func (m *MsgSetDefaultExternalAddress) Reset() { *m = MsgSetDefaultExternalAddress{} }
-func (m *MsgSetDefaultExternalAddress) String() string { return proto.CompactTextString(m) }
-func (*MsgSetDefaultExternalAddress) ProtoMessage() {}
-func (*MsgSetDefaultExternalAddress) Descriptor() ([]byte, []int) {
- return fileDescriptor_52cd1f5b825f2f4e, []int{4}
-}
-func (m *MsgSetDefaultExternalAddress) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgSetDefaultExternalAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgSetDefaultExternalAddress.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgSetDefaultExternalAddress) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgSetDefaultExternalAddress.Merge(m, src)
-}
-func (m *MsgSetDefaultExternalAddress) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgSetDefaultExternalAddress) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgSetDefaultExternalAddress.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgSetDefaultExternalAddress proto.InternalMessageInfo
-
-func (m *MsgSetDefaultExternalAddress) GetChainName() string {
- if m != nil {
- return m.ChainName
- }
- return ""
-}
-
-func (m *MsgSetDefaultExternalAddress) GetTarget() string {
- if m != nil {
- return m.Target
- }
- return ""
-}
-
-func (m *MsgSetDefaultExternalAddress) GetSigner() string {
- if m != nil {
- return m.Signer
- }
- return ""
-}
-
-// MsgSetDefaultExternalAddressResponse represents the
-// Msg/SetDefaultExternalAddress response type
-type MsgSetDefaultExternalAddressResponse struct {
-}
-
-func (m *MsgSetDefaultExternalAddressResponse) Reset() { *m = MsgSetDefaultExternalAddressResponse{} }
-func (m *MsgSetDefaultExternalAddressResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgSetDefaultExternalAddressResponse) ProtoMessage() {}
-func (*MsgSetDefaultExternalAddressResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_52cd1f5b825f2f4e, []int{5}
-}
-func (m *MsgSetDefaultExternalAddressResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgSetDefaultExternalAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgSetDefaultExternalAddressResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgSetDefaultExternalAddressResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgSetDefaultExternalAddressResponse.Merge(m, src)
-}
-func (m *MsgSetDefaultExternalAddressResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgSetDefaultExternalAddressResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgSetDefaultExternalAddressResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgSetDefaultExternalAddressResponse proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*MsgLinkChainAccount)(nil), "desmos.profiles.v3.MsgLinkChainAccount")
- proto.RegisterType((*MsgLinkChainAccountResponse)(nil), "desmos.profiles.v3.MsgLinkChainAccountResponse")
- proto.RegisterType((*MsgUnlinkChainAccount)(nil), "desmos.profiles.v3.MsgUnlinkChainAccount")
- proto.RegisterType((*MsgUnlinkChainAccountResponse)(nil), "desmos.profiles.v3.MsgUnlinkChainAccountResponse")
- proto.RegisterType((*MsgSetDefaultExternalAddress)(nil), "desmos.profiles.v3.MsgSetDefaultExternalAddress")
- proto.RegisterType((*MsgSetDefaultExternalAddressResponse)(nil), "desmos.profiles.v3.MsgSetDefaultExternalAddressResponse")
-}
-
-func init() {
- proto.RegisterFile("desmos/profiles/v3/msgs_chain_links.proto", fileDescriptor_52cd1f5b825f2f4e)
-}
-
-var fileDescriptor_52cd1f5b825f2f4e = []byte{
- // 636 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x4f, 0x4f, 0x13, 0x41,
- 0x1c, 0xed, 0x8a, 0x90, 0x74, 0x80, 0x03, 0x0b, 0x68, 0xa9, 0xb0, 0x4b, 0x56, 0xa3, 0x50, 0xc2,
- 0xae, 0x58, 0xbd, 0x60, 0x62, 0xd2, 0x05, 0x4f, 0x8a, 0xd1, 0x25, 0x5e, 0xbc, 0x34, 0xd3, 0xed,
- 0x74, 0xd8, 0xb0, 0x3b, 0xd3, 0xec, 0x6c, 0x2b, 0xbd, 0x7a, 0xf4, 0xe4, 0xc7, 0xf0, 0xc8, 0x81,
- 0x23, 0x1f, 0x80, 0x78, 0x22, 0x9e, 0x3c, 0x6d, 0x4c, 0x1b, 0xd3, 0x7b, 0x3f, 0x81, 0xd9, 0x99,
- 0xd9, 0x2e, 0x85, 0x45, 0x2f, 0x30, 0xbf, 0x7f, 0xef, 0xf7, 0x7e, 0xef, 0xb5, 0x05, 0x9b, 0x4d,
- 0xc4, 0x02, 0xca, 0xac, 0x76, 0x48, 0x5b, 0x9e, 0x8f, 0x98, 0xd5, 0xad, 0x5a, 0x01, 0xc3, 0xac,
- 0xee, 0x1e, 0x41, 0x8f, 0xd4, 0x7d, 0x8f, 0x1c, 0x33, 0xb3, 0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e, 0x25, 0x2a, 0x88, 0x65, 0x89, 0x08, 0xab, 0x99, 0x08, 0x37, 0xaf, 0x31,
- 0x74, 0xb0, 0x96, 0x5b, 0x18, 0x0b, 0x71, 0xae, 0x80, 0xd5, 0x03, 0x86, 0x0f, 0x51, 0xb4, 0x8f,
- 0x5a, 0xb0, 0xe3, 0x47, 0xaf, 0x4f, 0x22, 0x14, 0x12, 0xe8, 0xa7, 0x9f, 0xbb, 0xb5, 0x89, 0x7b,
- 0xb8, 0x28, 0x57, 0x89, 0xdf, 0x1b, 0x13, 0xe7, 0xa7, 0xa6, 0x2c, 0xd5, 0xa7, 0x63, 0xbb, 0xc5,
- 0x41, 0xa5, 0xff, 0xba, 0x5b, 0xbd, 0xe6, 0xee, 0xc3, 0xec, 0xb0, 0x5b, 0xd9, 0x19, 0x8f, 0xc1,
- 0xa3, 0x7f, 0xd5, 0xd3, 0x33, 0xed, 0x37, 0x17, 0x7d, 0x4d, 0xb9, 0xec, 0x6b, 0xca, 0xef, 0xbe,
- 0xa6, 0x7c, 0x1b, 0x68, 0x85, 0xcb, 0x81, 0x56, 0xf8, 0x35, 0xd0, 0x0a, 0x9f, 0x76, 0xb0, 0x17,
- 0x1d, 0x75, 0x1a, 0xa6, 0x4b, 0x03, 0x4b, 0x6c, 0xdc, 0xf6, 0x61, 0x83, 0xc9, 0xb7, 0xd5, 0x7d,
- 0x61, 0x9d, 0x64, 0x3f, 0x18, 0x51, 0xaf, 0x8d, 0x58, 0x63, 0x86, 0x7f, 0xc7, 0xab, 0x7f, 0x03,
- 0x00, 0x00, 0xff, 0xff, 0xd5, 0x0e, 0x60, 0x35, 0x07, 0x05, 0x00, 0x00,
-}
-
-func (m *MsgLinkChainAccount) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgLinkChainAccount) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgLinkChainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Signer) > 0 {
- i -= len(m.Signer)
- copy(dAtA[i:], m.Signer)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.Signer)))
- i--
- dAtA[i] = 0x22
- }
- {
- size, err := m.ChainConfig.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- {
- size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x12
- if m.ChainAddress != nil {
- {
- size, err := m.ChainAddress.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgLinkChainAccountResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgLinkChainAccountResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgLinkChainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgUnlinkChainAccount) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUnlinkChainAccount) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUnlinkChainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Target) > 0 {
- i -= len(m.Target)
- copy(dAtA[i:], m.Target)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.Target)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.ChainName) > 0 {
- i -= len(m.ChainName)
- copy(dAtA[i:], m.ChainName)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.ChainName)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Owner) > 0 {
- i -= len(m.Owner)
- copy(dAtA[i:], m.Owner)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.Owner)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgUnlinkChainAccountResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUnlinkChainAccountResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUnlinkChainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgSetDefaultExternalAddress) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgSetDefaultExternalAddress) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgSetDefaultExternalAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Signer) > 0 {
- i -= len(m.Signer)
- copy(dAtA[i:], m.Signer)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.Signer)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Target) > 0 {
- i -= len(m.Target)
- copy(dAtA[i:], m.Target)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.Target)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.ChainName) > 0 {
- i -= len(m.ChainName)
- copy(dAtA[i:], m.ChainName)
- i = encodeVarintMsgsChainLinks(dAtA, i, uint64(len(m.ChainName)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgSetDefaultExternalAddressResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgSetDefaultExternalAddressResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgSetDefaultExternalAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func encodeVarintMsgsChainLinks(dAtA []byte, offset int, v uint64) int {
- offset -= sovMsgsChainLinks(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *MsgLinkChainAccount) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.ChainAddress != nil {
- l = m.ChainAddress.Size()
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- l = m.Proof.Size()
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- l = m.ChainConfig.Size()
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- l = len(m.Signer)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- return n
-}
-
-func (m *MsgLinkChainAccountResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgUnlinkChainAccount) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Owner)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- l = len(m.ChainName)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- l = len(m.Target)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- return n
-}
-
-func (m *MsgUnlinkChainAccountResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgSetDefaultExternalAddress) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.ChainName)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- l = len(m.Target)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- l = len(m.Signer)
- if l > 0 {
- n += 1 + l + sovMsgsChainLinks(uint64(l))
- }
- return n
-}
-
-func (m *MsgSetDefaultExternalAddressResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func sovMsgsChainLinks(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
-}
-func sozMsgsChainLinks(x uint64) (n int) {
- return sovMsgsChainLinks(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *MsgLinkChainAccount) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgLinkChainAccount: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgLinkChainAccount: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ChainAddress", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.ChainAddress == nil {
- m.ChainAddress = &types.Any{}
- }
- if err := m.ChainAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ChainConfig", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.ChainConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Signer = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsChainLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgLinkChainAccountResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgLinkChainAccountResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgLinkChainAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsChainLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgUnlinkChainAccount) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUnlinkChainAccount: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUnlinkChainAccount: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Owner = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ChainName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ChainName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Target = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsChainLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgUnlinkChainAccountResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUnlinkChainAccountResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUnlinkChainAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsChainLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgSetDefaultExternalAddress) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgSetDefaultExternalAddress: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgSetDefaultExternalAddress: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ChainName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ChainName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Target = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Signer = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsChainLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgSetDefaultExternalAddressResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgSetDefaultExternalAddressResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgSetDefaultExternalAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsChainLinks(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsChainLinks
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func skipMsgsChainLinks(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- depth := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- case 1:
- iNdEx += 8
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsChainLinks
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if length < 0 {
- return 0, ErrInvalidLengthMsgsChainLinks
- }
- iNdEx += length
- case 3:
- depth++
- case 4:
- if depth == 0 {
- return 0, ErrUnexpectedEndOfGroupMsgsChainLinks
- }
- depth--
- case 5:
- iNdEx += 4
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- if iNdEx < 0 {
- return 0, ErrInvalidLengthMsgsChainLinks
- }
- if depth == 0 {
- return iNdEx, nil
- }
- }
- return 0, io.ErrUnexpectedEOF
-}
-
-var (
- ErrInvalidLengthMsgsChainLinks = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowMsgsChainLinks = fmt.Errorf("proto: integer overflow")
- ErrUnexpectedEndOfGroupMsgsChainLinks = fmt.Errorf("proto: unexpected end of group")
-)
diff --git a/x/profiles/types/msgs_chain_links_test.go b/x/profiles/types/msgs_chain_links_test.go
index d1ee7887c6..d1ea9b438b 100644
--- a/x/profiles/types/msgs_chain_links_test.go
+++ b/x/profiles/types/msgs_chain_links_test.go
@@ -98,11 +98,6 @@ func TestMsgLinkChainAccount_ValidateBasic(t *testing.T) {
}
}
-func TestMsgLinkChainAccount_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgLinkChainAccount","value":{"chain_address":{"type":"desmos/Bech32Address","value":{"prefix":"cosmos","value":"cosmos1xmquc944hzu6n6qtljcexkuhhz76mucxtgm5x0"}},"chain_config":{"name":"cosmos"},"proof":{"plain_text":"74657874","pub_key":{"type":"tendermint/PubKeySecp256k1","value":"A+RxOqvS0RYdF/NU3xSolfmfZc7YUKu4fvJLbnCCQBY3"},"signature":{"type":"desmos/SingleSignature","value":{"signature":"rREquzDlJAx7nSG0zFQh12z6381Zd8yiYlI7X1vHWUV9SqbVwetiI9sQS0eqHyIkaL6OtbsnYrlxYirFuWNRtQ==","value_type":1}}},"signer":"cosmos1u9hgsqfpe3snftr7p7fsyja3wtlmj2sgf2w9yl"}}`
- require.Equal(t, expected, string(msgChainLinkAccount.GetSignBytes()))
-}
-
func TestMsgLinkChainAccount_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgChainLinkAccount.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgChainLinkAccount.GetSigners())
@@ -178,12 +173,6 @@ func TestMsgUnlinkChainAccount_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUnlinkChainAccount_GetSignBytes(t *testing.T) {
- actual := msgUnlinkChainAccount.GetSignBytes()
- expected := `{"type":"desmos/MsgUnlinkChainAccount","value":{"chain_name":"cosmos","owner":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","target":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"}}`
- require.Equal(t, expected, string(actual))
-}
-
func TestMsgUnlinkChainAccount_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUnlinkChainAccount.Owner)
require.Equal(t, []sdk.AccAddress{addr}, msgUnlinkChainAccount.GetSigners())
@@ -259,12 +248,6 @@ func TestMsgSetDefaultExternalAddress_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSetDefaultExternalAddress_GetSignBytes(t *testing.T) {
- actual := msgSetDefaultExternalAddress.GetSignBytes()
- expected := `{"type":"desmos/MsgSetDefaultExternalAddress","value":{"chain_name":"cosmos","signer":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","target":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"}}`
- require.Equal(t, expected, string(actual))
-}
-
func TestMsgSetDefaultExternalAddress_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgSetDefaultExternalAddress.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgSetDefaultExternalAddress.GetSigners())
diff --git a/x/profiles/types/msgs_dtag_requests.go b/x/profiles/types/msgs_dtag_requests.go
index c631ca7f5b..7aed6259ce 100644
--- a/x/profiles/types/msgs_dtag_requests.go
+++ b/x/profiles/types/msgs_dtag_requests.go
@@ -45,11 +45,6 @@ func (msg *MsgRequestDTagTransfer) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgRequestDTagTransfer) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgRequestDTagTransfer) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Sender)
@@ -90,11 +85,6 @@ func (msg *MsgCancelDTagTransferRequest) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgCancelDTagTransferRequest) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgCancelDTagTransferRequest) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Sender)
@@ -140,11 +130,6 @@ func (msg *MsgAcceptDTagTransferRequest) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgAcceptDTagTransferRequest) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgAcceptDTagTransferRequest) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Receiver)
@@ -185,11 +170,6 @@ func (msg *MsgRefuseDTagTransferRequest) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgRefuseDTagTransferRequest) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgRefuseDTagTransferRequest) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Receiver)
diff --git a/x/profiles/types/msgs_dtag_requests.pb.go b/x/profiles/types/msgs_dtag_requests.pb.go
deleted file mode 100644
index d9398b23dc..0000000000
--- a/x/profiles/types/msgs_dtag_requests.pb.go
+++ /dev/null
@@ -1,1610 +0,0 @@
-// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: desmos/profiles/v3/msgs_dtag_requests.proto
-
-package types
-
-import (
- fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- _ "github.com/cosmos/cosmos-sdk/types/msgservice"
- _ "github.com/cosmos/cosmos-sdk/types/tx/amino"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
-
-// MsgRequestDTagTransfer represents the message used to request the DTag
-// transfer to another user.
-type MsgRequestDTagTransfer struct {
- // Receiver contains the address of the request receiver that owns the DTag to
- // transfer if the request is accepted
- Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
- // Sender contains the address of the request sender that will receive the
- // receiver DTag if the requet is accepted
- Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
-}
-
-func (m *MsgRequestDTagTransfer) Reset() { *m = MsgRequestDTagTransfer{} }
-func (m *MsgRequestDTagTransfer) String() string { return proto.CompactTextString(m) }
-func (*MsgRequestDTagTransfer) ProtoMessage() {}
-func (*MsgRequestDTagTransfer) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{0}
-}
-func (m *MsgRequestDTagTransfer) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgRequestDTagTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgRequestDTagTransfer.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgRequestDTagTransfer) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgRequestDTagTransfer.Merge(m, src)
-}
-func (m *MsgRequestDTagTransfer) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgRequestDTagTransfer) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgRequestDTagTransfer.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgRequestDTagTransfer proto.InternalMessageInfo
-
-func (m *MsgRequestDTagTransfer) GetReceiver() string {
- if m != nil {
- return m.Receiver
- }
- return ""
-}
-
-func (m *MsgRequestDTagTransfer) GetSender() string {
- if m != nil {
- return m.Sender
- }
- return ""
-}
-
-// MsgRequestDTagTransferResponse defines the Msg/RequestDTagTransfer response
-// type.
-type MsgRequestDTagTransferResponse struct {
-}
-
-func (m *MsgRequestDTagTransferResponse) Reset() { *m = MsgRequestDTagTransferResponse{} }
-func (m *MsgRequestDTagTransferResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgRequestDTagTransferResponse) ProtoMessage() {}
-func (*MsgRequestDTagTransferResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{1}
-}
-func (m *MsgRequestDTagTransferResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgRequestDTagTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgRequestDTagTransferResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgRequestDTagTransferResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgRequestDTagTransferResponse.Merge(m, src)
-}
-func (m *MsgRequestDTagTransferResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgRequestDTagTransferResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgRequestDTagTransferResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgRequestDTagTransferResponse proto.InternalMessageInfo
-
-// MsgCancelDTagTransferRequest represents the message used to cancel a DTag
-// transfer request.
-type MsgCancelDTagTransferRequest struct {
- // Receiver contains the address of the request receiver
- Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
- // Sender contains the address of the requets sender
- Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
-}
-
-func (m *MsgCancelDTagTransferRequest) Reset() { *m = MsgCancelDTagTransferRequest{} }
-func (m *MsgCancelDTagTransferRequest) String() string { return proto.CompactTextString(m) }
-func (*MsgCancelDTagTransferRequest) ProtoMessage() {}
-func (*MsgCancelDTagTransferRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{2}
-}
-func (m *MsgCancelDTagTransferRequest) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgCancelDTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgCancelDTagTransferRequest.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgCancelDTagTransferRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgCancelDTagTransferRequest.Merge(m, src)
-}
-func (m *MsgCancelDTagTransferRequest) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgCancelDTagTransferRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgCancelDTagTransferRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgCancelDTagTransferRequest proto.InternalMessageInfo
-
-func (m *MsgCancelDTagTransferRequest) GetReceiver() string {
- if m != nil {
- return m.Receiver
- }
- return ""
-}
-
-func (m *MsgCancelDTagTransferRequest) GetSender() string {
- if m != nil {
- return m.Sender
- }
- return ""
-}
-
-// MsgCancelDTagTransferRequestResponse represents the
-// Msg/CancelDTagTransferRequest response type.
-type MsgCancelDTagTransferRequestResponse struct {
-}
-
-func (m *MsgCancelDTagTransferRequestResponse) Reset() { *m = MsgCancelDTagTransferRequestResponse{} }
-func (m *MsgCancelDTagTransferRequestResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgCancelDTagTransferRequestResponse) ProtoMessage() {}
-func (*MsgCancelDTagTransferRequestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{3}
-}
-func (m *MsgCancelDTagTransferRequestResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgCancelDTagTransferRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgCancelDTagTransferRequestResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgCancelDTagTransferRequestResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgCancelDTagTransferRequestResponse.Merge(m, src)
-}
-func (m *MsgCancelDTagTransferRequestResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgCancelDTagTransferRequestResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgCancelDTagTransferRequestResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgCancelDTagTransferRequestResponse proto.InternalMessageInfo
-
-// MsgAcceptDTagTransferRequest represents the message used to accept a DTag
-// transfer request.
-type MsgAcceptDTagTransferRequest struct {
- // NewDTag represents the DTag that the request receiver will obtain if they
- // accept the request
- NewDTag string `protobuf:"bytes,1,opt,name=new_dtag,json=newDtag,proto3" json:"new_dtag,omitempty" yaml:"new_dtag"`
- // Sender represents the request sender
- Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
- // Receiver represents the request receiver
- Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
-}
-
-func (m *MsgAcceptDTagTransferRequest) Reset() { *m = MsgAcceptDTagTransferRequest{} }
-func (m *MsgAcceptDTagTransferRequest) String() string { return proto.CompactTextString(m) }
-func (*MsgAcceptDTagTransferRequest) ProtoMessage() {}
-func (*MsgAcceptDTagTransferRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{4}
-}
-func (m *MsgAcceptDTagTransferRequest) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgAcceptDTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgAcceptDTagTransferRequest.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgAcceptDTagTransferRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgAcceptDTagTransferRequest.Merge(m, src)
-}
-func (m *MsgAcceptDTagTransferRequest) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgAcceptDTagTransferRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgAcceptDTagTransferRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgAcceptDTagTransferRequest proto.InternalMessageInfo
-
-func (m *MsgAcceptDTagTransferRequest) GetNewDTag() string {
- if m != nil {
- return m.NewDTag
- }
- return ""
-}
-
-func (m *MsgAcceptDTagTransferRequest) GetSender() string {
- if m != nil {
- return m.Sender
- }
- return ""
-}
-
-func (m *MsgAcceptDTagTransferRequest) GetReceiver() string {
- if m != nil {
- return m.Receiver
- }
- return ""
-}
-
-// MsgAcceptDTagTransferRequestResponse defines the
-// Msg/AcceptDTagTransferRequest response.
-type MsgAcceptDTagTransferRequestResponse struct {
-}
-
-func (m *MsgAcceptDTagTransferRequestResponse) Reset() { *m = MsgAcceptDTagTransferRequestResponse{} }
-func (m *MsgAcceptDTagTransferRequestResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgAcceptDTagTransferRequestResponse) ProtoMessage() {}
-func (*MsgAcceptDTagTransferRequestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{5}
-}
-func (m *MsgAcceptDTagTransferRequestResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgAcceptDTagTransferRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgAcceptDTagTransferRequestResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgAcceptDTagTransferRequestResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgAcceptDTagTransferRequestResponse.Merge(m, src)
-}
-func (m *MsgAcceptDTagTransferRequestResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgAcceptDTagTransferRequestResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgAcceptDTagTransferRequestResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgAcceptDTagTransferRequestResponse proto.InternalMessageInfo
-
-// MsgRefuseDTagTransferRequest represents the message used to refuse a DTag
-// transfer request.
-type MsgRefuseDTagTransferRequest struct {
- // Sender represents the request sender
- Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
- // Receiver represents the request receiver
- Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty" yaml:"receiver"`
-}
-
-func (m *MsgRefuseDTagTransferRequest) Reset() { *m = MsgRefuseDTagTransferRequest{} }
-func (m *MsgRefuseDTagTransferRequest) String() string { return proto.CompactTextString(m) }
-func (*MsgRefuseDTagTransferRequest) ProtoMessage() {}
-func (*MsgRefuseDTagTransferRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{6}
-}
-func (m *MsgRefuseDTagTransferRequest) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgRefuseDTagTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgRefuseDTagTransferRequest.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgRefuseDTagTransferRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgRefuseDTagTransferRequest.Merge(m, src)
-}
-func (m *MsgRefuseDTagTransferRequest) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgRefuseDTagTransferRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgRefuseDTagTransferRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgRefuseDTagTransferRequest proto.InternalMessageInfo
-
-func (m *MsgRefuseDTagTransferRequest) GetSender() string {
- if m != nil {
- return m.Sender
- }
- return ""
-}
-
-func (m *MsgRefuseDTagTransferRequest) GetReceiver() string {
- if m != nil {
- return m.Receiver
- }
- return ""
-}
-
-// MsgRefuseDTagTransferRequestResponse defines the
-// Msg/RefuseDTagTransferRequest response.
-type MsgRefuseDTagTransferRequestResponse struct {
-}
-
-func (m *MsgRefuseDTagTransferRequestResponse) Reset() { *m = MsgRefuseDTagTransferRequestResponse{} }
-func (m *MsgRefuseDTagTransferRequestResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgRefuseDTagTransferRequestResponse) ProtoMessage() {}
-func (*MsgRefuseDTagTransferRequestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_00569a18db7c139d, []int{7}
-}
-func (m *MsgRefuseDTagTransferRequestResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgRefuseDTagTransferRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgRefuseDTagTransferRequestResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgRefuseDTagTransferRequestResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgRefuseDTagTransferRequestResponse.Merge(m, src)
-}
-func (m *MsgRefuseDTagTransferRequestResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgRefuseDTagTransferRequestResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgRefuseDTagTransferRequestResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgRefuseDTagTransferRequestResponse proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*MsgRequestDTagTransfer)(nil), "desmos.profiles.v3.MsgRequestDTagTransfer")
- proto.RegisterType((*MsgRequestDTagTransferResponse)(nil), "desmos.profiles.v3.MsgRequestDTagTransferResponse")
- proto.RegisterType((*MsgCancelDTagTransferRequest)(nil), "desmos.profiles.v3.MsgCancelDTagTransferRequest")
- proto.RegisterType((*MsgCancelDTagTransferRequestResponse)(nil), "desmos.profiles.v3.MsgCancelDTagTransferRequestResponse")
- proto.RegisterType((*MsgAcceptDTagTransferRequest)(nil), "desmos.profiles.v3.MsgAcceptDTagTransferRequest")
- proto.RegisterType((*MsgAcceptDTagTransferRequestResponse)(nil), "desmos.profiles.v3.MsgAcceptDTagTransferRequestResponse")
- proto.RegisterType((*MsgRefuseDTagTransferRequest)(nil), "desmos.profiles.v3.MsgRefuseDTagTransferRequest")
- proto.RegisterType((*MsgRefuseDTagTransferRequestResponse)(nil), "desmos.profiles.v3.MsgRefuseDTagTransferRequestResponse")
-}
-
-func init() {
- proto.RegisterFile("desmos/profiles/v3/msgs_dtag_requests.proto", fileDescriptor_00569a18db7c139d)
-}
-
-var fileDescriptor_00569a18db7c139d = []byte{
- // 494 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xb1, 0x6e, 0xd3, 0x40,
- 0x18, 0xc7, 0xe3, 0x20, 0xb5, 0xc5, 0x12, 0x42, 0x35, 0x15, 0x94, 0x0a, 0x9c, 0xca, 0x20, 0x44,
- 0x5b, 0x25, 0xa7, 0x2a, 0xea, 0x40, 0xb6, 0x94, 0x4a, 0x0c, 0xa8, 0x0c, 0xa6, 0x13, 0x4b, 0xe4,
- 0xd8, 0x5f, 0x0e, 0x4b, 0xf1, 0x9d, 0xb9, 0xef, 0xe2, 0xd0, 0x95, 0x91, 0x89, 0x07, 0x60, 0xe3,
- 0x05, 0x3a, 0xf0, 0x10, 0x8c, 0x15, 0x13, 0x53, 0x80, 0x64, 0xe8, 0xde, 0x27, 0x40, 0xb9, 0x3b,
- 0x27, 0x34, 0xb5, 0x59, 0x68, 0x97, 0xe4, 0xfb, 0xee, 0xff, 0x3f, 0xdf, 0xfd, 0x7f, 0x77, 0x3a,
- 0x7b, 0x27, 0x02, 0x4c, 0x38, 0x92, 0x54, 0xf0, 0x5e, 0xdc, 0x07, 0x24, 0x59, 0x93, 0x24, 0x48,
- 0xb1, 0x13, 0xc9, 0x80, 0x76, 0x04, 0xbc, 0x1b, 0x00, 0x4a, 0x6c, 0xa4, 0x82, 0x4b, 0xee, 0x38,
- 0xda, 0xdc, 0xc8, 0xcd, 0x8d, 0xac, 0xb9, 0xb1, 0x1a, 0x24, 0x31, 0xe3, 0x44, 0xfd, 0x6a, 0xdb,
- 0xc6, 0x1a, 0xe5, 0x94, 0xab, 0x92, 0x4c, 0x2b, 0x33, 0x7a, 0x2f, 0xe4, 0x6a, 0xa5, 0x04, 0x29,
- 0xc9, 0x76, 0xa7, 0x7f, 0x46, 0xb8, 0xaf, 0x85, 0x8e, 0x9e, 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0xfd,
- 0x0c, 0x09, 0x77, 0x3c, 0xaa, 0x2d, 0xbf, 0x82, 0xe1, 0xd4, 0x3d, 0x87, 0x92, 0x9b, 0x3c, 0x7f,
- 0x99, 0xc1, 0xf0, 0x40, 0x06, 0xf4, 0x0a, 0xb2, 0x5f, 0x38, 0x87, 0x1b, 0xff, 0x71, 0x0e, 0xad,
- 0xbd, 0x29, 0xc4, 0x59, 0xbb, 0x80, 0xb1, 0x34, 0xbd, 0xc1, 0x58, 0xaa, 0xcf, 0x30, 0xfe, 0xd6,
- 0x17, 0xca, 0x87, 0xde, 0x00, 0xa1, 0x08, 0xe3, 0x9c, 0x85, 0x75, 0x15, 0x2c, 0xaa, 0xd7, 0xc6,
- 0xa2, 0x34, 0x82, 0x61, 0x51, 0xaa, 0xe7, 0x2c, 0xf6, 0x5f, 0x7e, 0x1b, 0xbb, 0xd6, 0xe9, 0xd8,
- 0xb5, 0x7e, 0x8d, 0x5d, 0xeb, 0xd3, 0xc4, 0xad, 0x9c, 0x4e, 0xdc, 0xca, 0x8f, 0x89, 0x5b, 0x79,
- 0xb3, 0x4b, 0x63, 0xf9, 0x76, 0xd0, 0x6d, 0x84, 0x3c, 0x21, 0x7a, 0xc5, 0x7a, 0x3f, 0xe8, 0xa2,
- 0xa9, 0x49, 0xb6, 0x47, 0xde, 0xcf, 0x1f, 0x3e, 0x79, 0x9c, 0x02, 0x76, 0x97, 0xd4, 0xc3, 0xd3,
- 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x18, 0x6c, 0xcc, 0x18, 0x05, 0x00, 0x00,
-}
-
-func (m *MsgRequestDTagTransfer) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgRequestDTagTransfer) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgRequestDTagTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Receiver) > 0 {
- i -= len(m.Receiver)
- copy(dAtA[i:], m.Receiver)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Receiver)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgRequestDTagTransferResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgRequestDTagTransferResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgRequestDTagTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgCancelDTagTransferRequest) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgCancelDTagTransferRequest) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgCancelDTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Receiver) > 0 {
- i -= len(m.Receiver)
- copy(dAtA[i:], m.Receiver)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Receiver)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgCancelDTagTransferRequestResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgCancelDTagTransferRequestResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgCancelDTagTransferRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgAcceptDTagTransferRequest) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgAcceptDTagTransferRequest) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgAcceptDTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Receiver) > 0 {
- i -= len(m.Receiver)
- copy(dAtA[i:], m.Receiver)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Receiver)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.NewDTag) > 0 {
- i -= len(m.NewDTag)
- copy(dAtA[i:], m.NewDTag)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.NewDTag)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgAcceptDTagTransferRequestResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgAcceptDTagTransferRequestResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgAcceptDTagTransferRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgRefuseDTagTransferRequest) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgRefuseDTagTransferRequest) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgRefuseDTagTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Receiver) > 0 {
- i -= len(m.Receiver)
- copy(dAtA[i:], m.Receiver)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Receiver)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintMsgsDtagRequests(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgRefuseDTagTransferRequestResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgRefuseDTagTransferRequestResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgRefuseDTagTransferRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func encodeVarintMsgsDtagRequests(dAtA []byte, offset int, v uint64) int {
- offset -= sovMsgsDtagRequests(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *MsgRequestDTagTransfer) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Receiver)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- return n
-}
-
-func (m *MsgRequestDTagTransferResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgCancelDTagTransferRequest) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Receiver)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- return n
-}
-
-func (m *MsgCancelDTagTransferRequestResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgAcceptDTagTransferRequest) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.NewDTag)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- l = len(m.Receiver)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- return n
-}
-
-func (m *MsgAcceptDTagTransferRequestResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgRefuseDTagTransferRequest) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- l = len(m.Receiver)
- if l > 0 {
- n += 1 + l + sovMsgsDtagRequests(uint64(l))
- }
- return n
-}
-
-func (m *MsgRefuseDTagTransferRequestResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func sovMsgsDtagRequests(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
-}
-func sozMsgsDtagRequests(x uint64) (n int) {
- return sovMsgsDtagRequests(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *MsgRequestDTagTransfer) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgRequestDTagTransfer: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgRequestDTagTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Receiver = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgRequestDTagTransferResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgRequestDTagTransferResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgRequestDTagTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCancelDTagTransferRequest) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelDTagTransferRequest: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelDTagTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Receiver = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCancelDTagTransferRequestResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelDTagTransferRequestResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelDTagTransferRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgAcceptDTagTransferRequest) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgAcceptDTagTransferRequest: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgAcceptDTagTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field NewDTag", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.NewDTag = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Receiver = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgAcceptDTagTransferRequestResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgAcceptDTagTransferRequestResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgAcceptDTagTransferRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgRefuseDTagTransferRequest) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgRefuseDTagTransferRequest: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgRefuseDTagTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Receiver = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgRefuseDTagTransferRequestResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgRefuseDTagTransferRequestResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgRefuseDTagTransferRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsDtagRequests(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsDtagRequests
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func skipMsgsDtagRequests(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- depth := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- case 1:
- iNdEx += 8
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsDtagRequests
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if length < 0 {
- return 0, ErrInvalidLengthMsgsDtagRequests
- }
- iNdEx += length
- case 3:
- depth++
- case 4:
- if depth == 0 {
- return 0, ErrUnexpectedEndOfGroupMsgsDtagRequests
- }
- depth--
- case 5:
- iNdEx += 4
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- if iNdEx < 0 {
- return 0, ErrInvalidLengthMsgsDtagRequests
- }
- if depth == 0 {
- return iNdEx, nil
- }
- }
- return 0, io.ErrUnexpectedEOF
-}
-
-var (
- ErrInvalidLengthMsgsDtagRequests = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowMsgsDtagRequests = fmt.Errorf("proto: integer overflow")
- ErrUnexpectedEndOfGroupMsgsDtagRequests = fmt.Errorf("proto: unexpected end of group")
-)
diff --git a/x/profiles/types/msgs_dtag_requests_test.go b/x/profiles/types/msgs_dtag_requests_test.go
index 34c6bc5418..823a864ce9 100644
--- a/x/profiles/types/msgs_dtag_requests_test.go
+++ b/x/profiles/types/msgs_dtag_requests_test.go
@@ -68,11 +68,6 @@ func TestMsgRequestDTagTransfer_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRequestDTagTransfer_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRequestDTagTransfer","value":{"receiver":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","sender":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"}}`
- require.Equal(t, expected, string(msgRequestTransferDTag.GetSignBytes()))
-}
-
func TestMsgRequestDTagTransfer_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRequestTransferDTag.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgRequestTransferDTag.GetSigners())
@@ -157,11 +152,6 @@ func TestMsgAcceptDTagTransferRequest_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAcceptDTagTransferRequest_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAcceptDTagTransferRequest","value":{"new_dtag":"dtag","receiver":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","sender":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"}}`
- require.Equal(t, expected, string(msgAcceptDTagTransfer.GetSignBytes()))
-}
-
func TestMsgAcceptDTagTransferRequest_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAcceptDTagTransfer.Receiver)
require.Equal(t, []sdk.AccAddress{addr}, msgAcceptDTagTransfer.GetSigners())
@@ -236,11 +226,6 @@ func TestMsgRejectDTagTransferRequest_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRejectDTagTransferRequest_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRefuseDTagTransferRequest","value":{"receiver":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","sender":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"}}`
- require.Equal(t, expected, string(msgRejectDTagTransfer.GetSignBytes()))
-}
-
func TestMsgRejectDTagTransferRequest_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRejectDTagTransfer.Receiver)
require.Equal(t, []sdk.AccAddress{addr}, msgRejectDTagTransfer.GetSigners())
@@ -312,11 +297,6 @@ func TestMsgCancelDTagTransferRequest_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCancelDTagTransferRequest_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCancelDTagTransferRequest","value":{"receiver":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","sender":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"}}`
- require.Equal(t, expected, string(msgCancelDTagTransferReq.GetSignBytes()))
-}
-
func TestMsgCancelDTagTransferRequest_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCancelDTagTransferReq.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgCancelDTagTransferReq.GetSigners())
diff --git a/x/profiles/types/msgs_params.go b/x/profiles/types/msgs_params.go
index 1dd1cfeb45..723d833534 100644
--- a/x/profiles/types/msgs_params.go
+++ b/x/profiles/types/msgs_params.go
@@ -2,12 +2,10 @@ package types
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
)
var (
- _ sdk.Msg = &MsgUpdateParams{}
- _ legacytx.LegacyMsg = &MsgUpdateParams{}
+ _ sdk.Msg = &MsgUpdateParams{}
)
func NewMsgUpdateParams(params Params, authority string) *MsgUpdateParams {
@@ -42,8 +40,3 @@ func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress {
authority := sdk.MustAccAddressFromBech32(msg.Authority)
return []sdk.AccAddress{authority}
}
-
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgUpdateParams) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
diff --git a/x/profiles/types/msgs_params.pb.go b/x/profiles/types/msgs_params.pb.go
deleted file mode 100644
index 20fe430d16..0000000000
--- a/x/profiles/types/msgs_params.pb.go
+++ /dev/null
@@ -1,515 +0,0 @@
-// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: desmos/profiles/v3/msgs_params.proto
-
-package types
-
-import (
- fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- _ "github.com/cosmos/cosmos-sdk/types/msgservice"
- _ "github.com/cosmos/cosmos-sdk/types/tx/amino"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
-
-// MsgUpdateParams is the Msg/UpdateParams request type.
-//
-// Since: Desmos 5.0.0
-type MsgUpdateParams struct {
- // authority is the address that controls the module (defaults to x/gov unless
- // overwritten).
- Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
- // params defines the parameters to update.
- //
- // NOTE: All parameters must be supplied.
- Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
-}
-
-func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} }
-func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) }
-func (*MsgUpdateParams) ProtoMessage() {}
-func (*MsgUpdateParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_218946f21050b13e, []int{0}
-}
-func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgUpdateParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgUpdateParams.Merge(m, src)
-}
-func (m *MsgUpdateParams) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgUpdateParams) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo
-
-func (m *MsgUpdateParams) GetAuthority() string {
- if m != nil {
- return m.Authority
- }
- return ""
-}
-
-func (m *MsgUpdateParams) GetParams() Params {
- if m != nil {
- return m.Params
- }
- return Params{}
-}
-
-// MsgUpdateParamsResponse defines the response structure for executing a
-// MsgUpdateParams message.
-//
-// Since: Desmos 5.0.0
-type MsgUpdateParamsResponse struct {
-}
-
-func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} }
-func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgUpdateParamsResponse) ProtoMessage() {}
-func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_218946f21050b13e, []int{1}
-}
-func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src)
-}
-func (m *MsgUpdateParamsResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*MsgUpdateParams)(nil), "desmos.profiles.v3.MsgUpdateParams")
- proto.RegisterType((*MsgUpdateParamsResponse)(nil), "desmos.profiles.v3.MsgUpdateParamsResponse")
-}
-
-func init() {
- proto.RegisterFile("desmos/profiles/v3/msgs_params.proto", fileDescriptor_218946f21050b13e)
-}
-
-var fileDescriptor_218946f21050b13e = []byte{
- // 325 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x49, 0x2d, 0xce,
- 0xcd, 0x2f, 0xd6, 0x2f, 0x28, 0xca, 0x4f, 0xcb, 0xcc, 0x49, 0x2d, 0xd6, 0x2f, 0x33, 0xd6, 0xcf,
- 0x2d, 0x4e, 0x2f, 0x8e, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
- 0x17, 0x12, 0x82, 0xa8, 0xd2, 0x83, 0xa9, 0xd2, 0x2b, 0x33, 0x96, 0x12, 0x4c, 0xcc, 0xcd, 0xcc,
- 0xcb, 0xd7, 0x07, 0x93, 0x10, 0x65, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88,
- 0x05, 0x15, 0x95, 0x4c, 0xce, 0x07, 0x69, 0x8e, 0x87, 0x48, 0x40, 0x38, 0x50, 0x29, 0x71, 0x08,
- 0x0f, 0x64, 0xa3, 0x7e, 0x99, 0x21, 0x88, 0x82, 0x4a, 0xa8, 0x61, 0x73, 0x56, 0x7e, 0x4a, 0x6a,
- 0x0e, 0xaa, 0xc3, 0x94, 0xf6, 0x31, 0x72, 0xf1, 0xfb, 0x16, 0xa7, 0x87, 0x16, 0xa4, 0x24, 0x96,
- 0xa4, 0x06, 0x80, 0x65, 0x84, 0xcc, 0xb8, 0x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x03,
- 0xf7, 0xf0, 0x01, 0x00, 0x00,
-}
-
-func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- {
- size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintMsgsParams(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x12
- if len(m.Authority) > 0 {
- i -= len(m.Authority)
- copy(dAtA[i:], m.Authority)
- i = encodeVarintMsgsParams(dAtA, i, uint64(len(m.Authority)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func encodeVarintMsgsParams(dAtA []byte, offset int, v uint64) int {
- offset -= sovMsgsParams(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *MsgUpdateParams) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Authority)
- if l > 0 {
- n += 1 + l + sovMsgsParams(uint64(l))
- }
- l = m.Params.Size()
- n += 1 + l + sovMsgsParams(uint64(l))
- return n
-}
-
-func (m *MsgUpdateParamsResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func sovMsgsParams(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
-}
-func sozMsgsParams(x uint64) (n int) {
- return sovMsgsParams(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsParams
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsParams
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Authority = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthMsgsParams
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsParams
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsParams(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsParams
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsParams(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsParams
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func skipMsgsParams(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- depth := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- case 1:
- iNdEx += 8
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsParams
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if length < 0 {
- return 0, ErrInvalidLengthMsgsParams
- }
- iNdEx += length
- case 3:
- depth++
- case 4:
- if depth == 0 {
- return 0, ErrUnexpectedEndOfGroupMsgsParams
- }
- depth--
- case 5:
- iNdEx += 4
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- if iNdEx < 0 {
- return 0, ErrInvalidLengthMsgsParams
- }
- if depth == 0 {
- return iNdEx, nil
- }
- }
- return 0, io.ErrUnexpectedEOF
-}
-
-var (
- ErrInvalidLengthMsgsParams = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowMsgsParams = fmt.Errorf("proto: integer overflow")
- ErrUnexpectedEndOfGroupMsgsParams = fmt.Errorf("proto: unexpected end of group")
-)
diff --git a/x/profiles/types/msgs_params_test.go b/x/profiles/types/msgs_params_test.go
index 022555bb9c..a4ad8a1bd9 100644
--- a/x/profiles/types/msgs_params_test.go
+++ b/x/profiles/types/msgs_params_test.go
@@ -55,11 +55,6 @@ func TestMsgUpdateParams_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUpdateParams_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/x/profiles/MsgUpdateParams","value":{"authority":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","params":{"app_links":{"validity_duration":"31536000000000000"},"bio":{"max_length":"1000"},"dtag":{"max_length":"30","min_length":"3","reg_ex":"^[A-Za-z0-9_]+$"},"nickname":{"max_length":"1000","min_length":"2"},"oracle":{"ask_count":"1","execute_gas":"200000","fee_amount":[{"amount":"10","denom":"band"}],"min_count":"1","prepare_gas":"50000"}}}}`
- require.Equal(t, expected, string(msgUpdateParams.GetSignBytes()))
-}
-
func TestMsgUpdateParams_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUpdateParams.Authority)
require.Equal(t, []sdk.AccAddress{addr}, msgUpdateParams.GetSigners())
diff --git a/x/profiles/types/msgs_profile.go b/x/profiles/types/msgs_profile.go
index 63f224575a..e374ba8dc8 100644
--- a/x/profiles/types/msgs_profile.go
+++ b/x/profiles/types/msgs_profile.go
@@ -40,11 +40,6 @@ func (msg *MsgSaveProfile) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgSaveProfile) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgSaveProfile) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Creator)
@@ -76,11 +71,6 @@ func (msg *MsgDeleteProfile) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgDeleteProfile) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgDeleteProfile) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Creator)
diff --git a/x/profiles/types/msgs_profile.pb.go b/x/profiles/types/msgs_profile.pb.go
deleted file mode 100644
index a9e6ebd7ab..0000000000
--- a/x/profiles/types/msgs_profile.pb.go
+++ /dev/null
@@ -1,1018 +0,0 @@
-// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: desmos/profiles/v3/msgs_profile.proto
-
-package types
-
-import (
- fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- _ "github.com/cosmos/cosmos-sdk/types/msgservice"
- _ "github.com/cosmos/cosmos-sdk/types/tx/amino"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
-
-// MsgSaveProfile represents a message to save a profile.
-type MsgSaveProfile struct {
- // DTag of the profile. If it shouldn't be changed, [do-no-modify] can be used
- // instead.
- DTag string `protobuf:"bytes,1,opt,name=dtag,proto3" json:"dtag,omitempty" yaml:"dtag"`
- // Nickname of the profile. If it shouldn't be changed, [do-no-modify] can be
- // used instead.
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty" yaml:"nickname"`
- // Bio of the profile. If it shouldn't be changed, [do-no-modify] can be used
- // instead.
- Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty" yaml:"bio"`
- // URL to the profile picture. If it shouldn't be changed, [do-no-modify] can
- // be used instead.
- ProfilePicture string `protobuf:"bytes,4,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty" yaml:"profile_picture"`
- // URL to the profile cover. If it shouldn't be changed, [do-no-modify] can be
- // used instead.
- CoverPicture string `protobuf:"bytes,5,opt,name=cover_picture,json=coverPicture,proto3" json:"cover_picture,omitempty" yaml:"cover_picture"`
- // Address of the user associated to the profile
- Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
-}
-
-func (m *MsgSaveProfile) Reset() { *m = MsgSaveProfile{} }
-func (m *MsgSaveProfile) String() string { return proto.CompactTextString(m) }
-func (*MsgSaveProfile) ProtoMessage() {}
-func (*MsgSaveProfile) Descriptor() ([]byte, []int) {
- return fileDescriptor_5ea75cf4ca5bb3a3, []int{0}
-}
-func (m *MsgSaveProfile) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgSaveProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgSaveProfile.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgSaveProfile) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgSaveProfile.Merge(m, src)
-}
-func (m *MsgSaveProfile) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgSaveProfile) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgSaveProfile.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgSaveProfile proto.InternalMessageInfo
-
-func (m *MsgSaveProfile) GetDTag() string {
- if m != nil {
- return m.DTag
- }
- return ""
-}
-
-func (m *MsgSaveProfile) GetNickname() string {
- if m != nil {
- return m.Nickname
- }
- return ""
-}
-
-func (m *MsgSaveProfile) GetBio() string {
- if m != nil {
- return m.Bio
- }
- return ""
-}
-
-func (m *MsgSaveProfile) GetProfilePicture() string {
- if m != nil {
- return m.ProfilePicture
- }
- return ""
-}
-
-func (m *MsgSaveProfile) GetCoverPicture() string {
- if m != nil {
- return m.CoverPicture
- }
- return ""
-}
-
-func (m *MsgSaveProfile) GetCreator() string {
- if m != nil {
- return m.Creator
- }
- return ""
-}
-
-// MsgSaveProfileResponse defines the Msg/SaveProfile response type.
-type MsgSaveProfileResponse struct {
-}
-
-func (m *MsgSaveProfileResponse) Reset() { *m = MsgSaveProfileResponse{} }
-func (m *MsgSaveProfileResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgSaveProfileResponse) ProtoMessage() {}
-func (*MsgSaveProfileResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_5ea75cf4ca5bb3a3, []int{1}
-}
-func (m *MsgSaveProfileResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgSaveProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgSaveProfileResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgSaveProfileResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgSaveProfileResponse.Merge(m, src)
-}
-func (m *MsgSaveProfileResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgSaveProfileResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgSaveProfileResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgSaveProfileResponse proto.InternalMessageInfo
-
-// MsgDeleteProfile represents the message used to delete an existing profile.
-type MsgDeleteProfile struct {
- // Address associated to the profile to be deleted
- Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty" yaml:"creator"`
-}
-
-func (m *MsgDeleteProfile) Reset() { *m = MsgDeleteProfile{} }
-func (m *MsgDeleteProfile) String() string { return proto.CompactTextString(m) }
-func (*MsgDeleteProfile) ProtoMessage() {}
-func (*MsgDeleteProfile) Descriptor() ([]byte, []int) {
- return fileDescriptor_5ea75cf4ca5bb3a3, []int{2}
-}
-func (m *MsgDeleteProfile) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgDeleteProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgDeleteProfile.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgDeleteProfile) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgDeleteProfile.Merge(m, src)
-}
-func (m *MsgDeleteProfile) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgDeleteProfile) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgDeleteProfile.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgDeleteProfile proto.InternalMessageInfo
-
-func (m *MsgDeleteProfile) GetCreator() string {
- if m != nil {
- return m.Creator
- }
- return ""
-}
-
-// MsgDeleteProfileResponse defines the Msg/DeleteProfile response type.
-type MsgDeleteProfileResponse struct {
-}
-
-func (m *MsgDeleteProfileResponse) Reset() { *m = MsgDeleteProfileResponse{} }
-func (m *MsgDeleteProfileResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgDeleteProfileResponse) ProtoMessage() {}
-func (*MsgDeleteProfileResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_5ea75cf4ca5bb3a3, []int{3}
-}
-func (m *MsgDeleteProfileResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgDeleteProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgDeleteProfileResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgDeleteProfileResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgDeleteProfileResponse.Merge(m, src)
-}
-func (m *MsgDeleteProfileResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgDeleteProfileResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgDeleteProfileResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgDeleteProfileResponse proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*MsgSaveProfile)(nil), "desmos.profiles.v3.MsgSaveProfile")
- proto.RegisterType((*MsgSaveProfileResponse)(nil), "desmos.profiles.v3.MsgSaveProfileResponse")
- proto.RegisterType((*MsgDeleteProfile)(nil), "desmos.profiles.v3.MsgDeleteProfile")
- proto.RegisterType((*MsgDeleteProfileResponse)(nil), "desmos.profiles.v3.MsgDeleteProfileResponse")
-}
-
-func init() {
- proto.RegisterFile("desmos/profiles/v3/msgs_profile.proto", fileDescriptor_5ea75cf4ca5bb3a3)
-}
-
-var fileDescriptor_5ea75cf4ca5bb3a3 = []byte{
- // 464 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x31, 0x6f, 0x13, 0x31,
- 0x18, 0x86, 0x73, 0x24, 0x14, 0x30, 0x90, 0xc2, 0x11, 0x1a, 0x93, 0xe1, 0xae, 0xb2, 0x04, 0xaa,
- 0x82, 0x1a, 0xab, 0x8a, 0x58, 0x2a, 0x31, 0x50, 0xb2, 0xa1, 0x4a, 0xd5, 0x95, 0x89, 0x25, 0xf2,
- 0x5d, 0x8c, 0xb1, 0xc8, 0x9d, 0x4f, 0xb6, 0x7b, 0xa2, 0x6b, 0x46, 0x26, 0x7e, 0x4a, 0x07,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0xbf, 0x5c, 0xc4, 0x83, 0x44, 0xa4, 0xd8, 0x56, 0x3e, 0x9c, 0x92,
- 0x58, 0xb9, 0x35, 0x2e, 0xde, 0xe0, 0x6f, 0xeb, 0xaf, 0x41, 0x5f, 0xe6, 0x54, 0xc5, 0x3b, 0xe6,
- 0x4e, 0x0e, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x93, 0x57, 0x84, 0xa6, 0x2d, 0x03, 0x00, 0x00,
-}
-
-func (m *MsgSaveProfile) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgSaveProfile) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgSaveProfile) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Creator) > 0 {
- i -= len(m.Creator)
- copy(dAtA[i:], m.Creator)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.Creator)))
- i--
- dAtA[i] = 0x32
- }
- if len(m.CoverPicture) > 0 {
- i -= len(m.CoverPicture)
- copy(dAtA[i:], m.CoverPicture)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.CoverPicture)))
- i--
- dAtA[i] = 0x2a
- }
- if len(m.ProfilePicture) > 0 {
- i -= len(m.ProfilePicture)
- copy(dAtA[i:], m.ProfilePicture)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.ProfilePicture)))
- i--
- dAtA[i] = 0x22
- }
- if len(m.Bio) > 0 {
- i -= len(m.Bio)
- copy(dAtA[i:], m.Bio)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.Bio)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Nickname) > 0 {
- i -= len(m.Nickname)
- copy(dAtA[i:], m.Nickname)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.Nickname)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.DTag) > 0 {
- i -= len(m.DTag)
- copy(dAtA[i:], m.DTag)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.DTag)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgSaveProfileResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgSaveProfileResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgSaveProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgDeleteProfile) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgDeleteProfile) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgDeleteProfile) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.Creator) > 0 {
- i -= len(m.Creator)
- copy(dAtA[i:], m.Creator)
- i = encodeVarintMsgsProfile(dAtA, i, uint64(len(m.Creator)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgDeleteProfileResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgDeleteProfileResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgDeleteProfileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func encodeVarintMsgsProfile(dAtA []byte, offset int, v uint64) int {
- offset -= sovMsgsProfile(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *MsgSaveProfile) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.DTag)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- l = len(m.Nickname)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- l = len(m.Bio)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- l = len(m.ProfilePicture)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- l = len(m.CoverPicture)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- l = len(m.Creator)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- return n
-}
-
-func (m *MsgSaveProfileResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgDeleteProfile) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Creator)
- if l > 0 {
- n += 1 + l + sovMsgsProfile(uint64(l))
- }
- return n
-}
-
-func (m *MsgDeleteProfileResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func sovMsgsProfile(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
-}
-func sozMsgsProfile(x uint64) (n int) {
- return sovMsgsProfile(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *MsgSaveProfile) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgSaveProfile: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgSaveProfile: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DTag", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DTag = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Nickname", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Nickname = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Bio", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Bio = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ProfilePicture", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ProfilePicture = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CoverPicture", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CoverPicture = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Creator = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsProfile(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgSaveProfileResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgSaveProfileResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgSaveProfileResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsProfile(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgDeleteProfile) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgDeleteProfile: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgDeleteProfile: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Creator = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsProfile(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgDeleteProfileResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgDeleteProfileResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgDeleteProfileResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipMsgsProfile(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthMsgsProfile
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func skipMsgsProfile(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- depth := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- case 1:
- iNdEx += 8
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowMsgsProfile
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if length < 0 {
- return 0, ErrInvalidLengthMsgsProfile
- }
- iNdEx += length
- case 3:
- depth++
- case 4:
- if depth == 0 {
- return 0, ErrUnexpectedEndOfGroupMsgsProfile
- }
- depth--
- case 5:
- iNdEx += 4
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- if iNdEx < 0 {
- return 0, ErrInvalidLengthMsgsProfile
- }
- if depth == 0 {
- return iNdEx, nil
- }
- }
- return 0, io.ErrUnexpectedEOF
-}
-
-var (
- ErrInvalidLengthMsgsProfile = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowMsgsProfile = fmt.Errorf("proto: integer overflow")
- ErrUnexpectedEndOfGroupMsgsProfile = fmt.Errorf("proto: unexpected end of group")
-)
diff --git a/x/profiles/types/msgs_profile_test.go b/x/profiles/types/msgs_profile_test.go
index f5120d8120..8c2b21d8bf 100644
--- a/x/profiles/types/msgs_profile_test.go
+++ b/x/profiles/types/msgs_profile_test.go
@@ -66,11 +66,6 @@ func TestMsgSaveProfile_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSaveProfile_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgSaveProfile","value":{"bio":"biography","cover_picture":"https://shorturl.at/cgpyF","creator":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","dtag":"monk","nickname":"nickname","profile_picture":"https://shorturl.at/adnX3"}}`
- require.Equal(t, expected, string(msgEditProfile.GetSignBytes()))
-}
-
func TestMsgSaveProfile_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgEditProfile.Creator)
require.Equal(t, []sdk.AccAddress{addr}, msgEditProfile.GetSigners())
@@ -122,11 +117,6 @@ func TestMsgDeleteProfile_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeleteProfile_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeleteProfile","value":{"creator":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"}}`
- require.Equal(t, expected, string(msgDeleteProfile.GetSignBytes()))
-}
-
func TestMsgDeleteProfile_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeleteProfile.Creator)
require.Equal(t, []sdk.AccAddress{addr}, msgDeleteProfile.GetSigners())
diff --git a/x/profiles/types/query.pb.go b/x/profiles/types/query.pb.go
index e9410e055e..97df489d6a 100644
--- a/x/profiles/types/query.pb.go
+++ b/x/profiles/types/query.pb.go
@@ -29,46 +29,46 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("desmos/profiles/v3/query.proto", fileDescriptor_bcbdebc2a1cf2f2b) }
var fileDescriptor_bcbdebc2a1cf2f2b = []byte{
- // 615 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00,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b0, 0xd0, 0xee, 0x3d, 0xf9, 0x32, 0x30, 0x8d, 0x8b, 0x81, 0x69, 0xfc, 0x1c, 0x98, 0xc6, 0xbb,
- 0xa1, 0xb9, 0x72, 0x31, 0x34, 0x57, 0x7e, 0x0c, 0xcd, 0x95, 0x97, 0x25, 0xd7, 0x8b, 0x8e, 0x3b,
- 0x75, 0xbb, 0xc1, 0xda, 0xd2, 0x6f, 0xf9, 0xb8, 0xce, 0x55, 0xad, 0xee, 0xb6, 0x73, 0x3a, 0x29,
- 0x18, 0xf5, 0x02, 0xc2, 0xeb, 0xab, 0xe2, 0x4f, 0xa6, 0xfc, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x4b,
- 0x59, 0x27, 0x33, 0x8b, 0x07, 0x00, 0x00,
+ // 614 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x4f, 0x6b, 0x13, 0x41,
+ 0x18, 0xc6, 0xbb, 0x82, 0x15, 0x06, 0x41, 0x79, 0x41, 0xd0, 0x50, 0xb7, 0x58, 0xcd, 0x1f, 0xd2,
+ 0xec, 0x6e, 0xd3, 0x60, 0x30, 0xa2, 0x87, 0xb6, 0xf1, 0x50, 0x14, 0xac, 0xd2, 0x93, 0x97, 0x30,
+ 0x49, 0x26, 0xdb, 0xc5, 0xcd, 0xcc, 0x76, 0x67, 0x13, 0x1b, 0x4a, 0x2e, 0xde, 0xbc, 0x14, 0xc1,
+ 0xbb, 0x27, 0x3f, 0x82, 0xdf, 0x41, 0x2f, 0x62, 0xc1, 0x8b, 0x47, 0x49, 0xfc, 0x20, 0x92, 0xd9,
+ 0x99, 0x44, 0xe3, 0x4e, 0x92, 0xe6, 0xb6, 0x64, 0x9e, 0xe7, 0x7d, 0x7f, 0xcf, 0xbc, 0x2f, 0x13,
+ 0x64, 0x36, 0x09, 0x6f, 0x33, 0xee, 0x04, 0x21, 0x6b, 0x79, 0x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 0x1e, 0x85, 0xfc, 0x70, 0x19, 0xab, 0x64, 0xaf, 0x08, 0xf6, 0x12, 0x14, 0x67, 0xb2, 0x3b, 0x0d,
+ 0xe1, 0xe3, 0xce, 0x69, 0xfc, 0x51, 0xf3, 0x9a, 0x7d, 0xf8, 0x6c, 0xa0, 0x1b, 0x53, 0x0d, 0xe4,
+ 0x9e, 0xdf, 0x5f, 0x14, 0xe8, 0xdf, 0x6d, 0x2f, 0x5f, 0xd4, 0x26, 0x33, 0x14, 0x44, 0x86, 0x0c,
+ 0xdc, 0x9b, 0x9d, 0x41, 0x6e, 0x7c, 0x1f, 0xad, 0x1e, 0x88, 0x77, 0x1f, 0x32, 0xfa, 0xc7, 0x55,
+ 0x08, 0x14, 0x57, 0x76, 0xae, 0x4e, 0x82, 0x6c, 0x08, 0x90, 0x35, 0x48, 0x25, 0xbe, 0xc1, 0x42,
+ 0xbb, 0xfb, 0xf4, 0xeb, 0xc0, 0x34, 0xce, 0x07, 0xa6, 0xf1, 0x6b, 0x60, 0x1a, 0xef, 0x87, 0xe6,
+ 0xca, 0xf9, 0xd0, 0x5c, 0xf9, 0x39, 0x34, 0x57, 0x5e, 0x15, 0x5d, 0x2f, 0x3a, 0xea, 0xd4, 0xed,
+ 0x06, 0x6b, 0x4b, 0xbf, 0xe5, 0xe3, 0x3a, 0x57, 0xb5, 0xba, 0x65, 0xe7, 0x64, 0x52, 0x30, 0xea,
+ 0x05, 0x84, 0xd7, 0x57, 0xc5, 0x9f, 0x4c, 0xe9, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xb4,
+ 0x70, 0xc1, 0x8b, 0x07, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/profiles/types/query_app_links.pb.go b/x/profiles/types/query_app_links.pb.go
index 09c6f26903..a3d286bfdc 100644
--- a/x/profiles/types/query_app_links.pb.go
+++ b/x/profiles/types/query_app_links.pb.go
@@ -457,41 +457,41 @@ func init() {
}
var fileDescriptor_b3b6ad0478f8a288 = []byte{
- // 542 bytes of a gzipped FileDescriptorProto
+ // 541 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xc1, 0x6e, 0xd3, 0x4c,
0x10, 0xce, 0x26, 0xf9, 0xab, 0x66, 0x73, 0xfa, 0xad, 0x1e, 0x8c, 0x0b, 0x26, 0x18, 0x51, 0x42,
- 0x45, 0x77, 0x95, 0x46, 0x3c, 0x40, 0x4d, 0x04, 0xaa, 0x40, 0x02, 0xcc, 0x8d, 0x4b, 0xb4, 0x8e,
- 0x17, 0xb3, 0xc2, 0xf6, 0xba, 0x5e, 0x3b, 0x90, 0x47, 0xe0, 0xc6, 0x63, 0xc0, 0x05, 0x71, 0xe0,
- 0x21, 0x7a, 0xac, 0x7a, 0xe2, 0x84, 0x50, 0x72, 0xe0, 0xca, 0x23, 0x20, 0xef, 0x6e, 0x9b, 0x34,
- 0x98, 0x44, 0x20, 0xc4, 0x25, 0x5a, 0xcf, 0xcc, 0x37, 0xf3, 0x7d, 0xb3, 0x5f, 0x16, 0x76, 0x03,
- 0x2a, 0x62, 0x2e, 0x70, 0x9a, 0xf1, 0xe7, 0x2c, 0xa2, 0x02, 0x8f, 0xfb, 0xf8, 0xa8, 0xa0, 0xd9,
- 0x64, 0x48, 0xd2, 0x74, 0x18, 0xb1, 0xe4, 0xa5, 0x40, 0x69, 0xc6, 0x73, 0x6e, 0x18, 0xaa, 0x12,
- 0x9d, 0x55, 0xa2, 0x71, 0xdf, 0xfa, 0x9f, 0xc4, 0x2c, 0xe1, 0x58, 0xfe, 0xaa, 0x32, 0x6b, 0x2b,
- 0xe4, 0x21, 0x97, 0x47, 0x5c, 0x9e, 0x74, 0xf4, 0xd2, 0x88, 0x97, 0xe0, 0xa1, 0x4a, 0xa8, 0x0f,
- 0x9d, 0xba, 0x55, 0xc1, 0x20, 0xe6, 0x01, 0x8d, 0xc4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xbc, 0x4d, 0x15, 0x38,
+ 0x0c, 0x9c, 0x08, 0xee, 0xac, 0xeb, 0xa2, 0xe5, 0xbb, 0xb0, 0x59, 0x2a, 0x90, 0x1d, 0x7e, 0x5f,
+ 0xbd, 0xc4, 0x3a, 0xef, 0x01, 0xbc, 0x56, 0x35, 0xee, 0xd1, 0xab, 0x84, 0x66, 0xe7, 0xf6, 0x59,
+ 0x32, 0x04, 0x58, 0x6d, 0x88, 0xfa, 0x4a, 0x43, 0x34, 0xfe, 0xd8, 0x10, 0xdf, 0xeb, 0xd0, 0x59,
+ 0xc5, 0x55, 0xaf, 0xa5, 0x80, 0x1b, 0x5c, 0x46, 0xb4, 0x2d, 0xbc, 0xaa, 0xc5, 0xac, 0xef, 0x83,
+ 0xaa, 0xb2, 0x03, 0x9a, 0x13, 0x16, 0x89, 0xc5, 0x3d, 0xea, 0x61, 0x7f, 0xcd, 0x46, 0xd6, 0x1b,
+ 0x00, 0xb7, 0x57, 0xcc, 0xfe, 0x97, 0xff, 0x65, 0xf7, 0xc1, 0xf1, 0xd4, 0x06, 0x27, 0x53, 0x1b,
+ 0x7c, 0x9d, 0xda, 0xe0, 0xed, 0xcc, 0xae, 0x9d, 0xcc, 0xec, 0xda, 0xe7, 0x99, 0x5d, 0x7b, 0xd6,
+ 0x0b, 0x59, 0xfe, 0xa2, 0xf0, 0xd1, 0x88, 0xc7, 0x58, 0xed, 0x77, 0x2f, 0x22, 0xbe, 0xd0, 0x67,
+ 0x3c, 0xbe, 0x83, 0x5f, 0xcf, 0x5f, 0xb9, 0x7c, 0x92, 0x52, 0xe1, 0x6f, 0xc8, 0xc7, 0xaa, 0xff,
+ 0x23, 0x00, 0x00, 0xff, 0xff, 0xce, 0xed, 0xc1, 0x09, 0x87, 0x05, 0x00, 0x00,
}
func (m *QueryApplicationLinksRequest) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/types/query_chain_links.pb.go b/x/profiles/types/query_chain_links.pb.go
index d6456860c4..12dc07fc2e 100644
--- a/x/profiles/types/query_chain_links.pb.go
+++ b/x/profiles/types/query_chain_links.pb.go
@@ -486,38 +486,38 @@ var fileDescriptor_17ef8689aa5884e9 = []byte{
// 540 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xbf, 0x6f, 0x13, 0x31,
0x14, 0xc7, 0xe3, 0xb4, 0x8d, 0x14, 0x77, 0xe2, 0x54, 0xca, 0x11, 0xe8, 0x11, 0x45, 0xfc, 0x88,
- 0x02, 0xb5, 0x95, 0x46, 0xac, 0x48, 0x84, 0x52, 0x06, 0x10, 0x3f, 0xc2, 0xc6, 0x12, 0x39, 0xc9,
- 0xeb, 0xd5, 0xe2, 0xce, 0x4e, 0xcf, 0x4e, 0x68, 0x25, 0xfe, 0x08, 0xfe, 0x00, 0x26, 0x26, 0xc6,
- 0x0e, 0xac, 0x8c, 0x48, 0x1d, 0x23, 0x26, 0x26, 0x84, 0x92, 0x81, 0x7f, 0x03, 0x9d, 0x6d, 0xd2,
- 0x9e, 0x12, 0x1a, 0x09, 0x55, 0x88, 0xe5, 0x64, 0x3f, 0x7f, 0x9f, 0xdf, 0xe7, 0x7d, 0xed, 0x33,
- 0xae, 0xf5, 0x40, 0xc5, 0x52, 0xd1, 0x7e, 0x22, 0x77, 0x79, 0x04, 0x8a, 0x0e, 0x1b, 0x74, 0x7f,
- 0x00, 0xc9, 0x61, 0xbb, 0xbb, 0xc7, 0xb8, 0x68, 0x47, 0x5c, 0xbc, 0x56, 0xa4, 0x9f, 0x48, 0x2d,
- 0x3d, 0xcf, 0x6a, 0xc9, 0x6f, 0x2d, 0x19, 0x36, 0x4a, 0x17, 0x58, 0xcc, 0x85, 0xa4, 0xe6, 0x6b,
- 0x65, 0xa5, 0xb5, 0x50, 0x86, 0xd2, 0x0c, 0x69, 0x3a, 0x72, 0xd1, 0xcb, 0x5d, 0x99, 0x26, 0xb7,
- 0xed, 0x82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, 0x9e, 0xf5, 0x10, 0xfd, 0xd9, 0xc3, 0xfc, 0x19, 0x1e, 0x2e, 0xfd, 0xb5, 0x87,
+ 0xa3, 0x3c, 0xbe, 0x3a, 0x1f, 0xcf, 0x19, 0xc9, 0x71, 0x41, 0x9a, 0x88, 0x73, 0x72, 0x67, 0x9e,
+ 0x93, 0x67, 0xed, 0x40, 0xb2, 0xf1, 0x6d, 0xd0, 0x8c, 0x47, 0xea, 0xb4, 0xe5, 0xae, 0xc0, 0xb9,
+ 0x79, 0x5e, 0x7a, 0x8b, 0x2f, 0xce, 0x2d, 0xfa, 0x4f, 0xae, 0x77, 0xe5, 0x33, 0xc2, 0xd7, 0x8d,
+ 0x21, 0xdb, 0xb0, 0xcb, 0x06, 0x91, 0x7e, 0x78, 0xa0, 0x21, 0x11, 0x2c, 0x72, 0x25, 0x60, 0x7a,
+ 0xf4, 0x04, 0xaf, 0x98, 0xce, 0x17, 0xe2, 0x58, 0xd9, 0x22, 0x9e, 0xf3, 0xba, 0x12, 0x47, 0x08,
+ 0xdf, 0x58, 0xc0, 0xff, 0x9f, 0xfd, 0x64, 0xcd, 0xc7, 0xc7, 0xe3, 0x00, 0x8d, 0xc6, 0x01, 0xfa,
+ 0x31, 0x0e, 0xd0, 0xbb, 0x49, 0x90, 0x1b, 0x4d, 0x82, 0xdc, 0xb7, 0x49, 0x90, 0x7b, 0x55, 0x0f,
+ 0xb9, 0xde, 0x1b, 0x74, 0x48, 0x57, 0xc6, 0xd4, 0xd2, 0x6d, 0x46, 0xac, 0xa3, 0xdc, 0x98, 0x0e,
+ 0xef, 0xd2, 0x83, 0x93, 0x07, 0x56, 0x1f, 0xf6, 0x41, 0x75, 0x0a, 0xe6, 0x95, 0x6c, 0xfc, 0x0a,
+ 0x00, 0x00, 0xff, 0xff, 0x26, 0x46, 0x19, 0x6c, 0x04, 0x06, 0x00, 0x00,
}
func (m *QueryChainLinksRequest) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/types/query_dtag_requests.pb.go b/x/profiles/types/query_dtag_requests.pb.go
index 67b78f7a35..8b35bba8d7 100644
--- a/x/profiles/types/query_dtag_requests.pb.go
+++ b/x/profiles/types/query_dtag_requests.pb.go
@@ -145,30 +145,30 @@ var fileDescriptor_ba6e00c149c010bd = []byte{
// 408 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x8e, 0xd3, 0x40,
0x10, 0x86, 0xbd, 0x20, 0xa1, 0x3b, 0x5f, 0x85, 0x75, 0x85, 0x49, 0xe1, 0x44, 0x57, 0x70, 0xe6,
- 0x44, 0x76, 0x95, 0x0b, 0x34, 0x74, 0x44, 0x08, 0x84, 0x90, 0x10, 0x98, 0xab, 0x68, 0xa2, 0xb5,
- 0x3d, 0x59, 0x56, 0x8a, 0x77, 0x9d, 0xdd, 0x8d, 0x45, 0xde, 0x80, 0x92, 0x47, 0x48, 0x49, 0x89,
- 0x10, 0x8f, 0x40, 0x91, 0x32, 0xa2, 0xa2, 0x42, 0x28, 0x29, 0xe0, 0x31, 0x90, 0xbd, 0x4b, 0x12,
- 0x09, 0x4b, 0xd0, 0xd8, 0xe3, 0x99, 0xff, 0x9f, 0xf9, 0x46, 0x63, 0xff, 0x6e, 0x0e, 0xba, 0x90,
- 0x9a, 0x94, 0x4a, 0x4e, 0xf8, 0x14, 0x34, 0xa9, 0x86, 0x64, 0x36, 0x07, 0xb5, 0x18, 0xe7, 0x86,
- 0xb2, 0xb1, 0x82, 0xd9, 0x1c, 0xb4, 0xd1, 0xb8, 0x54, 0xd2, 0xc8, 0x20, 0xb0, 0x6a, 0xfc, 0x47,
- 0x8d, 0xab, 0x61, 0xe7, 0x26, 0x2d, 0xb8, 0x90, 0xa4, 0x79, 0x5a, 0x59, 0xe7, 0x94, 0x49, 0x26,
- 0x9b, 0x90, 0xd4, 0x91, 0xcb, 0xde, 0xca, 0x64, 0x6d, 0x1e, 0x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1, 0xf1, 0xea, 0x7b,
+ 0xd7, 0xfb, 0xf0, 0xf3, 0xe3, 0x05, 0x4a, 0x76, 0x3d, 0x82, 0x27, 0x2d, 0xfb, 0x9c, 0xff, 0x73,
+ 0x1f, 0x0b, 0x73, 0xb8, 0xd0, 0xe8, 0xd9, 0x6a, 0x13, 0xa1, 0xf5, 0x26, 0x42, 0x3f, 0x36, 0x11,
+ 0x7a, 0xbf, 0x8d, 0xbc, 0xf5, 0x36, 0xf2, 0xbe, 0x6d, 0x23, 0xef, 0xf5, 0x80, 0x71, 0xf3, 0x66,
+ 0x9e, 0xe2, 0x4c, 0x16, 0xc4, 0xa2, 0xf6, 0xa7, 0x34, 0xd5, 0x2e, 0x26, 0xd5, 0x7d, 0xf2, 0x76,
+ 0xff, 0x33, 0x98, 0x45, 0x09, 0x3a, 0xbd, 0xd1, 0xdc, 0x73, 0xf8, 0x3b, 0x00, 0x00, 0xff, 0xff,
+ 0x89, 0x70, 0xde, 0x5e, 0xb2, 0x02, 0x00, 0x00,
}
func (m *QueryIncomingDTagTransferRequestsRequest) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/types/query_params.pb.go b/x/profiles/types/query_params.pb.go
index 8a4a9dab8e..76fd9bef03 100644
--- a/x/profiles/types/query_params.pb.go
+++ b/x/profiles/types/query_params.pb.go
@@ -130,8 +130,8 @@ var fileDescriptor_9afa8e27b0a00e24 = []byte{
0xde, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7,
0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, 0x9e, 0x59, 0x92,
0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x31, 0x52, 0x37, 0x27, 0x31, 0xa9, 0x18, 0xca,
- 0xd6, 0x2f, 0x33, 0xd5, 0xaf, 0x40, 0xf8, 0xa4, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec,
- 0x7e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0x3e, 0x72, 0x5a, 0x4d, 0x01, 0x00, 0x00,
+ 0xd6, 0x2f, 0x33, 0xd3, 0xaf, 0x40, 0xf8, 0xa4, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec,
+ 0x7e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0xd3, 0x25, 0xa8, 0x4d, 0x01, 0x00, 0x00,
}
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/types/query_profile.go b/x/profiles/types/query_profile.go
index fc8dde61a9..3a015a89f4 100644
--- a/x/profiles/types/query_profile.go
+++ b/x/profiles/types/query_profile.go
@@ -4,7 +4,7 @@ package types
import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
+ sdk "github.com/cosmos/cosmos-sdk/types"
)
// NewQueryProfileRequest returns a new QueryProfileRequest containing the given data
@@ -17,7 +17,7 @@ func NewQueryProfileRequest(user string) *QueryProfileRequest {
// UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (r *QueryProfileResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
if r.Profile != nil {
- var profile authtypes.AccountI
+ var profile sdk.AccountI
return unpacker.UnpackAny(r.Profile, &profile)
}
return nil
diff --git a/x/profiles/types/query_profile.pb.go b/x/profiles/types/query_profile.pb.go
index 4ce39cd197..61c6de0a01 100644
--- a/x/profiles/types/query_profile.pb.go
+++ b/x/profiles/types/query_profile.pb.go
@@ -137,9 +137,9 @@ var fileDescriptor_7c0e029b5401ec84 = []byte{
0x34, 0xaf, 0xc4, 0x33, 0x08, 0x66, 0x8c, 0x93, 0xf7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9,
0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e,
0xcb, 0x31, 0x44, 0x19, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43,
- 0x42, 0x4f, 0x37, 0x27, 0x31, 0xa9, 0x18, 0xca, 0xd6, 0x2f, 0x33, 0xd5, 0xaf, 0x40, 0x04, 0x7b,
+ 0x42, 0x4f, 0x37, 0x27, 0x31, 0xa9, 0x18, 0xca, 0xd6, 0x2f, 0x33, 0xd3, 0xaf, 0x40, 0x04, 0x7b,
0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x15, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff,
- 0xaa, 0xd2, 0x74, 0x9c, 0x96, 0x01, 0x00, 0x00,
+ 0x52, 0x3f, 0x23, 0x6e, 0x96, 0x01, 0x00, 0x00,
}
func (m *QueryProfileRequest) Marshal() (dAtA []byte, err error) {
diff --git a/x/profiles/wasm/common_test.go b/x/profiles/wasm/common_test.go
index 98429ca90e..fefe20ce5c 100644
--- a/x/profiles/wasm/common_test.go
+++ b/x/profiles/wasm/common_test.go
@@ -4,12 +4,15 @@ import (
"encoding/json"
"testing"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -155,12 +158,12 @@ func TestTestSuite(t *testing.T) {
func (suite *TestSuite) SetupTest() {
// Define the store keys
- keys := sdk.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -174,9 +177,10 @@ func (suite *TestSuite) SetupTest() {
suite.ak = authkeeper.NewAccountKeeper(
suite.cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
diff --git a/x/profiles/wasm/msg_parser_test.go b/x/profiles/wasm/msg_parser_test.go
index 613633391f..a56b618fd1 100644
--- a/x/profiles/wasm/msg_parser_test.go
+++ b/x/profiles/wasm/msg_parser_test.go
@@ -5,7 +5,7 @@ import (
"testing"
sdk "github.com/cosmos/cosmos-sdk/types"
- clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"
+ clienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
diff --git a/x/profiles/wasm/querier.go b/x/profiles/wasm/querier.go
index bf855b2846..44900de39b 100644
--- a/x/profiles/wasm/querier.go
+++ b/x/profiles/wasm/querier.go
@@ -60,7 +60,7 @@ func (querier ProfilesWasmQuerier) handleProfileRequest(ctx sdk.Context, request
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.profilesKeeper.Profile(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.profilesKeeper.Profile(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -77,7 +77,7 @@ func (querier ProfilesWasmQuerier) handleIncomingDTagRequest(ctx sdk.Context, re
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.profilesKeeper.IncomingDTagTransferRequests(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.profilesKeeper.IncomingDTagTransferRequests(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -94,7 +94,7 @@ func (querier ProfilesWasmQuerier) handleChainLinksRequest(ctx sdk.Context, requ
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.profilesKeeper.ChainLinks(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.profilesKeeper.ChainLinks(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -112,7 +112,7 @@ func (querier ProfilesWasmQuerier) handleChainLinkOwnersRequest(ctx sdk.Context,
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.profilesKeeper.ChainLinkOwners(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.profilesKeeper.ChainLinkOwners(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -130,7 +130,7 @@ func (querier ProfilesWasmQuerier) handleDefaultExternalAddressesRequest(ctx sdk
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.profilesKeeper.DefaultExternalAddresses(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.profilesKeeper.DefaultExternalAddresses(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -148,7 +148,7 @@ func (querier ProfilesWasmQuerier) handleApplicationLinksRequest(ctx sdk.Context
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.profilesKeeper.ApplicationLinks(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.profilesKeeper.ApplicationLinks(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -166,7 +166,7 @@ func (querier ProfilesWasmQuerier) handleApplicationLinkByClientIDRequest(ctx sd
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
res, err := querier.profilesKeeper.ApplicationLinkByClientID(
- sdk.WrapSDKContext(ctx),
+ ctx,
&req,
)
if err != nil {
@@ -186,7 +186,7 @@ func (querier ProfilesWasmQuerier) handleApplicationLinkOwnersRequest(ctx sdk.Co
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
res, err := querier.profilesKeeper.ApplicationLinkOwners(
- sdk.WrapSDKContext(ctx),
+ ctx,
&req,
)
if err != nil {
diff --git a/x/reactions/client/cli/cli_test.go b/x/reactions/client/cli/cli_test.go
index 6ad58d65fc..db0334e11f 100644
--- a/x/reactions/client/cli/cli_test.go
+++ b/x/reactions/client/cli/cli_test.go
@@ -9,6 +9,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
"github.com/desmos-labs/desmos/v6/app"
cliutils "github.com/desmos-labs/desmos/v6/x/reactions/client/utils"
@@ -541,7 +542,7 @@ func (s *IntegrationTestSuite) TestCmdAddReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -554,7 +555,7 @@ func (s *IntegrationTestSuite) TestCmdAddReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -566,7 +567,7 @@ func (s *IntegrationTestSuite) TestCmdAddReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -579,7 +580,7 @@ func (s *IntegrationTestSuite) TestCmdAddReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -632,7 +633,7 @@ func (s *IntegrationTestSuite) TestGetCmdRemoveReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -643,7 +644,7 @@ func (s *IntegrationTestSuite) TestGetCmdRemoveReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -696,7 +697,7 @@ func (s *IntegrationTestSuite) TestGetCmdAddRegisteredReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -707,7 +708,7 @@ func (s *IntegrationTestSuite) TestGetCmdAddRegisteredReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -761,7 +762,7 @@ func (s *IntegrationTestSuite) TestGetCmdEditRegisteredReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -773,7 +774,7 @@ func (s *IntegrationTestSuite) TestGetCmdEditRegisteredReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -786,7 +787,7 @@ func (s *IntegrationTestSuite) TestGetCmdEditRegisteredReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -839,7 +840,7 @@ func (s *IntegrationTestSuite) TestGetCmdRemoveRegisteredReaction() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -905,7 +906,7 @@ func (s *IntegrationTestSuite) TestCmdSetParams() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/reactions/client/utils/cli.pb.go b/x/reactions/client/utils/cli.pb.go
index 8bff6ca329..56e79efeaa 100644
--- a/x/reactions/client/utils/cli.pb.go
+++ b/x/reactions/client/utils/cli.pb.go
@@ -107,9 +107,9 @@ var fileDescriptor_aecb29e08714fd3f = []byte{
0x09, 0x0e, 0x8b, 0xf8, 0xd2, 0xa0, 0xf2, 0x50, 0xa9, 0xe0, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c,
0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e,
0x3c, 0x96, 0x63, 0x88, 0xb2, 0x4c, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5,
- 0x87, 0x58, 0xa4, 0x9b, 0x93, 0x98, 0x54, 0x0c, 0x65, 0xeb, 0x97, 0x99, 0xea, 0x57, 0x20, 0x05,
+ 0x87, 0x58, 0xa4, 0x9b, 0x93, 0x98, 0x54, 0x0c, 0x65, 0xeb, 0x97, 0x99, 0xe9, 0x57, 0x20, 0x05,
0x27, 0x34, 0xda, 0x4a, 0x4b, 0x32, 0x73, 0x8a, 0x93, 0xd8, 0xc0, 0x41, 0x6a, 0x0c, 0x08, 0x00,
- 0x00, 0xff, 0xff, 0xbe, 0x50, 0xa6, 0x3f, 0xe1, 0x01, 0x00, 0x00,
+ 0x00, 0xff, 0xff, 0xe4, 0xa3, 0x20, 0x52, 0xe1, 0x01, 0x00, 0x00,
}
func (m *SetReactionsParamsJSON) Marshal() (dAtA []byte, err error) {
diff --git a/x/reactions/keeper/alias_functions.go b/x/reactions/keeper/alias_functions.go
index ad3aafd98d..2702567e33 100644
--- a/x/reactions/keeper/alias_functions.go
+++ b/x/reactions/keeper/alias_functions.go
@@ -1,6 +1,7 @@
package keeper
import (
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
@@ -44,7 +45,7 @@ func (k Keeper) GetPost(ctx sdk.Context, subspaceID uint64, postID uint64) (post
// IterateRegisteredReactions iterates over all the registered reactions and performs the provided function
func (k Keeper) IterateRegisteredReactions(ctx sdk.Context, fn func(reaction types.RegisteredReaction) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.RegisteredReactionPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.RegisteredReactionPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -71,7 +72,7 @@ func (k Keeper) GetRegisteredReactions(ctx sdk.Context) []types.RegisteredReacti
// IterateSubspaceRegisteredReactions iterates over all the given subspace registered reactions and performs the provided function
func (k Keeper) IterateSubspaceRegisteredReactions(ctx sdk.Context, subspaceID uint64, fn func(reaction types.RegisteredReaction) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceRegisteredReactionsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceRegisteredReactionsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -100,7 +101,7 @@ func (k Keeper) GetSubspaceRegisteredReactions(ctx sdk.Context, subspaceID uint6
// IterateReactions iterates over all the reactions and performs the provided function
func (k Keeper) IterateReactions(ctx sdk.Context, fn func(reaction types.Reaction) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ReactionPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ReactionPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -127,7 +128,7 @@ func (k Keeper) GetReactions(ctx sdk.Context) []types.Reaction {
// IterateSubspaceReactions iterates over all the given subspace reactions and performs the provided function
func (k Keeper) IterateSubspaceReactions(ctx sdk.Context, subspaceID uint64, fn func(reaction types.Reaction) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceReactionsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceReactionsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -154,7 +155,7 @@ func (k Keeper) GetSubspaceReactions(ctx sdk.Context, subspaceID uint64) []types
// IteratePostReactions iterates over all the given post reactions and performs the provided function
func (k Keeper) IteratePostReactions(ctx sdk.Context, subspaceID uint64, postID uint64, fn func(reaction types.Reaction) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.PostReactionsPrefix(subspaceID, postID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.PostReactionsPrefix(subspaceID, postID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -185,7 +186,7 @@ func (k Keeper) HasReacted(ctx sdk.Context, subspaceID uint64, postID uint64, us
// IterateReactionsParams iterates over all the stored subspace reactions params and performs the provided function
func (k Keeper) IterateReactionsParams(ctx sdk.Context, fn func(params types.SubspaceReactionsParams) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ReactionsParamsPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ReactionsParamsPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
diff --git a/x/reactions/keeper/common_test.go b/x/reactions/keeper/common_test.go
index 2623e7fb26..99aa76589a 100644
--- a/x/reactions/keeper/common_test.go
+++ b/x/reactions/keeper/common_test.go
@@ -6,11 +6,12 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
"github.com/golang/mock/gomock"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
@@ -43,13 +44,13 @@ type KeeperTestSuite struct {
func (suite *KeeperTestSuite) SetupTest() {
// Define the store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/reactions/keeper/grpc_query.go b/x/reactions/keeper/grpc_query.go
index c7bd9b2695..d972ef2a0a 100644
--- a/x/reactions/keeper/grpc_query.go
+++ b/x/reactions/keeper/grpc_query.go
@@ -4,7 +4,7 @@ import (
"context"
"cosmossdk.io/errors"
- "github.com/cosmos/cosmos-sdk/store/prefix"
+ "cosmossdk.io/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
diff --git a/x/reactions/keeper/grpc_query_test.go b/x/reactions/keeper/grpc_query_test.go
index 2d092a6d39..f227f5386c 100644
--- a/x/reactions/keeper/grpc_query_test.go
+++ b/x/reactions/keeper/grpc_query_test.go
@@ -100,7 +100,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Reactions() {
tc.store(ctx)
}
- res, err := suite.k.Reactions(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Reactions(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -165,7 +165,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Reaction() {
tc.store(ctx)
}
- res, err := suite.k.Reaction(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Reaction(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -264,7 +264,7 @@ func (suite *KeeperTestSuite) TestQueryServer_RegisteredReactions() {
tc.store(ctx)
}
- res, err := suite.k.RegisteredReactions(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.RegisteredReactions(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -322,7 +322,7 @@ func (suite *KeeperTestSuite) TestQueryServer_RegisteredReaction() {
tc.store(ctx)
}
- res, err := suite.k.RegisteredReaction(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.RegisteredReaction(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -378,7 +378,7 @@ func (suite *KeeperTestSuite) TestQueryServer_ReactionsParams() {
tc.store(ctx)
}
- res, err := suite.k.ReactionsParams(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.ReactionsParams(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/reactions/keeper/keeper.go b/x/reactions/keeper/keeper.go
index 2f77c5e789..305a64f808 100644
--- a/x/reactions/keeper/keeper.go
+++ b/x/reactions/keeper/keeper.go
@@ -1,9 +1,9 @@
package keeper
import (
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/reactions/types"
diff --git a/x/reactions/keeper/msg_server_test.go b/x/reactions/keeper/msg_server_test.go
index 4be4145ff2..c595a80215 100644
--- a/x/reactions/keeper/msg_server_test.go
+++ b/x/reactions/keeper/msg_server_test.go
@@ -541,7 +541,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AddReaction() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.AddReaction(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.AddReaction(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -805,7 +805,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RemoveReaction() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.RemoveReaction(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.RemoveReaction(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -983,7 +983,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AddRegisteredReaction() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.AddRegisteredReaction(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.AddRegisteredReaction(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1168,7 +1168,7 @@ func (suite *KeeperTestSuite) TestMsgServer_EditRegisteredReaction() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.EditRegisteredReaction(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.EditRegisteredReaction(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1305,7 +1305,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RemoveRegisteredReaction() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.RemoveRegisteredReaction(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.RemoveRegisteredReaction(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1443,7 +1443,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SetReactionsParams() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.SetReactionsParams(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.SetReactionsParams(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/reactions/legacy/v2/store.go b/x/reactions/legacy/v2/store.go
index 900437aa84..01393e5d76 100644
--- a/x/reactions/legacy/v2/store.go
+++ b/x/reactions/legacy/v2/store.go
@@ -1,8 +1,8 @@
package v2
import (
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
diff --git a/x/reactions/legacy/v2/store_test.go b/x/reactions/legacy/v2/store_test.go
index baff771618..944501c347 100644
--- a/x/reactions/legacy/v2/store_test.go
+++ b/x/reactions/legacy/v2/store_test.go
@@ -4,6 +4,8 @@ import (
"testing"
"time"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -11,9 +13,10 @@ import (
profileskeeper "github.com/desmos-labs/desmos/v6/x/profiles/keeper"
profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -31,11 +34,19 @@ func TestMigrateStore(t *testing.T) {
cdc, legacyAminoCdc := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(paramstypes.StoreKey, relationshipstypes.StoreKey, subspacestypes.StoreKey, poststypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
-
- authKeeper := authkeeper.NewAccountKeeper(cdc, keys[authtypes.StoreKey], authtypes.ProtoBaseAccount, app.GetMaccPerms(), "cosmos", authtypes.NewModuleAddress("gov").String())
+ keys := storetypes.NewKVStoreKeys(paramstypes.StoreKey, relationshipstypes.StoreKey, subspacestypes.StoreKey, poststypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+
+ authKeeper := authkeeper.NewAccountKeeper(
+ cdc,
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
+ authtypes.ProtoBaseAccount,
+ app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
+ "cosmos",
+ authtypes.NewModuleAddress("gov").String(),
+ )
sk := subspaceskeeper.NewKeeper(cdc, keys[subspacestypes.StoreKey], nil, nil, "authority")
rk := relationshipskeeper.NewKeeper(cdc, keys[relationshipstypes.StoreKey], sk)
diff --git a/x/reactions/legacy/v3/store.go b/x/reactions/legacy/v3/store.go
index 0b2f3ffd3c..b9e7c5842b 100644
--- a/x/reactions/legacy/v3/store.go
+++ b/x/reactions/legacy/v3/store.go
@@ -1,9 +1,9 @@
package v3
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
@@ -79,7 +79,7 @@ func FixMissingNextReactionIDs(ctx sdk.Context, storeKey storetypes.StoreKey, pk
}
// Get max reaction ID of the post
- iter := sdk.KVStorePrefixIterator(store, types.PostReactionsPrefix(post.SubspaceID, post.ID))
+ iter := storetypes.KVStorePrefixIterator(store, types.PostReactionsPrefix(post.SubspaceID, post.ID))
maxReactionID := uint32(0)
for ; iter.Valid(); iter.Next() {
var reaction types.Reaction
diff --git a/x/reactions/legacy/v3/store_test.go b/x/reactions/legacy/v3/store_test.go
index 83edfc2e1f..c6f11c6b1c 100644
--- a/x/reactions/legacy/v3/store_test.go
+++ b/x/reactions/legacy/v3/store_test.go
@@ -4,6 +4,7 @@ import (
"testing"
"time"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"
@@ -20,7 +21,7 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
// Mocks initializations
ctrl := gomock.NewController(t)
diff --git a/x/reactions/module.go b/x/reactions/module.go
index d44026994f..273d4efaca 100644
--- a/x/reactions/module.go
+++ b/x/reactions/module.go
@@ -8,9 +8,9 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/client"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
@@ -48,7 +48,6 @@ var (
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the reactions module.
@@ -185,16 +184,6 @@ func (AppModule) ConsensusVersion() uint64 {
return consensusVersion
}
-// BeginBlock returns the begin blocker for the reactions module.
-func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {
-}
-
-// EndBlock returns the end blocker for the reactions module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return []abci.ValidatorUpdate{}
-}
-
// --------------------------------------------------------------------------------------------------------------------
// AppModuleSimulation defines the module simulation functions used by the reactions module.
@@ -206,7 +195,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/reactions/simulation/operations.go b/x/reactions/simulation/operations.go
index ab34021fde..1bbdc549fd 100644
--- a/x/reactions/simulation/operations.go
+++ b/x/reactions/simulation/operations.go
@@ -38,42 +38,42 @@ func WeightedOperations(
) sim.WeightedOperations {
var weightMsgAddReaction int
- appParams.GetOrGenerate(cdc, OpWeightMsgAddReaction, &weightMsgAddReaction, nil,
+ appParams.GetOrGenerate(OpWeightMsgAddReaction, &weightMsgAddReaction, nil,
func(_ *rand.Rand) {
weightMsgAddReaction = params.DefaultWeightMsgAddReaction
},
)
var weightMsgRemoveReaction int
- appParams.GetOrGenerate(cdc, OpWeightMsgRemoveReaction, &weightMsgRemoveReaction, nil,
+ appParams.GetOrGenerate(OpWeightMsgRemoveReaction, &weightMsgRemoveReaction, nil,
func(_ *rand.Rand) {
weightMsgRemoveReaction = params.DefaultWeightMsgRemoveReaction
},
)
var weightMsgAddRegisteredReaction int
- appParams.GetOrGenerate(cdc, OpWeightMsgAddRegisteredReaction, &weightMsgAddRegisteredReaction, nil,
+ appParams.GetOrGenerate(OpWeightMsgAddRegisteredReaction, &weightMsgAddRegisteredReaction, nil,
func(_ *rand.Rand) {
weightMsgAddRegisteredReaction = params.DefaultWeightMsgAddRegisteredReaction
},
)
var weightMsgEditRegisteredReaction int
- appParams.GetOrGenerate(cdc, OpWeightMsgEditRegisteredReaction, &weightMsgEditRegisteredReaction, nil,
+ appParams.GetOrGenerate(OpWeightMsgEditRegisteredReaction, &weightMsgEditRegisteredReaction, nil,
func(_ *rand.Rand) {
weightMsgEditRegisteredReaction = params.DefaultWeightMsgEditRegisteredReaction
},
)
var weightMsgRemoveRegisteredReaction int
- appParams.GetOrGenerate(cdc, OpWeightMsgRemoveRegisteredReaction, &weightMsgRemoveRegisteredReaction, nil,
+ appParams.GetOrGenerate(OpWeightMsgRemoveRegisteredReaction, &weightMsgRemoveRegisteredReaction, nil,
func(_ *rand.Rand) {
weightMsgRemoveRegisteredReaction = params.DefaultWeightMsgRemoveRegisteredReaction
},
)
var weightMsgSetReactionsParams int
- appParams.GetOrGenerate(cdc, OpWeightMsgSetReactionsParams, &weightMsgSetReactionsParams, nil,
+ appParams.GetOrGenerate(OpWeightMsgSetReactionsParams, &weightMsgSetReactionsParams, nil,
func(_ *rand.Rand) {
weightMsgSetReactionsParams = params.DefaultWeightMsgSetReactionsParams
},
diff --git a/x/reactions/types/codec.go b/x/reactions/types/codec.go
index ec8479ca62..28b15e7e40 100644
--- a/x/reactions/types/codec.go
+++ b/x/reactions/types/codec.go
@@ -4,10 +4,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
)
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
@@ -42,25 +40,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCdc references the global x/reactions module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/reactions and
- // defined at the application level.
- AminoCdc = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-}
diff --git a/x/reactions/types/genesis.pb.go b/x/reactions/types/genesis.pb.go
index f7320ef90a..108ef019cf 100644
--- a/x/reactions/types/genesis.pb.go
+++ b/x/reactions/types/genesis.pb.go
@@ -227,34 +227,34 @@ var fileDescriptor_81b04d309ae6ac6f = []byte{
// 481 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x8b, 0xd3, 0x40,
0x18, 0x87, 0x3b, 0xdb, 0x5a, 0xed, 0xbb, 0x76, 0x75, 0xb3, 0x45, 0xc2, 0x82, 0x49, 0xad, 0xa0,
- 0x45, 0x34, 0xc3, 0xae, 0x78, 0xf1, 0x18, 0xaa, 0x12, 0x58, 0x64, 0xc9, 0x5e, 0xc4, 0x4b, 0x99,
- 0x34, 0x43, 0x0c, 0x6c, 0x3a, 0x61, 0x66, 0xb6, 0xb8, 0xdf, 0xc2, 0xa3, 0x27, 0xe9, 0xd1, 0xa3,
- 0x1f, 0x63, 0x8f, 0x05, 0x2f, 0x9e, 0x8a, 0xa4, 0x07, 0xfd, 0x18, 0x92, 0xc9, 0x9f, 0x46, 0x12,
- 0x85, 0xbd, 0x84, 0x61, 0xde, 0xf7, 0x7d, 0xe6, 0xc9, 0xfc, 0x18, 0x78, 0xe0, 0x53, 0x11, 0x31,
- 0x81, 0x39, 0x25, 0x33, 0x19, 0xb2, 0xb9, 0xc0, 0x8b, 0x23, 0x1c, 0xd0, 0x39, 0x15, 0xa1, 0xb0,
- 0x62, 0xce, 0x24, 0xd3, 0x0e, 0xb2, 0x16, 0xab, 0x6c, 0xb1, 0x16, 0x47, 0x87, 0xfb, 0x24, 0x0a,
- 0xe7, 0x0c, 0xab, 0x6f, 0xd6, 0x77, 0x38, 0x08, 0x58, 0xc0, 0xd4, 0x12, 0xa7, 0xab, 0x7c, 0x77,
- 0xd8, 0x74, 0x40, 0xc4, 0x7c, 0x7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18, 0xe8, 0x67, 0x62, 0xa0, 0x4f, 0x1b, 0xa3, 0xb5, 0xda, 0x18, 0xad, 0x1f, 0x1b,
+ 0xa3, 0xf5, 0xfe, 0x38, 0x08, 0xe5, 0x87, 0x0b, 0xcf, 0x9a, 0xb1, 0x08, 0x67, 0xd9, 0x3d, 0x3b,
+ 0x27, 0x9e, 0xc8, 0xd7, 0x78, 0xf1, 0x02, 0x7f, 0xac, 0xbc, 0x38, 0x79, 0x19, 0x53, 0xe1, 0x75,
+ 0xd5, 0x73, 0x7b, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0x34, 0x52, 0xce, 0x38, 0xf3, 0x03, 0x00,
0x00,
}
diff --git a/x/reactions/types/models.pb.go b/x/reactions/types/models.pb.go
index 3e4744fa9c..d435d85559 100644
--- a/x/reactions/types/models.pb.go
+++ b/x/reactions/types/models.pb.go
@@ -465,56 +465,56 @@ func init() {
func init() { proto.RegisterFile("desmos/reactions/v1/models.proto", fileDescriptor_b88c682704b8a018) }
var fileDescriptor_b88c682704b8a018 = []byte{
- // 783 bytes of a gzipped FileDescriptorProto
+ // 784 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcf, 0x6f, 0xe3, 0x44,
0x14, 0x8e, 0xbd, 0x6d, 0x36, 0x99, 0x6c, 0x16, 0x3a, 0xc9, 0xb2, 0xd9, 0x8a, 0xc6, 0x61, 0x16,
- 0x89, 0x80, 0x88, 0xad, 0x0d, 0xf4, 0x40, 0x25, 0x24, 0x6a, 0x58, 0xa4, 0x4a, 0x7b, 0xa8, 0x5c,
- 0x04, 0x12, 0x17, 0x6b, 0x92, 0x99, 0x3a, 0x96, 0x6c, 0x4f, 0xe4, 0x71, 0xa2, 0xe4, 0x6f, 0x80,
- 0x03, 0x47, 0x8e, 0x3d, 0x72, 0x41, 0xe2, 0xd0, 0x0b, 0xff, 0x41, 0xc5, 0xa9, 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al(that interface{}) bool {
diff --git a/x/reactions/types/msgs.go b/x/reactions/types/msgs.go
index 9e299e9241..df9aa82fd5 100644
--- a/x/reactions/types/msgs.go
+++ b/x/reactions/types/msgs.go
@@ -66,11 +66,6 @@ func (msg *MsgAddReaction) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgAddReaction) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgAddReaction) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.User)
@@ -123,11 +118,6 @@ func (msg *MsgRemoveReaction) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgRemoveReaction) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgRemoveReaction) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.User)
@@ -179,11 +169,6 @@ func (msg *MsgAddRegisteredReaction) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgAddRegisteredReaction) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgAddRegisteredReaction) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.User)
@@ -244,11 +229,6 @@ func (msg *MsgEditRegisteredReaction) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgEditRegisteredReaction) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgEditRegisteredReaction) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.User)
@@ -297,11 +277,6 @@ func (msg *MsgRemoveRegisteredReaction) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgRemoveRegisteredReaction) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgRemoveRegisteredReaction) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.User)
@@ -353,11 +328,6 @@ func (msg *MsgSetReactionsParams) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgSetReactionsParams) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgSetReactionsParams) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.User)
diff --git a/x/reactions/types/msgs.pb.go b/x/reactions/types/msgs.pb.go
index 1314b6364a..094efa16dd 100644
--- a/x/reactions/types/msgs.pb.go
+++ b/x/reactions/types/msgs.pb.go
@@ -739,65 +739,65 @@ func init() { proto.RegisterFile("desmos/reactions/v1/msgs.proto", fileDescripto
var fileDescriptor_de4e0bd9e58b59f1 = []byte{
// 962 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4f, 0x8f, 0xdb, 0x44,
- 0x14, 0x5f, 0x27, 0xbb, 0x0b, 0x3b, 0xe9, 0xae, 0xa8, 0x9b, 0x5d, 0xb2, 0x6e, 0x37, 0x4e, 0x27,
- 0xd0, 0x46, 0x41, 0xb1, 0xdb, 0xa0, 0x20, 0x28, 0x42, 0x62, 0x03, 0x45, 0x8a, 0x44, 0xa4, 0xca,
- 0x8b, 0x7a, 0xe0, 0x62, 0x39, 0x99, 0x59, 0xc7, 0x52, 0x9c, 0x89, 0x3c, 0x4e, 0xb4, 0x39, 0x20,
- 0x55, 0x1c, 0x38, 0x20, 0x0e, 0x48, 0x7c, 0x09, 0x8e, 0x7b,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xe3, 0x5d, 0x84, 0x0b, 0x07, 0x97, 0x82, 0x07, 0xee,
+ 0x9f, 0x72, 0x60, 0x37, 0xe1, 0x2b, 0x94, 0x98, 0x49, 0x3c, 0x5e, 0x78, 0x70, 0x39, 0x7c, 0x10,
+ 0xc2, 0xb7, 0x1c, 0xc8, 0x27, 0xde, 0x8f, 0xf7, 0xfe, 0x8d, 0xce, 0x48, 0x18, 0x1f, 0x5c, 0x56,
+ 0x23, 0x08, 0xc4, 0x06, 0x7c, 0xcc, 0xcd, 0x51, 0x49, 0xb2, 0x17, 0xc5, 0x0a, 0xb5, 0x8b, 0x63,
+ 0x7d, 0xaf, 0xc2, 0xc6, 0xd3, 0xe9, 0xb8, 0xd5, 0xbf, 0x78, 0x3e, 0x2e, 0x70, 0x2f, 0xc6, 0x05,
+ 0xee, 0xef, 0x71, 0x81, 0xfb, 0xe1, 0xac, 0xb0, 0xf6, 0xe2, 0xac, 0xb0, 0xf6, 0xf2, 0xac, 0xb0,
+ 0xf6, 0x55, 0x4d, 0x37, 0xec, 0xce, 0xa0, 0x25, 0xb5, 0x89, 0x29, 0x7b, 0xe6, 0xab, 0x5d, 0xad,
+ 0x45, 0xd9, 0x5a, 0x1e, 0x3e, 0x90, 0x4f, 0xe6, 0xfe, 0x64, 0xd9, 0xa3, 0x3e, 0xa6, 0xad, 0x4d,
+ 0xf7, 0x2f, 0xcb, 0xfb, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x5e, 0x04, 0xc5, 0x44, 0x32, 0x0e,
0x00, 0x00,
}
diff --git a/x/reactions/types/msgs_test.go b/x/reactions/types/msgs_test.go
index 073dd80996..d928f24116 100644
--- a/x/reactions/types/msgs_test.go
+++ b/x/reactions/types/msgs_test.go
@@ -89,11 +89,6 @@ func TestMsgAddReaction_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAddReaction_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAddReaction","value":{"post_id":"1","subspace_id":"1","user":"cosmos1qewk97fp49vzssrfnc997jpztc5nzr7xsd8zdc","value":{"type":"desmos/RegisteredReactionValue","value":{"registered_reaction_id":1}}}}`
- require.Equal(t, expected, string(msgAddReaction.GetSignBytes()))
-}
-
func TestMsgAddReaction_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAddReaction.User)
require.Equal(t, []sdk.AccAddress{addr}, msgAddReaction.GetSigners())
@@ -181,11 +176,6 @@ func TestMsgRemoveReaction_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRemoveReaction_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRemoveReaction","value":{"post_id":"1","reaction_id":1,"subspace_id":"1","user":"cosmos1qewk97fp49vzssrfnc997jpztc5nzr7xsd8zdc"}}`
- require.Equal(t, expected, string(msgRemoveReaction.GetSignBytes()))
-}
-
func TestMsgRemoveReaction_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRemoveReaction.User)
require.Equal(t, []sdk.AccAddress{addr}, msgRemoveReaction.GetSigners())
@@ -273,11 +263,6 @@ func TestMsgAddRegisteredReaction_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAddRegisteredReaction_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAddRegisteredReaction","value":{"display_value":"https://example.com?images=hello.png","shorthand_code":":hello:","subspace_id":"1","user":"cosmos1qewk97fp49vzssrfnc997jpztc5nzr7xsd8zdc"}}`
- require.Equal(t, expected, string(msgAddRegisteredReaction.GetSignBytes()))
-}
-
func TestMsgAddRegisteredReaction_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAddRegisteredReaction.User)
require.Equal(t, []sdk.AccAddress{addr}, msgAddRegisteredReaction.GetSigners())
@@ -381,11 +366,6 @@ func TestMsgEditRegisteredReaction_ValidateBasic(t *testing.T) {
}
}
-func TestMsgEditRegisteredReaction_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgEditRegisteredReaction","value":{"display_value":"https://example.com?images=hello.png","registered_reaction_id":1,"shorthand_code":":hello:","subspace_id":"1","user":"cosmos1qewk97fp49vzssrfnc997jpztc5nzr7xsd8zdc"}}`
- require.Equal(t, expected, string(msgEditRegisteredReaction.GetSignBytes()))
-}
-
func TestMsgEditRegisteredReaction_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgEditRegisteredReaction.User)
require.Equal(t, []sdk.AccAddress{addr}, msgEditRegisteredReaction.GetSigners())
@@ -459,11 +439,6 @@ func TestMsgRemoveRegisteredReaction_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRemoveRegisteredReaction_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRemoveRegisteredReaction","value":{"registered_reaction_id":1,"subspace_id":"1","user":"cosmos1qewk97fp49vzssrfnc997jpztc5nzr7xsd8zdc"}}`
- require.Equal(t, expected, string(msgRemoveRegisteredReaction.GetSignBytes()))
-}
-
func TestMsgRemoveRegisteredReaction_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRemoveRegisteredReaction.User)
require.Equal(t, []sdk.AccAddress{addr}, msgRemoveRegisteredReaction.GetSigners())
@@ -541,11 +516,6 @@ func TestMsgSetReactionsParams_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSetReactionsParams_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgSetReactionsParams","value":{"free_text":{"enabled":true,"max_length":100,"reg_ex":"[a-zA-Z]"},"registered_reaction":{"enabled":true},"subspace_id":"1","user":"cosmos1qewk97fp49vzssrfnc997jpztc5nzr7xsd8zdc"}}`
- require.Equal(t, expected, string(msgSetReactionsParams.GetSignBytes()))
-}
-
func TestMsgSetReactionsParams_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgSetReactionsParams.User)
require.Equal(t, []sdk.AccAddress{addr}, msgSetReactionsParams.GetSigners())
diff --git a/x/reactions/types/query.pb.go b/x/reactions/types/query.pb.go
index a957290ee3..14bb18abfb 100644
--- a/x/reactions/types/query.pb.go
+++ b/x/reactions/types/query.pb.go
@@ -592,56 +592,56 @@ func init() {
func init() { proto.RegisterFile("desmos/reactions/v1/query.proto", fileDescriptor_a605cb95b392783f) }
var fileDescriptor_a605cb95b392783f = []byte{
- // 779 bytes of a gzipped FileDescriptorProto
+ // 781 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6b, 0x13, 0x4d,
- 0x18, 0xce, 0xa4, 0xfd, 0xda, 0xe6, 0x0d, 0x1f, 0x1f, 0xdf, 0x24, 0x6a, 0x8c, 0x35, 0x09, 0x39,
- 0xd8, 0x18, 0xdb, 0x1d, 0x93, 0xb6, 0x27, 0x41, 0x68, 0x95, 0x6a, 0x40, 0x6c, 0x9b, 0x8a, 0x82,
- 0x28, 0x65, 0x93, 0x1d, 0xd6, 0x85, 0x66, 0x67, 0xbb, 0xb3, 0x09, 0x96, 0xd2, 0x8b, 0x07, 0x0f,
- 0x9e, 0x04, 0xff, 0x09, 0xbd, 0x09, 0xf6, 0xee, 0xd1, 0x5e, 0x84, 0x52, 0x2f, 0x3d, 0x89, 0xb6,
- 0x82, 0xff, 0x86, 0xec, 0xee, 0x6c, 0x7e, 0x6c, 0x36, 0x36, 0xdb, 0xf6, 0x12, 0x76, 0x66, 0xde,
- 0x1f, 0xcf, 0xf3, 0xcc, 0x33, 0x2f, 0x81, 0xac, 0x42, 0x79, 0x83, 0x71, 0x62, 0x52, 0xb9, 0x6e,
- 0x69, 0x4c, 0xe7, 0xa4, 0x55, 0x22, 0x9b, 0x4d, 0x6a, 0x6e, 0x49, 0x86, 0xc9, 0x2c, 0x86, 0x13,
- 0x6e, 0x80, 0xd4, 0x0e, 0x90, 0x5a, 0xa5, 0xf4, 0xff, 0x72, 0x43, 0xd3, 0x19, 0x71, 0x7e, 0xdd,
- 0xb8, 0x74, 0x52, 0x65, 0x2a, 0x73, 0x3e, 0x89, 0xfd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 0x99, 0xce, 0x8d, 0x1c,
+ 0x22, 0xc0, 0xfd, 0xad, 0xf0, 0x6c, 0x18, 0x60, 0x1e, 0x9b, 0xb9, 0x70, 0x49, 0x82, 0xcc, 0x63,
+ 0x87, 0xcc, 0x2a, 0x5e, 0x3e, 0x33, 0x19, 0xdf, 0x55, 0x7d, 0x44, 0xf0, 0x8f, 0xef, 0x51, 0xe1,
+ 0xeb, 0x43, 0xb8, 0xbf, 0x67, 0x0a, 0xa4, 0x4b, 0x21, 0x32, 0x04, 0xa3, 0x9b, 0x0e, 0xa3, 0x79,
+ 0x3c, 0x1b, 0xce, 0x81, 0xee, 0xb3, 0xbf, 0xbf, 0x77, 0x94, 0x41, 0xfb, 0x47, 0x19, 0xf4, 0xfd,
+ 0x28, 0x83, 0xde, 0x1c, 0x67, 0x22, 0xfb, 0xc7, 0x99, 0xc8, 0xe1, 0x71, 0x26, 0xf2, 0xa4, 0xac,
+ 0x6a, 0xd6, 0xf3, 0x66, 0x4d, 0xaa, 0xb3, 0x86, 0x28, 0x3c, 0xb3, 0x21, 0xd7, 0xb8, 0xd7, 0xa4,
+ 0x75, 0x83, 0xbc, 0xe8, 0xea, 0x64, 0x6d, 0x19, 0x94, 0xd7, 0xc6, 0x9c, 0x3f, 0x60, 0xb3, 0xbf,
+ 0x03, 0x00, 0x00, 0xff, 0xff, 0x38, 0x8d, 0x88, 0x29, 0x68, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/reactions/wasm/common_test.go b/x/reactions/wasm/common_test.go
index 17122b482a..610d7de265 100644
--- a/x/reactions/wasm/common_test.go
+++ b/x/reactions/wasm/common_test.go
@@ -4,12 +4,13 @@ import (
"encoding/json"
"testing"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
@@ -97,13 +98,13 @@ type Testsuite struct {
func (suite *Testsuite) SetupTest() {
// Define the store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/reactions/wasm/querier.go b/x/reactions/wasm/querier.go
index cc57d29f08..912dfeaa45 100644
--- a/x/reactions/wasm/querier.go
+++ b/x/reactions/wasm/querier.go
@@ -52,7 +52,7 @@ func (querier ReactionsWasmQuerier) handleReactionsRequest(ctx sdk.Context, data
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reactionskeeper.Reactions(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reactionskeeper.Reactions(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -65,7 +65,7 @@ func (querier ReactionsWasmQuerier) handleReactionRequest(ctx sdk.Context, data
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reactionskeeper.Reaction(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reactionskeeper.Reaction(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -78,7 +78,7 @@ func (querier ReactionsWasmQuerier) handleRegisteredReactionsRequest(ctx sdk.Con
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reactionskeeper.RegisteredReactions(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reactionskeeper.RegisteredReactions(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -91,7 +91,7 @@ func (querier ReactionsWasmQuerier) handleRegisteredReactionRequest(ctx sdk.Cont
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reactionskeeper.RegisteredReaction(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reactionskeeper.RegisteredReaction(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -104,7 +104,7 @@ func (querier ReactionsWasmQuerier) handleReactionsParamsRequest(ctx sdk.Context
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reactionskeeper.ReactionsParams(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reactionskeeper.ReactionsParams(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
diff --git a/x/relationships/client/cli/cli_test.go b/x/relationships/client/cli/cli_test.go
index 5434b33318..b4caed926a 100644
--- a/x/relationships/client/cli/cli_test.go
+++ b/x/relationships/client/cli/cli_test.go
@@ -8,6 +8,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
@@ -333,7 +334,7 @@ func (s *IntegrationTestSuite) TestCmdCreateRelationship() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -402,7 +403,7 @@ func (s *IntegrationTestSuite) TestCmdDeleteRelationship() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -471,7 +472,7 @@ func (s *IntegrationTestSuite) TestCmdBlockUser() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -485,7 +486,7 @@ func (s *IntegrationTestSuite) TestCmdBlockUser() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -554,7 +555,7 @@ func (s *IntegrationTestSuite) TestCmdUnblockUser() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -567,7 +568,7 @@ func (s *IntegrationTestSuite) TestCmdUnblockUser() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/relationships/keeper/alias_functions.go b/x/relationships/keeper/alias_functions.go
index 575d5862f7..d974ff86ae 100644
--- a/x/relationships/keeper/alias_functions.go
+++ b/x/relationships/keeper/alias_functions.go
@@ -1,6 +1,7 @@
package keeper
import (
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/relationships/types"
@@ -10,7 +11,7 @@ import (
func (k Keeper) IterateRelationships(ctx sdk.Context, fn func(index int64, relationship types.Relationship) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.RelationshipsStorePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.RelationshipsStorePrefix)
defer iterator.Close()
i := int64(0)
@@ -32,7 +33,7 @@ func (k Keeper) IterateRelationships(ctx sdk.Context, fn func(index int64, relat
func (k Keeper) IterateSubspaceRelationships(ctx sdk.Context, subspaceID uint64, fn func(index int64, relationship types.Relationship) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceRelationshipsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceRelationshipsPrefix(subspaceID))
defer iterator.Close()
i := int64(0)
@@ -50,7 +51,7 @@ func (k Keeper) IterateSubspaceRelationships(ctx sdk.Context, subspaceID uint64,
// IterateUsersBlocks iterates through the list of user blocks and performs the given function
func (k Keeper) IterateUsersBlocks(ctx sdk.Context, fn func(index int64, block types.UserBlock) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.UsersBlocksStorePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.UsersBlocksStorePrefix)
defer iterator.Close()
i := int64(0)
@@ -67,7 +68,7 @@ func (k Keeper) IterateUsersBlocks(ctx sdk.Context, fn func(index int64, block t
// IterateSubspaceUsersBlocks iterates through the list of user blocks stored for a subspace and performs the given function
func (k Keeper) IterateSubspaceUsersBlocks(ctx sdk.Context, subspaceID uint64, fn func(index int64, block types.UserBlock) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceBlocksPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceBlocksPrefix(subspaceID))
defer iterator.Close()
i := int64(0)
diff --git a/x/relationships/keeper/common_test.go b/x/relationships/keeper/common_test.go
index 5a562847b4..d30a36be82 100644
--- a/x/relationships/keeper/common_test.go
+++ b/x/relationships/keeper/common_test.go
@@ -7,11 +7,12 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
@@ -40,13 +41,13 @@ type KeeperTestSuite struct {
func (suite *KeeperTestSuite) SetupTest() {
// Define the store keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/relationships/keeper/grpc_query.go b/x/relationships/keeper/grpc_query.go
index 5a944d672e..8066e8955c 100644
--- a/x/relationships/keeper/grpc_query.go
+++ b/x/relationships/keeper/grpc_query.go
@@ -3,7 +3,7 @@ package keeper
import (
"context"
- "github.com/cosmos/cosmos-sdk/store/prefix"
+ "cosmossdk.io/store/prefix"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
diff --git a/x/relationships/keeper/grpc_query_test.go b/x/relationships/keeper/grpc_query_test.go
index 8a42af37aa..fa6fbda2d6 100644
--- a/x/relationships/keeper/grpc_query_test.go
+++ b/x/relationships/keeper/grpc_query_test.go
@@ -141,7 +141,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Relationships() {
tc.store(ctx)
}
- res, err := suite.k.Relationships(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Relationships(ctx, tc.req)
suite.Require().NoError(err)
suite.Require().NotNil(res)
suite.Require().Equal(tc.expRelationships, res.Relationships)
@@ -298,7 +298,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Blocks() {
tc.store(ctx)
}
- res, err := suite.k.Blocks(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Blocks(ctx, tc.req)
suite.Require().NoError(err)
suite.Require().NotNil(res)
suite.Require().Equal(tc.expBlocks, res.Blocks)
diff --git a/x/relationships/keeper/keeper.go b/x/relationships/keeper/keeper.go
index 1a6827c509..bf5746cf87 100644
--- a/x/relationships/keeper/keeper.go
+++ b/x/relationships/keeper/keeper.go
@@ -1,9 +1,9 @@
package keeper
import (
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/relationships/types"
diff --git a/x/relationships/keeper/msg_server_test.go b/x/relationships/keeper/msg_server_test.go
index 064d2546ca..003b6573b6 100644
--- a/x/relationships/keeper/msg_server_test.go
+++ b/x/relationships/keeper/msg_server_test.go
@@ -111,7 +111,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateRelationship() {
}
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.CreateRelationship(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.CreateRelationship(ctx, tc.msg)
if tc.shouldErr {
suite.Error(err)
@@ -209,7 +209,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeleteRelationship() {
}
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.DeleteRelationship(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.DeleteRelationship(ctx, tc.msg)
if tc.shouldErr {
suite.Error(err)
@@ -312,7 +312,7 @@ func (suite *KeeperTestSuite) TestMsgServer_BlockUser() {
}
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.BlockUser(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.BlockUser(ctx, tc.msg)
if tc.shouldErr {
suite.Error(err)
@@ -412,7 +412,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UnblockUser() {
}
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.UnblockUser(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.UnblockUser(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/relationships/legacy/v1/store.go b/x/relationships/legacy/v1/store.go
index 9e9d10c660..f51fd7513b 100644
--- a/x/relationships/legacy/v1/store.go
+++ b/x/relationships/legacy/v1/store.go
@@ -1,8 +1,8 @@
package v1
import (
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
@@ -37,7 +37,7 @@ func MigrateStore(ctx sdk.Context, pk profilesv4.Keeper, relationshipsStoreKey s
}
// migrateUserBlocks migrates the user blocks stored to the new type, converting the subspace from string to uint64
-func migrateUserBlocks(ctx sdk.Context, pk profilesv4.Keeper, store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateUserBlocks(ctx sdk.Context, pk profilesv4.Keeper, store storetypes.KVStore, cdc codec.BinaryCodec) error {
for _, v230Block := range pk.GetBlocks(ctx) {
// Get the subspace id
subspaceID, err := subspacestypes.ParseSubspaceID(v230Block.SubspaceID)
@@ -60,7 +60,7 @@ func migrateUserBlocks(ctx sdk.Context, pk profilesv4.Keeper, store sdk.KVStore,
}
// migrateRelationships migrates the relationships stored to the new type, converting the subspace from string to uint64
-func migrateRelationships(ctx sdk.Context, pk profilesv4.Keeper, store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateRelationships(ctx sdk.Context, pk profilesv4.Keeper, store storetypes.KVStore, cdc codec.BinaryCodec) error {
for _, v230Relationship := range pk.GetRelationships(ctx) {
// Get the subspace id
subspaceID, err := subspacestypes.ParseSubspaceID(v230Relationship.SubspaceID)
diff --git a/x/relationships/legacy/v1/store_test.go b/x/relationships/legacy/v1/store_test.go
index ae7a56bffe..3292e35b5b 100644
--- a/x/relationships/legacy/v1/store_test.go
+++ b/x/relationships/legacy/v1/store_test.go
@@ -5,6 +5,7 @@ import (
v4types "github.com/desmos-labs/desmos/v6/x/profiles/legacy/v4/types"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -17,7 +18,7 @@ import (
func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
- storeKey := sdk.NewKVStoreKey(types.StoreKey)
+ storeKey := storetypes.NewKVStoreKey(types.StoreKey)
testCases := []struct {
name string
store func(ctx sdk.Context)
@@ -83,7 +84,7 @@ func TestMigrateStore(t *testing.T) {
for _, tc := range testCases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
- ctx := testutil.DefaultContext(storeKey, sdk.NewTransientStoreKey("test"))
+ ctx := testutil.DefaultContext(storeKey, storetypes.NewTransientStoreKey("test"))
if tc.store != nil {
tc.store(ctx)
}
diff --git a/x/relationships/legacy/v2/store.go b/x/relationships/legacy/v2/store.go
index c591765de7..e27fe4a53c 100644
--- a/x/relationships/legacy/v2/store.go
+++ b/x/relationships/legacy/v2/store.go
@@ -1,9 +1,9 @@
package v2
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
v1 "github.com/desmos-labs/desmos/v6/x/relationships/legacy/v1"
@@ -32,7 +32,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
}
// migrateRelationships migrates all the relationships from using the old key to using the new key
-func migrateRelationships(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateRelationships(store storetypes.KVStore, cdc codec.BinaryCodec) error {
prefixStore := prefix.NewStore(store, v1.RelationshipsStorePrefix)
iterator := prefixStore.Iterator(nil, nil)
@@ -68,7 +68,7 @@ func migrateRelationships(store sdk.KVStore, cdc codec.BinaryCodec) error {
}
// migrateUserBlocks migrates all the user blocks from using the old key to using the new key
-func migrateUserBlocks(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateUserBlocks(store storetypes.KVStore, cdc codec.BinaryCodec) error {
prefixStore := prefix.NewStore(store, v1.UsersBlocksStorePrefix)
iterator := prefixStore.Iterator(nil, nil)
diff --git a/x/relationships/legacy/v2/store_test.go b/x/relationships/legacy/v2/store_test.go
index 0829dddf44..739fd8afc7 100644
--- a/x/relationships/legacy/v2/store_test.go
+++ b/x/relationships/legacy/v2/store_test.go
@@ -5,6 +5,7 @@ import (
v2 "github.com/desmos-labs/desmos/v6/x/relationships/legacy/v2"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -16,7 +17,7 @@ import (
func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
- storeKey := sdk.NewKVStoreKey(types.StoreKey)
+ storeKey := storetypes.NewKVStoreKey(types.StoreKey)
testCases := []struct {
name string
store func(ctx sdk.Context)
@@ -96,7 +97,7 @@ func TestMigrateStore(t *testing.T) {
for _, tc := range testCases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
- ctx := testutil.DefaultContext(storeKey, sdk.NewTransientStoreKey("test"))
+ ctx := testutil.DefaultContext(storeKey, storetypes.NewTransientStoreKey("test"))
if tc.store != nil {
tc.store(ctx)
}
diff --git a/x/relationships/module.go b/x/relationships/module.go
index 7a50f51341..75dbf15c5b 100644
--- a/x/relationships/module.go
+++ b/x/relationships/module.go
@@ -8,9 +8,9 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/client"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
@@ -44,7 +44,6 @@ var (
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the relationships module.
@@ -170,16 +169,6 @@ func (AppModule) ConsensusVersion() uint64 {
return consensusVersion
}
-// BeginBlock returns the begin blocker for the relationships module.
-func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {
-}
-
-// EndBlock returns the end blocker for the relationships module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return []abci.ValidatorUpdate{}
-}
-
// --------------------------------------------------------------------------------------------------------------------
// AppModuleSimulation defines the module simulation functions used by the relationships module.
@@ -191,7 +180,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/relationships/simulation/operations.go b/x/relationships/simulation/operations.go
index 8a8c477785..2b8083844c 100644
--- a/x/relationships/simulation/operations.go
+++ b/x/relationships/simulation/operations.go
@@ -35,28 +35,28 @@ func WeightedOperations(
k keeper.Keeper, sk types.SubspacesKeeper, ak authkeeper.AccountKeeper, bk bankkeeper.Keeper,
) sim.WeightedOperations {
var weightMsgCreateRelationship int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreateRelationship, &weightMsgCreateRelationship, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreateRelationship, &weightMsgCreateRelationship, nil,
func(_ *rand.Rand) {
weightMsgCreateRelationship = params.DefaultWeightMsgCreateRelationship
},
)
var weightMsgDeleteRelationship int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeleteRelationship, &weightMsgDeleteRelationship, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeleteRelationship, &weightMsgDeleteRelationship, nil,
func(_ *rand.Rand) {
weightMsgDeleteRelationship = params.DefaultWeightMsgDeleteRelationship
},
)
var weightMsgBlockUser int
- appParams.GetOrGenerate(cdc, OpWeightMsgBlockUser, &weightMsgBlockUser, nil,
+ appParams.GetOrGenerate(OpWeightMsgBlockUser, &weightMsgBlockUser, nil,
func(_ *rand.Rand) {
weightMsgBlockUser = params.DefaultWeightMsgBlockUser
},
)
var weightMsgUnblockUser int
- appParams.GetOrGenerate(cdc, OpWeightMsgUnBlockUser, &weightMsgUnblockUser, nil,
+ appParams.GetOrGenerate(OpWeightMsgUnBlockUser, &weightMsgUnblockUser, nil,
func(_ *rand.Rand) {
weightMsgBlockUser = params.DefaultWeightMsgUnblockUser
},
diff --git a/x/relationships/types/codec.go b/x/relationships/types/codec.go
index 53277d2052..1af66a2df4 100644
--- a/x/relationships/types/codec.go
+++ b/x/relationships/types/codec.go
@@ -4,10 +4,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
)
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
@@ -27,25 +25,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCdc references the global x/relationships module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/relationships and
- // defined at the application level.
- AminoCdc = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-}
diff --git a/x/relationships/types/genesis.pb.go b/x/relationships/types/genesis.pb.go
index bcb3f37575..48eb4320dc 100644
--- a/x/relationships/types/genesis.pb.go
+++ b/x/relationships/types/genesis.pb.go
@@ -88,9 +88,9 @@ var fileDescriptor_4d7b018c2a5c3e4d = []byte{
0xf1, 0x50, 0xd3, 0xac, 0x58, 0x3a, 0x16, 0xc8, 0x33, 0x38, 0x05, 0x9c, 0x78, 0x24, 0xc7, 0x78,
0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7,
0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x59, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e,
- 0xae, 0x3e, 0xc4, 0x46, 0xdd, 0x9c, 0xc4, 0xa4, 0x62, 0x28, 0x5b, 0xbf, 0xcc, 0x54, 0xbf, 0x02,
+ 0xae, 0x3e, 0xc4, 0x46, 0xdd, 0x9c, 0xc4, 0xa4, 0x62, 0x28, 0x5b, 0xbf, 0xcc, 0x4c, 0xbf, 0x02,
0x2d, 0xe8, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xe1, 0x66, 0x0c, 0x08, 0x00, 0x00,
- 0xff, 0xff, 0xab, 0xac, 0x30, 0x5f, 0xc8, 0x01, 0x00, 0x00,
+ 0xff, 0xff, 0xd8, 0x95, 0x18, 0x4c, 0xc8, 0x01, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {
diff --git a/x/relationships/types/models.pb.go b/x/relationships/types/models.pb.go
index 4d57318aac..821f410975 100644
--- a/x/relationships/types/models.pb.go
+++ b/x/relationships/types/models.pb.go
@@ -175,32 +175,32 @@ func init() {
}
var fileDescriptor_9096e6e86fd356f7 = []byte{
- // 394 bytes of a gzipped FileDescriptorProto
+ // 393 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x3f, 0xcf, 0xd2, 0x40,
0x1c, 0xc7, 0x39, 0x24, 0x28, 0x27, 0x9a, 0x58, 0x49, 0x44, 0x86, 0x96, 0x34, 0x0c, 0x68, 0x42,
- 0x2f, 0xc4, 0xe8, 0xc0, 0x66, 0x83, 0x03, 0x9b, 0x29, 0x71, 0x71, 0x21, 0x6d, 0xef, 0x52, 0x1a,
- 0xdb, 0x5e, 0x73, 0x77, 0x10, 0x79, 0x17, 0x26, 0x2e, 0x8e, 0xbc, 0x08, 0x5f, 0x84, 0x23, 0x71,
- 0x72, 0x6a, 0x4c, 0x59, 0x9c, 0x3b, 0x3a, 0x3d, 0x69, 0xef, 0xc8, 0x03, 0x3c, 0xff, 0x86, 0x67,
- 0xfb, 0xdd, 0x7d, 0x3f, 0xfd, 0x34, 0xdf, 0xcb, 0x0f, 0x0e, 0x30, 0xe1, 0x31, 0xe5, 0x88, 0x91,
- 0xc8, 0x15, 0x21, 0x4d, 0xf8, 0x32, 0x4c, 0x39, 0x5a, 0x8f, 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c, 0xd2, 0x5c, 0x11, 0xff,
+ 0x2d, 0x58, 0x95, 0xbe, 0x62, 0xc1, 0x77, 0x5a, 0xb0, 0xf6, 0x0a, 0x36, 0x19, 0x71, 0x39, 0x4d,
+ 0xaa, 0x96, 0x2d, 0xfb, 0x59, 0x91, 0x19, 0x4f, 0xa4, 0x44, 0xde, 0x9b, 0x8e, 0x02, 0x2e, 0x5f,
+ 0xa5, 0x71, 0xdf, 0x57, 0xb1, 0xdf, 0xff, 0xc8, 0x75, 0xb0, 0xcf, 0x75, 0xf0, 0x3b, 0xd7, 0xc1,
+ 0x97, 0x83, 0x5e, 0xdb, 0x1f, 0xf4, 0xda, 0xaf, 0x83, 0x5e, 0xfb, 0x38, 0x09, 0x42, 0xb1, 0x5a,
+ 0x7b, 0x96, 0x4f, 0x63, 0x24, 0x37, 0x70, 0x14, 0xb9, 0x1e, 0x57, 0x33, 0xda, 0x4c, 0xd0, 0xe7,
+ 0x8b, 0xc5, 0x15, 0xdb, 0x94, 0x70, 0xaf, 0x59, 0xed, 0xda, 0x9b, 0x7f, 0x01, 0x00, 0x00, 0xff,
+ 0xff, 0x5a, 0x27, 0x73, 0xf5, 0xdd, 0x02, 0x00, 0x00,
}
func (this *Relationship) Equal(that interface{}) bool {
diff --git a/x/relationships/types/msgs.go b/x/relationships/types/msgs.go
index 4ac2911191..971ef2919d 100644
--- a/x/relationships/types/msgs.go
+++ b/x/relationships/types/msgs.go
@@ -46,11 +46,6 @@ func (msg *MsgCreateRelationship) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgCreateRelationship) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgCreateRelationship) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -99,11 +94,6 @@ func (msg *MsgDeleteRelationship) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgDeleteRelationship) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgDeleteRelationship) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -149,11 +139,6 @@ func (msg *MsgBlockUser) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgBlockUser) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgBlockUser) GetSigners() []sdk.AccAddress {
blocker, _ := sdk.AccAddressFromBech32(msg.Blocker)
@@ -198,11 +183,6 @@ func (msg *MsgUnblockUser) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgUnblockUser) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgUnblockUser) GetSigners() []sdk.AccAddress {
blocker, _ := sdk.AccAddressFromBech32(msg.Blocker)
diff --git a/x/relationships/types/msgs.pb.go b/x/relationships/types/msgs.pb.go
index 90b1f38a28..2c66548cf5 100644
--- a/x/relationships/types/msgs.pb.go
+++ b/x/relationships/types/msgs.pb.go
@@ -465,45 +465,45 @@ func init() {
}
var fileDescriptor_96a11e032a59b620 = []byte{
- // 605 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0xbf, 0x6f, 0xd3, 0x40,
- 0x14, 0xc7, 0xeb, 0xb4, 0x14, 0xe5, 0x5a, 0x2a, 0xd5, 0x4d, 0xdb, 0x60, 0x81, 0x5d, 0x59, 0x05,
- 0xda, 0x88, 0xd8, 0x2a, 0x88, 0x0e, 0xdd, 0x1a, 0xc2, 0xd0, 0x21, 0x12, 0x4a, 0xd4, 0x85, 0xa5,
- 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5, 0xf0, 0xa3, 0xf9, 0xf8, 0x67,
- 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x37, 0x7a, 0xd8, 0xd0, 0x07, 0x00, 0x00,
+ // 604 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0xbd, 0x6e, 0xd3, 0x50,
+ 0x14, 0xc7, 0xe3, 0xa4, 0x04, 0xe5, 0xb6, 0x54, 0xaa, 0x9b, 0xb6, 0xc1, 0x02, 0xbb, 0xb2, 0x0a,
+ 0xb4, 0x11, 0xb1, 0x55, 0x90, 0x32, 0x74, 0x6b, 0x08, 0x43, 0x87, 0x48, 0x28, 0x51, 0x17, 0x96,
+ 0xca, 0x8e, 0xaf, 0x6e, 0x2d, 0x62, 0x5f, 0xcb, 0xc7, 0x89, 0x88, 0xc4, 0x80, 0x18, 0x61, 0xe1,
+ 0x21, 0x78, 0x80, 0x08, 0xf1, 0x10, 0x8c, 0x15, 0x62, 0x60, 0x8a, 0x50, 0x32, 0x64, 0xcf, 0x13,
+ 0xa0, 0xd8, 0xd7, 0x1f, 0xf9, 0xa4, 0x20, 0x06, 0x86, 0x2e, 0xd1, 0xbd, 0xe7, 0xfc, 0xef, 0xff,
+ 0x9c, 0xfb, 0x73, 0x7c, 0x8c, 0x64, 0x03, 0x83, 0x45, 0x41, 0x75, 0x71, 0x4b, 0xf3, 0x4c, 0x6a,
+ 0xc3, 0xa5, 0xe9, 0x80, 0xda, 0x39, 0x56, 0x2d, 0x20, 0xa0, 0x38, 0x2e, 0xf5, 0x28, 0xbf, 0x17,
+ 0x68, 0x94, 0x29, 0x8d, 0xd2, 0x39, 0x16, 0xb6, 0x34, 0xcb, 0xb4, 0xa9, 0xea, 0xff, 0x06, 0x5a,
+ 0x21, 0x4f, 0x28, 0xa1, 0xfe, 0x52, 0x9d, 0xac, 0x58, 0x74, 0xaf, 0x49, 0xfd, 0x2a, 0x16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x7c, 0xb4, 0xea, 0x74, 0x42, 0x28, 0xa8, 0xd7, 0x14, 0x86, 0x85, 0x84,
+ 0x5b, 0x6f, 0x47, 0xbd, 0x22, 0x57, 0x79, 0xf1, 0x75, 0x20, 0x72, 0x57, 0x03, 0x91, 0xfb, 0x39,
+ 0x10, 0xb9, 0x8f, 0x43, 0x31, 0x75, 0x35, 0x14, 0x53, 0x3f, 0x86, 0x62, 0xea, 0x65, 0x99, 0x98,
+ 0xde, 0x65, 0x5b, 0x57, 0x9a, 0xd4, 0x52, 0x03, 0xef, 0x52, 0x4b, 0xd3, 0x81, 0xad, 0xd5, 0x4e,
+ 0x59, 0x7d, 0x3d, 0xf3, 0xad, 0xf6, 0xba, 0x0e, 0x06, 0x3d, 0xeb, 0x7f, 0x34, 0x9f, 0xfe, 0x0a,
+ 0x00, 0x00, 0xff, 0xff, 0xe4, 0x0e, 0x52, 0xcb, 0xd0, 0x07, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/relationships/types/msgs_test.go b/x/relationships/types/msgs_test.go
index 5dff67f297..1d3a20659f 100644
--- a/x/relationships/types/msgs_test.go
+++ b/x/relationships/types/msgs_test.go
@@ -78,11 +78,6 @@ func TestMsgCreateRelationship_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreateRelationship_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreateRelationship","value":{"counterparty":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","signer":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgCreateRelationship.GetSignBytes()))
-}
-
func TestMsgCreateRelationship_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreateRelationship.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgCreateRelationship.GetSigners())
@@ -158,11 +153,6 @@ func TestMsgDeleteRelationships_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeleteRelationships_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeleteRelationship","value":{"counterparty":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","signer":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgDeleteRelationships.GetSignBytes()))
-}
-
func TestMsgDeleteRelationships_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeleteRelationships.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgDeleteRelationships.GetSigners())
@@ -242,11 +232,6 @@ func TestMsgBlockUser_ValidateBasic(t *testing.T) {
}
}
-func TestMsgBlockUser_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgBlockUser","value":{"blocked":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","blocker":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns","reason":"reason"}}`
- require.Equal(t, expected, string(msgBlockUser.GetSignBytes()))
-}
-
func TestMsgBlockUser_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgBlockUser.Blocker)
require.Equal(t, []sdk.AccAddress{addr}, msgBlockUser.GetSigners())
@@ -326,11 +311,6 @@ func TestMsgUnblockUser_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUnblockUser_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgUnblockUser","value":{"blocked":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","blocker":"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"}}`
- require.Equal(t, expected, string(msgUnblockUser.GetSignBytes()))
-}
-
func TestMsgUnblockUser_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUnblockUser.Blocker)
require.Equal(t, []sdk.AccAddress{addr}, msgUnblockUser.GetSigners())
diff --git a/x/relationships/types/query.pb.go b/x/relationships/types/query.pb.go
index d6911b2ee2..e667aae906 100644
--- a/x/relationships/types/query.pb.go
+++ b/x/relationships/types/query.pb.go
@@ -249,41 +249,41 @@ var fileDescriptor_10005dbd2b21ca8c = []byte{
// 582 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xbf, 0x6f, 0xd3, 0x40,
0x18, 0xf5, 0xa5, 0x21, 0xd0, 0x0b, 0x1d, 0x38, 0x2a, 0xe1, 0x46, 0xc8, 0x09, 0x01, 0xda, 0xa8,
- 0xb4, 0x77, 0x4a, 0x2a, 0x18, 0x10, 0x0b, 0x91, 0x00, 0xb1, 0x15, 0x23, 0x18, 0x58, 0xaa, 0x73,
- 0x7c, 0x72, 0x2d, 0x12, 0x9f, 0xeb, 0x3b, 0x47, 0x64, 0x65, 0x62, 0x60, 0x40, 0xe2, 0x1f, 0xe8,
- 0x82, 0xd4, 0x91, 0x81, 0x95, 0x81, 0xad, 0x63, 0x05, 0x0b, 0x13, 0x42, 0x09, 0x12, 0x6c, 0xec,
- 0x4c, 0x28, 0x77, 0x17, 0x35, 0x46, 0x98, 0x04, 0x09, 0x96, 0xc8, 0x3f, 0xde, 0x7b, 0x7e, 0xef,
- 0x7b, 0x5f, 0x0e, 0x5e, 0xf4, 0x99, 0xe8, 0x71, 0x41, 0x12, 0xd6, 0xa5, 0x32, 0xe4, 0x91, 0xd8,
- 0x0d, 0x63, 0x41, 0xfa, 0x4d, 0xb2, 0x97, 0xb2, 0x64, 0x80, 0xe3, 0x84, 0x4b, 0x8e, 0xce, 0x69,
- 0x10, 0xce, 0x80, 0x70, 0xbf, 0x59, 0x39, 0x43, 0x7b, 0x61, 0xc4, 0x89, 0xfa, 0xd5, 0xd8, 0xca,
- 0x72, 0xc0, 0x03, 0xae, 0x2e, 0xc9, 0xf8, 0xca, 0x3c, 0x3d, 0x1f, 0x70, 0x1e, 0x74, 0x19, 0xa1,
- 0x71, 0x48, 0x68, 0x14, 0x71, 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 0xae,
+ 0x2b, 0x5d, 0x46, 0x7b, 0xe7, 0x68, 0xe8, 0x80, 0xe3, 0xa1, 0x03, 0x3e, 0x0f, 0x1d, 0xf0, 0x62,
+ 0xe4, 0x58, 0xc7, 0x23, 0xc7, 0xfa, 0x38, 0x72, 0xac, 0x47, 0xdb, 0x41, 0x28, 0xf7, 0x52, 0x0f,
+ 0x77, 0x78, 0xcf, 0x88, 0x6c, 0x76, 0xa9, 0x27, 0x26, 0x82, 0xfd, 0x6d, 0xf2, 0xe4, 0x17, 0x55,
+ 0x39, 0x88, 0x99, 0xf0, 0x4a, 0xea, 0xcc, 0xdb, 0xfa, 0x19, 0x00, 0x00, 0xff, 0xff, 0x26, 0x30,
+ 0x10, 0x51, 0xe7, 0x05, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/relationships/wasm/common_test.go b/x/relationships/wasm/common_test.go
index 421f8234b4..6de0b7f386 100644
--- a/x/relationships/wasm/common_test.go
+++ b/x/relationships/wasm/common_test.go
@@ -4,11 +4,12 @@ import (
"encoding/json"
"testing"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/stretchr/testify/suite"
"github.com/desmos-labs/desmos/v6/app"
@@ -72,13 +73,13 @@ type TestSuite struct {
func (suite *TestSuite) SetupTest() {
// Define the store keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/relationships/wasm/querier.go b/x/relationships/wasm/querier.go
index 9b9e3e57fb..adec1895e8 100644
--- a/x/relationships/wasm/querier.go
+++ b/x/relationships/wasm/querier.go
@@ -49,7 +49,7 @@ func (querier RelationshipsWasmQuerier) handleRelationshipsRequest(ctx sdk.Conte
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.relationshipsKeeper.Relationships(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.relationshipsKeeper.Relationships(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -66,7 +66,7 @@ func (querier RelationshipsWasmQuerier) handleBlocksRequest(ctx sdk.Context, req
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.relationshipsKeeper.Blocks(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.relationshipsKeeper.Blocks(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
diff --git a/x/reports/client/cli/cli_test.go b/x/reports/client/cli/cli_test.go
index cbf5abc213..1155cf65ae 100644
--- a/x/reports/client/cli/cli_test.go
+++ b/x/reports/client/cli/cli_test.go
@@ -8,6 +8,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
@@ -520,7 +521,7 @@ func (s *IntegrationTestSuite) TestCmdCreateReport() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: true,
},
@@ -533,7 +534,7 @@ func (s *IntegrationTestSuite) TestCmdCreateReport() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -547,7 +548,7 @@ func (s *IntegrationTestSuite) TestCmdCreateReport() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -600,7 +601,7 @@ func (s *IntegrationTestSuite) TestCmdDeleteReport() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -653,7 +654,7 @@ func (s *IntegrationTestSuite) TestCmdSupportStandardReason() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -706,7 +707,7 @@ func (s *IntegrationTestSuite) TGetCmdAddReason() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/reports/keeper/alias_functions.go b/x/reports/keeper/alias_functions.go
index 70d5496c83..226abdec35 100644
--- a/x/reports/keeper/alias_functions.go
+++ b/x/reports/keeper/alias_functions.go
@@ -5,6 +5,7 @@ import (
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/reports/types"
@@ -61,7 +62,7 @@ func (k Keeper) GetStandardReason(ctx sdk.Context, id uint32) (reason types.Stan
// IterateReasons iterates over all the stored reasons and performs the provided function
func (k Keeper) IterateReasons(ctx sdk.Context, fn func(reason types.Reason) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ReasonPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ReasonPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -78,7 +79,7 @@ func (k Keeper) IterateReasons(ctx sdk.Context, fn func(reason types.Reason) (st
// IterateSubspaceReasons iterates over all the given subspace reasons and performs the provided function
func (k Keeper) IterateSubspaceReasons(ctx sdk.Context, subspaceID uint64, fn func(reason types.Reason) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceReasonsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceReasonsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -107,7 +108,7 @@ func (k Keeper) GetSubspaceReasons(ctx sdk.Context, subspaceID uint64) []types.R
// IterateReports iterates over all reports and performs the provided function
func (k Keeper) IterateReports(ctx sdk.Context, fn func(report types.Report) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ReportPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ReportPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -124,7 +125,7 @@ func (k Keeper) IterateReports(ctx sdk.Context, fn func(report types.Report) (st
// IterateSubspaceReports iterates over all the given subspace reports and performs the provided function
func (k Keeper) IterateSubspaceReports(ctx sdk.Context, subspaceID uint64, fn func(report types.Report) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceReportsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceReportsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -151,7 +152,7 @@ func (k Keeper) GetSubspaceReports(ctx sdk.Context, subspaceID uint64) []types.R
// IteratePostReports iterates over all the reports for the given post and performs the provided function
func (k Keeper) IteratePostReports(ctx sdk.Context, subspaceID uint64, postID uint64, fn func(report types.Report) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.PostReportsPrefix(subspaceID, postID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.PostReportsPrefix(subspaceID, postID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
diff --git a/x/reports/keeper/common_test.go b/x/reports/keeper/common_test.go
index 45cacd3332..b22eaed3cc 100644
--- a/x/reports/keeper/common_test.go
+++ b/x/reports/keeper/common_test.go
@@ -6,12 +6,13 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/golang/mock/gomock"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
@@ -39,12 +40,12 @@ type KeeperTestSuite struct {
func (suite *KeeperTestSuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/reports/keeper/grpc_query.go b/x/reports/keeper/grpc_query.go
index 563760ed8b..e8fa2c2fc5 100644
--- a/x/reports/keeper/grpc_query.go
+++ b/x/reports/keeper/grpc_query.go
@@ -6,7 +6,7 @@ import (
"fmt"
"cosmossdk.io/errors"
- "github.com/cosmos/cosmos-sdk/store/prefix"
+ "cosmossdk.io/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
diff --git a/x/reports/keeper/grpc_query_test.go b/x/reports/keeper/grpc_query_test.go
index f8f04b921a..dd4525d34f 100644
--- a/x/reports/keeper/grpc_query_test.go
+++ b/x/reports/keeper/grpc_query_test.go
@@ -248,7 +248,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Reports() {
tc.store(ctx)
}
- res, err := suite.k.Reports(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Reports(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -317,7 +317,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Report() {
tc.store(ctx)
}
- res, err := suite.k.Report(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Report(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -411,7 +411,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Reasons() {
tc.store(ctx)
}
- res, err := suite.k.Reasons(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Reasons(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -474,7 +474,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Reason() {
tc.store(ctx)
}
- res, err := suite.k.Reason(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Reason(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -525,7 +525,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Params() {
tc.store(ctx)
}
- res, err := suite.k.Params(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Params(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/reports/keeper/keeper.go b/x/reports/keeper/keeper.go
index a1327287c7..e7b16b480d 100644
--- a/x/reports/keeper/keeper.go
+++ b/x/reports/keeper/keeper.go
@@ -1,9 +1,9 @@
package keeper
import (
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/reports/types"
diff --git a/x/reports/keeper/msg_server_test.go b/x/reports/keeper/msg_server_test.go
index df6c8d8d8a..e419246bd1 100644
--- a/x/reports/keeper/msg_server_test.go
+++ b/x/reports/keeper/msg_server_test.go
@@ -412,7 +412,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateReport() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.CreateReport(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.CreateReport(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -653,7 +653,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeleteReport() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.DeleteReport(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.DeleteReport(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -824,7 +824,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SupportStandardReason() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.SupportStandardReason(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.SupportStandardReason(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1001,7 +1001,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AddReason() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.AddReason(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.AddReason(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1135,7 +1135,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RemoveReason() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.RemoveReason(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.RemoveReason(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1186,7 +1186,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateParams() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.UpdateParams(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.UpdateParams(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/reports/legacy/v2/store.go b/x/reports/legacy/v2/store.go
index 128e833c02..998d741c70 100644
--- a/x/reports/legacy/v2/store.go
+++ b/x/reports/legacy/v2/store.go
@@ -1,7 +1,7 @@
package v2
import (
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/reports/types"
diff --git a/x/reports/legacy/v2/store_test.go b/x/reports/legacy/v2/store_test.go
index b70c977c86..da362577da 100644
--- a/x/reports/legacy/v2/store_test.go
+++ b/x/reports/legacy/v2/store_test.go
@@ -4,9 +4,10 @@ import (
"testing"
"time"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -37,9 +38,9 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(paramstypes.StoreKey, subspacestypes.StoreKey, types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
paramsSubspace := newMockSubspace(types.Params{})
diff --git a/x/reports/legacy/v3/store.go b/x/reports/legacy/v3/store.go
index 06a3764dde..53722ac4f4 100644
--- a/x/reports/legacy/v3/store.go
+++ b/x/reports/legacy/v3/store.go
@@ -1,8 +1,8 @@
package v3
import (
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/reports/types"
diff --git a/x/reports/legacy/v3/store_test.go b/x/reports/legacy/v3/store_test.go
index 9e04e47137..2e5265098d 100644
--- a/x/reports/legacy/v3/store_test.go
+++ b/x/reports/legacy/v3/store_test.go
@@ -3,6 +3,7 @@ package v3_test
import (
"testing"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
@@ -34,7 +35,7 @@ func (ms mockSubspace) SetParamSet(ctx sdk.Context, ps paramstypes.ParamSet) {
func TestMigrate(t *testing.T) {
cdc, _ := app.MakeCodecs()
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
testCases := []struct {
name string
diff --git a/x/reports/module.go b/x/reports/module.go
index c4024674ac..1743f24074 100644
--- a/x/reports/module.go
+++ b/x/reports/module.go
@@ -8,11 +8,11 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -49,7 +49,6 @@ var (
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the reports module.
@@ -185,16 +184,6 @@ func (AppModule) ConsensusVersion() uint64 {
return consensusVersion
}
-// BeginBlock returns the begin blocker for the reports module.
-func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {
-}
-
-// EndBlock returns the end blocker for the reports module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return []abci.ValidatorUpdate{}
-}
-
// --------------------------------------------------------------------------------------------------------------------
// AppModuleSimulation defines the module simulation functions used by the reports module.
@@ -211,7 +200,7 @@ func (AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.Weight
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/reports/simulation/operations.go b/x/reports/simulation/operations.go
index d83981692b..7f559734b9 100644
--- a/x/reports/simulation/operations.go
+++ b/x/reports/simulation/operations.go
@@ -37,35 +37,35 @@ func WeightedOperations(
) sim.WeightedOperations {
var weightMsgCreateReport int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreateReport, &weightMsgCreateReport, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreateReport, &weightMsgCreateReport, nil,
func(_ *rand.Rand) {
weightMsgCreateReport = params.DefaultWeightMsgCreateReport
},
)
var weightMsgDeleteReport int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeleteReport, &weightMsgDeleteReport, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeleteReport, &weightMsgDeleteReport, nil,
func(_ *rand.Rand) {
weightMsgDeleteReport = params.DefaultWeightMsgDeleteReport
},
)
var weightMsgSupportStandardReason int
- appParams.GetOrGenerate(cdc, OpWeightMsgSupportStandardReason, &weightMsgSupportStandardReason, nil,
+ appParams.GetOrGenerate(OpWeightMsgSupportStandardReason, &weightMsgSupportStandardReason, nil,
func(_ *rand.Rand) {
weightMsgSupportStandardReason = params.DefaultWeightMsgSupportStandardReason
},
)
var weightMsgAddReason int
- appParams.GetOrGenerate(cdc, OpWeightMsgAddReason, &weightMsgAddReason, nil,
+ appParams.GetOrGenerate(OpWeightMsgAddReason, &weightMsgAddReason, nil,
func(_ *rand.Rand) {
weightMsgAddReason = params.DefaultWeightMsgAddReason
},
)
var weightMsgRemoveReason int
- appParams.GetOrGenerate(cdc, OpWeightMsgRemoveReason, &weightMsgRemoveReason, nil,
+ appParams.GetOrGenerate(OpWeightMsgRemoveReason, &weightMsgRemoveReason, nil,
func(_ *rand.Rand) {
weightMsgRemoveReason = params.DefaultWeightMsgRemoveReason
},
diff --git a/x/reports/types/codec.go b/x/reports/types/codec.go
index a5f31da98f..2bc4499fd3 100644
--- a/x/reports/types/codec.go
+++ b/x/reports/types/codec.go
@@ -4,11 +4,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
- govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec"
)
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
@@ -45,29 +42,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCdc references the global x/reports module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/reports and
- // defined at the application level.
- AminoCdc = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-
- // Register all Amino interfaces and concrete types on the gov Amino codec so that this can later be
- // used to properly serialize MsgSubmitProposal instances
- RegisterLegacyAminoCodec(govcodec.Amino)
-}
diff --git a/x/reports/types/genesis.pb.go b/x/reports/types/genesis.pb.go
index 52033135ef..7aef9c01f5 100644
--- a/x/reports/types/genesis.pb.go
+++ b/x/reports/types/genesis.pb.go
@@ -140,29 +140,29 @@ var fileDescriptor_e4c495c10dc36e45 = []byte{
// 396 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x3f, 0x6b, 0xdb, 0x40,
0x18, 0xc6, 0x75, 0xb6, 0x71, 0xed, 0xf3, 0x1f, 0xb0, 0xe8, 0xa0, 0x7a, 0x90, 0x84, 0xe9, 0xe0,
- 0x16, 0xaa, 0xab, 0x5b, 0xba, 0x94, 0xd2, 0x41, 0x38, 0x04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Marshal() (dAtA []byte, err error) {
diff --git a/x/reports/types/models.pb.go b/x/reports/types/models.pb.go
index 3aa17a656e..e323435315 100644
--- a/x/reports/types/models.pb.go
+++ b/x/reports/types/models.pb.go
@@ -419,54 +419,54 @@ func init() {
func init() { proto.RegisterFile("desmos/reports/v1/models.proto", fileDescriptor_908cff0b05e14c5f) }
var fileDescriptor_908cff0b05e14c5f = []byte{
- // 737 bytes of a gzipped FileDescriptorProto
+ // 738 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcf, 0x4f, 0xdb, 0x48,
0x14, 0xce, 0x24, 0x21, 0xc0, 0x84, 0xf0, 0xc3, 0x1b, 0x2d, 0x5e, 0xb4, 0xb2, 0xb3, 0x5e, 0x76,
- 0x37, 0x4b, 0x8b, 0x5d, 0x40, 0x48, 0x55, 0x7a, 0xc2, 0xa2, 0xaa, 0xc2, 0x09, 0x19, 0x7a, 0xe9,
- 0x25, 0x9a, 0x64, 0x06, 0xd7, 0x52, 0x9c, 0x89, 0x66, 0x26, 0xa8, 0xf9, 0x17, 0xaa, 0x1e, 0x38,
- 0xf6, 0x48, 0x7b, 0xea, 0x91, 0x03, 0x7f, 0x04, 0xea, 0x09, 0xf5, 0xd4, 0x93, 0x8b, 0xc2, 0x81,
- 0x9e, 0xf3, 0x17, 0x54, 0xf6, 0x8c, 0x21, 0x80, 0x50, 0x4b, 0xd5, 0x8b, 0x35, 0xf3, 0xbe, 0xef,
- 0xbd, 0x37, 0xf3, 0xbd, 0x6f, 0x0c, 0x0d, 0x4c, 0x78, 0x48, 0xb9, 0xc3, 0x48, 0x97, 0x32, 0xc1,
- 0x9d, 0xfd, 0x15, 0x27, 0xa4, 0x98, 0xb4, 0xb9, 0xdd, 0x65, 0x54, 0x50, 0x6d, 0x4e, 0xe2, 0xb6,
- 0xc2, 0xed, 0xfd, 0x95, 0x85, 0x39, 0x14, 0x06, 0x1d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0xf3, 0x99, 0x91, 0x79, 0xf1, 0xc0, 0x0f, 0xc4, 0xcb, 0x5e, 0xd3, 0x6e, 0xd1, 0xd0, 0x91, 0x37,
+ 0x5c, 0x6e, 0xa3, 0x26, 0x57, 0x6b, 0x67, 0xef, 0xd1, 0xc8, 0x85, 0x45, 0xbf, 0x4b, 0x78, 0xb3,
+ 0x90, 0x3c, 0xd9, 0xb5, 0x6f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xec, 0xb4, 0xfc, 0xb4, 0x2a, 0x06,
+ 0x00, 0x00,
}
func (this *Report) Equal(that interface{}) bool {
diff --git a/x/reports/types/msgs.go b/x/reports/types/msgs.go
index 0be7b1e5c9..ae5211eb9a 100644
--- a/x/reports/types/msgs.go
+++ b/x/reports/types/msgs.go
@@ -82,11 +82,6 @@ func (msg *MsgCreateReport) ValidateBasic() error {
return msg.Target.GetCachedValue().(ReportTarget).Validate()
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgCreateReport) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgCreateReport) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Reporter)
@@ -130,11 +125,6 @@ func (msg *MsgDeleteReport) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgDeleteReport) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgDeleteReport) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -178,11 +168,6 @@ func (msg *MsgSupportStandardReason) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgSupportStandardReason) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgSupportStandardReason) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -230,11 +215,6 @@ func (msg *MsgAddReason) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgAddReason) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgAddReason) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -281,11 +261,6 @@ func (msg *MsgRemoveReason) ValidateBasic() error {
return nil
}
-// GetSignBytes encodes the message for signing
-func (msg *MsgRemoveReason) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
-
// GetSigners defines whose signature is required
func (msg *MsgRemoveReason) GetSigners() []sdk.AccAddress {
sender, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -329,8 +304,3 @@ func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress {
authority := sdk.MustAccAddressFromBech32(msg.Authority)
return []sdk.AccAddress{authority}
}
-
-// GetSigners implements legacytx.LegacyMsg
-func (msg *MsgUpdateParams) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(msg))
-}
diff --git a/x/reports/types/msgs.pb.go b/x/reports/types/msgs.pb.go
index c255411011..4dae67041d 100644
--- a/x/reports/types/msgs.pb.go
+++ b/x/reports/types/msgs.pb.go
@@ -729,37 +729,37 @@ var fileDescriptor_c7165cc8d939a535 = []byte{
// 1015 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xbf, 0x6f, 0xdb, 0x46,
0x14, 0x36, 0xe5, 0x1f, 0x8d, 0xce, 0x72, 0xa3, 0xb0, 0x6a, 0x22, 0x0b, 0x85, 0x28, 0x5c, 0xda,
- 0x54, 0x71, 0x6a, 0xb2, 0x8e, 0xd1, 0xa2, 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, 0x12, 0x47, 0x2f, 0xb6, 0xbf,
+ 0xac, 0xd0, 0x6a, 0xeb, 0xa1, 0x31, 0x5a, 0x76, 0xb5, 0xe5, 0x14, 0xa8, 0xdc, 0x58, 0x81, 0x43,
0xb0, 0x41, 0x1c, 0xdb, 0x43, 0x01, 0xaf, 0xaf, 0x87, 0x59, 0x4e, 0x99, 0xbd, 0xbc, 0x5c, 0xf8,
0xc6, 0x83, 0x07, 0x71, 0x26, 0xf9, 0x62, 0x21, 0x8f, 0x62, 0xc0, 0x70, 0x9b, 0xa6, 0x51, 0x34,
0x25, 0x69, 0x84, 0xbf, 0x55, 0x40, 0xf3, 0x88, 0xd8, 0xc7, 0x13, 0x3f, 0x36, 0x1f, 0x87, 0xa6,
@@ -771,26 +771,26 @@ var fileDescriptor_c7165cc8d939a535 = []byte{
0x5a, 0x4b, 0x4e, 0xcb, 0x03, 0xb0, 0x1e, 0x3a, 0xe1, 0x98, 0xb5, 0x5e, 0x55, 0xaf, 0xcf, 0x23,
0xa5, 0xc6, 0x67, 0x4a, 0x6c, 0x86, 0x06, 0x73, 0xcb, 0x5f, 0x81, 0x4d, 0x0b, 0x91, 0x51, 0xe0,
0xf8, 0x71, 0x57, 0x71, 0x89, 0xef, 0x66, 0x07, 0x08, 0x4e, 0x68, 0x88, 0x50, 0x21, 0x2f, 0x6b,
- 0xff, 0x37, 0x2f, 0xf7, 0x17, 0xf2, 0xf2, 0x41, 0x96, 0x97, 0x54, 0x10, 0x78, 0x02, 0x1a, 0xe2,
+ 0xff, 0x37, 0x2f, 0xf7, 0x17, 0xf2, 0xf2, 0x51, 0x96, 0x97, 0x54, 0x10, 0x78, 0x02, 0x1a, 0xe2,
0x3a, 0x3f, 0xa3, 0x92, 0x7a, 0x63, 0xea, 0xf3, 0x0e, 0x4d, 0xeb, 0xac, 0x2e, 0x8a, 0x9f, 0x74,
0x28, 0x2b, 0xab, 0x64, 0x76, 0x18, 0xc8, 0xc5, 0x67, 0x68, 0xb9, 0xda, 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3, 0x68, 0x0d, 0xac, 0x1e,
+ 0x11, 0x5b, 0x7e, 0x0e, 0x6a, 0xb9, 0xef, 0x14, 0x58, 0x70, 0xab, 0x85, 0x07, 0xb2, 0xb5, 0x73,
+ 0x3d, 0x26, 0x2d, 0xd0, 0xe7, 0xa0, 0x96, 0x7b, 0x99, 0x4a, 0xf8, 0x45, 0x4c, 0x19, 0x7f, 0xd1,
+ 0x74, 0x97, 0xa7, 0xe0, 0xe3, 0xe2, 0xc9, 0xfe, 0xa8, 0x98, 0xa4, 0x10, 0xdc, 0xda, 0xbf, 0x01,
+ 0x38, 0x3d, 0xfa, 0x04, 0x54, 0xb3, 0x89, 0xa5, 0x14, 0x33, 0xa4, 0x80, 0xd6, 0xe7, 0xd7, 0x00,
+ 0x44, 0xc5, 0x72, 0xfd, 0x58, 0xa2, 0x98, 0x88, 0x29, 0x53, 0xac, 0xa8, 0xa6, 0x63, 0xfe, 0x5c,
+ 0x3d, 0x97, 0xf0, 0x8b, 0x98, 0x32, 0xfe, 0xa2, 0xca, 0x6a, 0xad, 0xff, 0x1c, 0x17, 0xae, 0xfe,
+ 0xf4, 0xed, 0xac, 0x2d, 0xbd, 0x9b, 0xb5, 0xa5, 0x7f, 0x67, 0x6d, 0xe9, 0xd5, 0x45, 0x7b, 0xe5,
+ 0xdd, 0x45, 0x7b, 0xe5, 0xef, 0x8b, 0xf6, 0xca, 0x8f, 0x5f, 0xda, 0x4e, 0x78, 0x3a, 0x19, 0xaa,
+ 0x23, 0xec, 0x6a, 0x8c, 0x76, 0x77, 0x6c, 0x0e, 0x09, 0xff, 0xaf, 0x9d, 0x3d, 0x11, 0x2a, 0x3a,
+ 0x9c, 0xfa, 0x88, 0x0c, 0x37, 0xe8, 0xb7, 0xd2, 0xfe, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x00,
+ 0xa1, 0x43, 0xe2, 0x43, 0x0c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/reports/types/msgs_test.go b/x/reports/types/msgs_test.go
index 2577d96294..0cb57604f7 100644
--- a/x/reports/types/msgs_test.go
+++ b/x/reports/types/msgs_test.go
@@ -106,11 +106,6 @@ func TestMsgCreateReport_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreateReport_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreateReport","value":{"message":"This post is spam","reasons_ids":[1],"reporter":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","subspace_id":"1","target":{"type":"desmos/PostTarget","value":{"post_id":"1"}}}}`
- require.Equal(t, expected, string(msgCreateReport.GetSignBytes()))
-}
-
func TestMsgCreateReport_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreateReport.Reporter)
require.Equal(t, []sdk.AccAddress{addr}, msgCreateReport.GetSigners())
@@ -185,11 +180,6 @@ func TestMsgDeleteReport_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeleteReport_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeleteReport","value":{"report_id":"1","signer":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgDeleteReport.GetSignBytes()))
-}
-
func TestMsgDeleteReport_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeleteReport.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgDeleteReport.GetSigners())
@@ -264,11 +254,6 @@ func TestMsgSupportStandardReason_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSupportStandardReason_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgSupportStandardReason","value":{"signer":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","standard_reason_id":1,"subspace_id":"1"}}`
- require.Equal(t, expected, string(msgSupportStandardReason.GetSignBytes()))
-}
-
func TestMsgSupportStandardReason_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgSupportStandardReason.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgSupportStandardReason.GetSigners())
@@ -347,11 +332,6 @@ func TestMsgAddReason_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAddReason_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAddReason","value":{"description":"This post is spam or the user is a spammer","signer":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","subspace_id":"1","title":"Spam"}}`
- require.Equal(t, expected, string(msgAddReason.GetSignBytes()))
-}
-
func TestMsgAddReason_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAddReason.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgAddReason.GetSigners())
@@ -426,11 +406,6 @@ func TestMsgRemoveReason_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRemoveReason_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRemoveReason","value":{"reason_id":1,"signer":"cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgRemoveReason.GetSignBytes()))
-}
-
func TestMsgRemoveReason_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRemoveReason.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgRemoveReason.GetSigners())
@@ -484,11 +459,6 @@ func TestMsgUpdateParams_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUpdateParams_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/x/reports/MsgUpdateParams","value":{"authority":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","params":{"standard_reasons":null}}}`
- require.Equal(t, expected, string(msgUpdateParams.GetSignBytes()))
-}
-
func TestMsgUpdateParams_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUpdateParams.Authority)
require.Equal(t, []sdk.AccAddress{addr}, msgUpdateParams.GetSigners())
diff --git a/x/reports/types/query.pb.go b/x/reports/types/query.pb.go
index 33783853f5..467cb6397f 100644
--- a/x/reports/types/query.pb.go
+++ b/x/reports/types/query.pb.go
@@ -569,7 +569,7 @@ var fileDescriptor_f0e9c7b1802c3e20 = []byte{
// 826 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xcf, 0x6b, 0x13, 0x4b,
0x1c, 0xcf, 0xa6, 0x6d, 0xfa, 0x3a, 0xa5, 0xef, 0xbd, 0xce, 0xcb, 0x7b, 0xa4, 0xe9, 0x73, 0x13,
- 0x17, 0x4c, 0x43, 0xa5, 0xbb, 0x26, 0x55, 0x84, 0x1e, 0xc4, 0xe6, 0xa0, 0x54, 0x10, 0x6a, 0xf4,
+ 0x17, 0x4c, 0x43, 0xa5, 0xbb, 0x26, 0x15, 0x85, 0x1e, 0xc4, 0xe6, 0xa0, 0x54, 0x10, 0x6a, 0xf4,
0x24, 0x68, 0x99, 0x74, 0xc7, 0x35, 0x90, 0xec, 0x6c, 0x77, 0x36, 0xc1, 0x58, 0x0a, 0xe2, 0x5f,
0x20, 0x08, 0x5e, 0xbd, 0x7a, 0x11, 0x3c, 0xf4, 0x8f, 0x28, 0x9e, 0x8a, 0x5e, 0xf4, 0x12, 0xa4,
0x15, 0xbc, 0xe7, 0xe6, 0x4d, 0x76, 0xbe, 0xb3, 0xc9, 0xae, 0x69, 0x37, 0x6a, 0xd5, 0x4b, 0x98,
@@ -618,7 +618,7 @@ var fileDescriptor_f0e9c7b1802c3e20 = []byte{
0xc9, 0xa1, 0x9a, 0xd8, 0x3f, 0x54, 0x13, 0xef, 0x0e, 0xd5, 0xc4, 0xed, 0x73, 0x56, 0xdd, 0xbb,
0xdf, 0xaa, 0xe9, 0x9b, 0xac, 0x29, 0xcb, 0x97, 0x1a, 0xa4, 0xc6, 0x83, 0x56, 0xed, 0x0b, 0xc6,
0x83, 0x7e, 0x3f, 0xaf, 0xe3, 0x50, 0x5e, 0x4b, 0x89, 0xbf, 0x33, 0xcb, 0x5f, 0x02, 0x00, 0x00,
- 0xff, 0xff, 0x7b, 0x10, 0xd5, 0x98, 0x3b, 0x0a, 0x00, 0x00,
+ 0xff, 0xff, 0x28, 0xa6, 0x38, 0xad, 0x3b, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/reports/wasm/common_test.go b/x/reports/wasm/common_test.go
index 4d77b1712b..f7e26c1336 100644
--- a/x/reports/wasm/common_test.go
+++ b/x/reports/wasm/common_test.go
@@ -6,12 +6,13 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
@@ -87,12 +88,12 @@ type Testsuite struct {
func (suite *Testsuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/reports/wasm/querier.go b/x/reports/wasm/querier.go
index 1b46c52883..866d0c75f1 100644
--- a/x/reports/wasm/querier.go
+++ b/x/reports/wasm/querier.go
@@ -50,7 +50,7 @@ func (querier ReportsWasmQuerier) handleReportsRequest(ctx sdk.Context, data jso
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reportskeeper.Reports(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reportskeeper.Reports(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -63,7 +63,7 @@ func (querier ReportsWasmQuerier) handleReportRequest(ctx sdk.Context, data json
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reportskeeper.Report(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reportskeeper.Report(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -76,7 +76,7 @@ func (querier ReportsWasmQuerier) handleReasonsRequest(ctx sdk.Context, data jso
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reportskeeper.Reasons(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reportskeeper.Reasons(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -89,7 +89,7 @@ func (querier ReportsWasmQuerier) handleReasonRequest(ctx sdk.Context, data json
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.reportskeeper.Reason(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.reportskeeper.Reason(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
diff --git a/x/subspaces/abci_test.go b/x/subspaces/abci_test.go
index a0ec89e322..d6c2d21bff 100644
--- a/x/subspaces/abci_test.go
+++ b/x/subspaces/abci_test.go
@@ -4,13 +4,15 @@ import (
"testing"
"time"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/math"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ "cosmossdk.io/x/feegrant"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ db "github.com/cosmos/cosmos-db"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -21,13 +23,13 @@ import (
func TestBeginBlocker(t *testing.T) {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(
+ keys := storetypes.NewMemoryStoreKeys(
types.StoreKey,
)
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -60,7 +62,7 @@ func TestBeginBlocker(t *testing.T) {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
))
@@ -87,7 +89,7 @@ func TestBeginBlocker(t *testing.T) {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
))
diff --git a/x/subspaces/ante/common_test.go b/x/subspaces/ante/common_test.go
index f532c55635..b082149432 100644
--- a/x/subspaces/ante/common_test.go
+++ b/x/subspaces/ante/common_test.go
@@ -3,12 +3,14 @@ package ante_test
import (
"testing"
+ "cosmossdk.io/math"
"github.com/golang/mock/gomock"
"github.com/desmos-labs/desmos/v6/app"
"github.com/desmos-labs/desmos/v6/x/subspaces/ante"
"github.com/desmos-labs/desmos/v6/x/subspaces/ante/testutil"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/client"
sdktestutil "github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -43,8 +45,8 @@ func (suite *AnteTestSuite) SetupTest() {
suite.ctrl = gomock.NewController(suite.T())
suite.ctx = sdktestutil.
- DefaultContext(sdk.NewKVStoreKey("kv_test"), sdk.NewTransientStoreKey("transient_test")).
- WithMinGasPrices(sdk.NewDecCoins(sdk.NewDecCoin("stake", sdk.NewInt(1)))).
+ DefaultContext(storetypes.NewKVStoreKey("kv_test"), storetypes.NewTransientStoreKey("transient_test")).
+ WithMinGasPrices(sdk.NewDecCoins(sdk.NewDecCoin("stake", math.NewInt(1)))).
WithIsCheckTx(true)
suite.bk = testutil.NewMockBankKeeper(suite.ctrl)
diff --git a/x/subspaces/ante/fee.go b/x/subspaces/ante/fee.go
index 7add9e52c9..f717badc92 100644
--- a/x/subspaces/ante/fee.go
+++ b/x/subspaces/ante/fee.go
@@ -1,6 +1,7 @@
package ante
import (
+ "bytes"
"fmt"
"cosmossdk.io/errors"
@@ -108,13 +109,12 @@ func GetTxSubspaceID(tx sdk.Tx) (uint64, bool) {
// tryHandleSubspaceTx handles the fee deduction for a single-subspace transaction,
// and returns if the process succeeded or not
func (dfd DeductFeeDecorator) tryHandleSubspaceTx(ctx sdk.Context, tx sdk.FeeTx, subspaceID uint64, fees sdk.Coins) (newCtx sdk.Context, success bool, err error) {
- feePayer := tx.FeePayer()
+ deductFeesFrom := tx.FeePayer()
feeGranter := tx.FeeGranter()
- deductFeesFrom := feePayer
// If the fee granter is not set, or it's not equal to the subspace treasury,
// then use auth.DeductFeeDecorator to deal with fees
- if feeGranter == nil || !feeGranter.Equals(types.GetTreasuryAddress(subspaceID)) {
+ if !bytes.Equal(feeGranter, types.GetTreasuryAddress(subspaceID)) {
return ctx, false, nil
}
@@ -123,7 +123,7 @@ func (dfd DeductFeeDecorator) tryHandleSubspaceTx(ctx sdk.Context, tx sdk.FeeTx,
}
// Try using the granted fee grant to deduct the fee. If we can't, it means no grant exists
- used := dfd.sk.UseGrantedFees(ctx, subspaceID, feePayer, fees, tx.GetMsgs())
+ used := dfd.sk.UseGrantedFees(ctx, subspaceID, deductFeesFrom, fees, tx.GetMsgs())
if !used {
return ctx, false, nil
}
@@ -147,7 +147,7 @@ func (dfd DeductFeeDecorator) tryHandleSubspaceTx(ctx sdk.Context, tx sdk.FeeTx,
sdk.NewEvent(
sdk.EventTypeTx,
sdk.NewAttribute(sdk.AttributeKeyFee, fees.String()),
- sdk.NewAttribute(sdk.AttributeKeyFeePayer, deductFeesFrom.String()),
+ sdk.NewAttribute(sdk.AttributeKeyFeePayer, sdk.AccAddress(deductFeesFrom).String()),
),
})
return ctx, true, err
diff --git a/x/subspaces/ante/fee_test.go b/x/subspaces/ante/fee_test.go
index b8a2d6fe38..4758102154 100644
--- a/x/subspaces/ante/fee_test.go
+++ b/x/subspaces/ante/fee_test.go
@@ -3,6 +3,7 @@ package ante_test
import (
"fmt"
+ "cosmossdk.io/math"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
@@ -13,7 +14,7 @@ import (
)
func (suite *AnteTestSuite) TestAnte_Ante() {
- feeAmount := sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100)))
+ feeAmount := sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100)))
signer := sdk.MustAccAddressFromBech32("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5")
granter := types.GetTreasuryAddress(1)
nonTreasuryGranter := sdk.MustAccAddressFromBech32("cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53")
diff --git a/x/subspaces/ante/testutil/expected_keepers_mocks.go b/x/subspaces/ante/testutil/expected_keepers_mocks.go
index f69b935f6e..c5fdb60f91 100644
--- a/x/subspaces/ante/testutil/expected_keepers_mocks.go
+++ b/x/subspaces/ante/testutil/expected_keepers_mocks.go
@@ -5,6 +5,7 @@
package testutil
import (
+ context "context"
reflect "reflect"
types "github.com/cosmos/cosmos-sdk/types"
@@ -37,10 +38,10 @@ func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder {
}
// GetAccount mocks base method.
-func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI {
+func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetAccount", ctx, addr)
- ret0, _ := ret[0].(types0.AccountI)
+ ret0, _ := ret[0].(types.AccountI)
return ret0
}
@@ -65,7 +66,7 @@ func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName interface{}
}
// GetParams mocks base method.
-func (m *MockAccountKeeper) GetParams(ctx types.Context) types0.Params {
+func (m *MockAccountKeeper) GetParams(ctx context.Context) types0.Params {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetParams", ctx)
ret0, _ := ret[0].(types0.Params)
@@ -79,7 +80,7 @@ func (mr *MockAccountKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call
}
// SetAccount mocks base method.
-func (m *MockAccountKeeper) SetAccount(ctx types.Context, acc types0.AccountI) {
+func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types.AccountI) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetAccount", ctx, acc)
}
@@ -114,7 +115,7 @@ func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder {
}
// IsSendEnabledCoins mocks base method.
-func (m *MockBankKeeper) IsSendEnabledCoins(ctx types.Context, coins ...types.Coin) error {
+func (m *MockBankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...types.Coin) error {
m.ctrl.T.Helper()
varargs := []interface{}{ctx}
for _, a := range coins {
@@ -133,7 +134,7 @@ func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins
}
// SendCoins mocks base method.
-func (m *MockBankKeeper) SendCoins(ctx types.Context, from, to types.AccAddress, amt types.Coins) error {
+func (m *MockBankKeeper) SendCoins(ctx context.Context, from, to types.AccAddress, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SendCoins", ctx, from, to, amt)
ret0, _ := ret[0].(error)
@@ -147,7 +148,7 @@ func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, from, to, amt interface{})
}
// SendCoinsFromAccountToModule mocks base method.
-func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error {
+func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SendCoinsFromAccountToModule", ctx, senderAddr, recipientModule, amt)
ret0, _ := ret[0].(error)
diff --git a/x/subspaces/ante/tx_checker_test.go b/x/subspaces/ante/tx_checker_test.go
index 4db9bda2fc..94b046f769 100644
--- a/x/subspaces/ante/tx_checker_test.go
+++ b/x/subspaces/ante/tx_checker_test.go
@@ -3,6 +3,7 @@ package ante_test
import (
"testing"
+ "cosmossdk.io/math"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
@@ -30,7 +31,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
}{
{
name: "standard tx returns no error",
- fees: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(nonSubspaceMsg)
@@ -42,7 +43,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
},
{
name: "standard tx with insufficient fees returns error",
- fees: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10))),
+ fees: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(nonSubspaceMsg)
@@ -54,7 +55,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
},
{
name: "standard tx with subspace fees returns error",
- fees: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(nonSubspaceMsg)
@@ -71,7 +72,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
GetSubspace(gomock.Any(), uint64(1)).
Return(types.Subspace{}, false)
},
- fees: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(msg)
@@ -88,7 +89,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
GetSubspace(gomock.Any(), uint64(1)).
Return(types.Subspace{}, false)
},
- fees: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(msg)
@@ -100,7 +101,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
},
{
name: "manage subspace tx with subspace fees returns error",
- fees: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(manageSubspaceMsg)
@@ -112,7 +113,7 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
},
{
name: "manage subspace tx returns no error",
- fees: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(manageSubspaceMsg)
@@ -129,12 +130,12 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
GetSubspace(gomock.Any(), uint64(1)).
Return(
types.Subspace{
- AdditionalFeeTokens: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(1))),
+ AdditionalFeeTokens: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(1))),
},
true,
)
},
- fees: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(msg)
@@ -151,12 +152,12 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
GetSubspace(gomock.Any(), uint64(1)).
Return(
types.Subspace{
- AdditionalFeeTokens: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(1))),
+ AdditionalFeeTokens: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(1))),
},
true,
)
},
- fees: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(msg)
@@ -173,12 +174,12 @@ func (suite *AnteTestSuite) TestCheckTxFeeWithSubspaceMinPrices() {
GetSubspace(gomock.Any(), uint64(1)).
Return(
types.Subspace{
- AdditionalFeeTokens: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(1))),
+ AdditionalFeeTokens: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(1))),
},
true,
)
},
- fees: sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(100))),
buildTx: func(fees sdk.Coins) sdk.Tx {
txBuilder := suite.clientCtx.TxConfig.NewTxBuilder()
txBuilder.SetMsgs(msg)
@@ -218,17 +219,17 @@ func TestAnte_MergeMinPrices(t *testing.T) {
}{
{
name: "merge existing coin does not update amount properly",
- original: sdk.NewDecCoins(sdk.NewDecCoin("udsm", sdk.NewInt(1000))),
- others: sdk.NewDecCoins(sdk.NewDecCoin("udsm", sdk.NewInt(5000))),
- result: sdk.NewDecCoins(sdk.NewDecCoin("udsm", sdk.NewInt(1000))),
+ original: sdk.NewDecCoins(sdk.NewDecCoin("udsm", math.NewInt(1000))),
+ others: sdk.NewDecCoins(sdk.NewDecCoin("udsm", math.NewInt(5000))),
+ result: sdk.NewDecCoins(sdk.NewDecCoin("udsm", math.NewInt(1000))),
},
{
name: "merge non-existing coin properly",
- original: sdk.NewDecCoins(sdk.NewDecCoin("udsm", sdk.NewInt(1000))),
- others: sdk.NewDecCoins(sdk.NewDecCoin("minttoken", sdk.NewInt(5000))),
+ original: sdk.NewDecCoins(sdk.NewDecCoin("udsm", math.NewInt(1000))),
+ others: sdk.NewDecCoins(sdk.NewDecCoin("minttoken", math.NewInt(5000))),
result: sdk.NewDecCoins(
- sdk.NewDecCoin("udsm", sdk.NewInt(1000)),
- sdk.NewDecCoin("minttoken", sdk.NewInt(5000)),
+ sdk.NewDecCoin("udsm", math.NewInt(1000)),
+ sdk.NewDecCoin("minttoken", math.NewInt(5000)),
),
},
}
diff --git a/x/subspaces/ante/types/expected_keepers.go b/x/subspaces/ante/types/expected_keepers.go
index fab1bc0898..637648dbbf 100644
--- a/x/subspaces/ante/types/expected_keepers.go
+++ b/x/subspaces/ante/types/expected_keepers.go
@@ -1,6 +1,8 @@
package types
import (
+ "context"
+
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -11,19 +13,19 @@ import (
// AccountKeeper represents the expected keeper used to interact with x/auth
type AccountKeeper interface {
- GetParams(ctx sdk.Context) authtypes.Params
- GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
- SetAccount(ctx sdk.Context, acc authtypes.AccountI)
+ GetParams(ctx context.Context) authtypes.Params
+ GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
+ SetAccount(ctx context.Context, acc sdk.AccountI)
GetModuleAddress(moduleName string) sdk.AccAddress
}
// BankKeeper represents the expected keeper used to interact with x/bank
type BankKeeper interface {
- SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
+ SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
// Required by auth AnteHandler
- IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error
- SendCoins(ctx sdk.Context, from, to sdk.AccAddress, amt sdk.Coins) error
+ IsSendEnabledCoins(ctx context.Context, coins ...sdk.Coin) error
+ SendCoins(ctx context.Context, from, to sdk.AccAddress, amt sdk.Coins) error
}
// SubspacesKeeper represents the expected keeper used to interact with x/subspaces
diff --git a/x/subspaces/authz/authz.go b/x/subspaces/authz/authz.go
index 444c73c106..3fcb2e652a 100644
--- a/x/subspaces/authz/authz.go
+++ b/x/subspaces/authz/authz.go
@@ -1,6 +1,8 @@
package authz
import (
+ "context"
+
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
@@ -31,12 +33,13 @@ func (a GenericSubspaceAuthorization) MsgTypeURL() string {
}
// Accept implements Authorization.Accept.
-func (a GenericSubspaceAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error) {
+func (a GenericSubspaceAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error) {
switch msg := msg.(type) {
case types.SubspaceMsg:
for _, subspaceID := range a.SubspacesIDs {
- ctx.GasMeter().ConsumeGas(gasCostPerIteration, "generic subspace authorization")
+ sdkCtx := sdk.UnwrapSDKContext(ctx)
+ sdkCtx.GasMeter().ConsumeGas(gasCostPerIteration, "generic subspace authorization")
if subspaceID == msg.GetSubspaceID() {
return authz.AcceptResponse{Accept: true}, nil
}
diff --git a/x/subspaces/authz/authz.pb.go b/x/subspaces/authz/authz.pb.go
index 90c27b14ae..a467bd5547 100644
--- a/x/subspaces/authz/authz.pb.go
+++ b/x/subspaces/authz/authz.pb.go
@@ -107,9 +107,9 @@ var fileDescriptor_a9e0e1d4a7397c6c = []byte{
0x52, 0x4b, 0x12, 0x0d, 0xf5, 0x50, 0x6c, 0x75, 0xf2, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23,
0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6,
0x63, 0x39, 0x86, 0x28, 0xa3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d,
- 0x48, 0xd0, 0xe8, 0xe6, 0x24, 0x26, 0x15, 0x43, 0xd9, 0xfa, 0x65, 0xa6, 0xfa, 0x15, 0x48, 0x41,
- 0x0a, 0xb6, 0x23, 0x89, 0x0d, 0xec, 0x57, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xba, 0xe7,
- 0x28, 0xb3, 0x73, 0x01, 0x00, 0x00,
+ 0x48, 0xd0, 0xe8, 0xe6, 0x24, 0x26, 0x15, 0x43, 0xd9, 0xfa, 0x65, 0x66, 0xfa, 0x15, 0x48, 0x41,
+ 0x0a, 0xb6, 0x23, 0x89, 0x0d, 0xec, 0x57, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x79, 0xca,
+ 0xbc, 0x00, 0x73, 0x01, 0x00, 0x00,
}
func (m *GenericSubspaceAuthorization) Marshal() (dAtA []byte, err error) {
diff --git a/x/subspaces/authz/authz_test.go b/x/subspaces/authz/authz_test.go
index c00f55bef0..b5bdf46c5f 100644
--- a/x/subspaces/authz/authz_test.go
+++ b/x/subspaces/authz/authz_test.go
@@ -3,7 +3,7 @@ package authz_test
import (
"testing"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
cosmosauthz "github.com/cosmos/cosmos-sdk/x/authz"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
diff --git a/x/subspaces/authz/codec.go b/x/subspaces/authz/codec.go
index d053edbf07..fcb3c965e9 100644
--- a/x/subspaces/authz/codec.go
+++ b/x/subspaces/authz/codec.go
@@ -4,7 +4,6 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/x/authz"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
)
// RegisterLegacyAminoCodec registers the necessary interfaces and concrete types
@@ -20,9 +19,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
&GenericSubspaceAuthorization{},
)
}
-
-func init() {
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-}
diff --git a/x/subspaces/client/cli/cli_test.go b/x/subspaces/client/cli/cli_test.go
index cf4530d59f..d803b3be93 100644
--- a/x/subspaces/client/cli/cli_test.go
+++ b/x/subspaces/client/cli/cli_test.go
@@ -8,9 +8,10 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
+ feegrantcli "cosmossdk.io/x/feegrant/client/cli"
authzcli "github.com/cosmos/cosmos-sdk/x/authz/client/cli"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
- feegrantcli "github.com/cosmos/cosmos-sdk/x/feegrant/client/cli"
"github.com/stretchr/testify/suite"
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
@@ -123,25 +124,25 @@ func (s *IntegrationTestSuite) SetupSuite() {
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
types.NewGrant(
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewUserGrantee("cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
types.NewGrant(
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
types.NewGrant(
2,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
)
@@ -622,7 +623,7 @@ func (s *IntegrationTestSuite) TestCmdQueryUserAllowances() {
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -641,7 +642,7 @@ func (s *IntegrationTestSuite) TestCmdQueryUserAllowances() {
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -707,7 +708,7 @@ func (s *IntegrationTestSuite) TestCmdQueryGroupAllowances() {
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -726,7 +727,7 @@ func (s *IntegrationTestSuite) TestCmdQueryGroupAllowances() {
1,
"cosmos1a0cj0j6ujn2xap8p40y6648d0w2npytw3xvenm",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -780,7 +781,7 @@ func (s *IntegrationTestSuite) TestCmdCreateSubspace() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -794,7 +795,7 @@ func (s *IntegrationTestSuite) TestCmdCreateSubspace() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -855,7 +856,7 @@ func (s *IntegrationTestSuite) TestCmdEditSubspace() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -899,7 +900,7 @@ func (s *IntegrationTestSuite) TestCmdDeleteSubspace() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -956,7 +957,7 @@ func (s *IntegrationTestSuite) TestCmdCreateSection() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1011,7 +1012,7 @@ func (s *IntegrationTestSuite) TestCmdEditSection() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1064,7 +1065,7 @@ func (s *IntegrationTestSuite) TestCmdMoveSection() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1117,7 +1118,7 @@ func (s *IntegrationTestSuite) TestCmdDeleteSection() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1170,7 +1171,7 @@ func (s *IntegrationTestSuite) TestCmdCreateUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1220,7 +1221,7 @@ func (s *IntegrationTestSuite) TestCmdEditUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1233,7 +1234,7 @@ func (s *IntegrationTestSuite) TestCmdEditUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1279,7 +1280,7 @@ func (s *IntegrationTestSuite) TestCmdMoveUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1328,7 +1329,7 @@ func (s *IntegrationTestSuite) TestCmdSetUserGroupPermissions() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1340,7 +1341,7 @@ func (s *IntegrationTestSuite) TestCmdSetUserGroupPermissions() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1389,7 +1390,7 @@ func (s *IntegrationTestSuite) TestCmdDeleteUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1443,7 +1444,7 @@ func (s *IntegrationTestSuite) TestCmdAddUserToUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1497,7 +1498,7 @@ func (s *IntegrationTestSuite) TestCmdRemoveUserFromUserGroup() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1553,7 +1554,7 @@ func (s *IntegrationTestSuite) TestCmdSetPermissions() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1628,7 +1629,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1702,7 +1703,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization_SendAuthorizati
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1717,7 +1718,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization_SendAuthorizati
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1760,7 +1761,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization_GenericAuthoriz
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1855,7 +1856,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization_StakeAuthorizat
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1871,7 +1872,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization_StakeAuthorizat
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1887,7 +1888,7 @@ func (s *IntegrationTestSuite) TestCmdGrantTreasuryAuthorization_StakeAuthorizat
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -1946,7 +1947,7 @@ func (s *IntegrationTestSuite) TestCmdRevokeTreasuryAuthorization() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -2052,7 +2053,7 @@ func (s *IntegrationTestSuite) TestCmdGrantAllowance() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -2068,7 +2069,7 @@ func (s *IntegrationTestSuite) TestCmdGrantAllowance() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
),
shouldErr: false,
@@ -2086,7 +2087,7 @@ func (s *IntegrationTestSuite) TestCmdGrantAllowance() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
),
shouldErr: false,
@@ -2102,7 +2103,7 @@ func (s *IntegrationTestSuite) TestCmdGrantAllowance() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
),
shouldErr: false,
@@ -2170,7 +2171,7 @@ func (s *IntegrationTestSuite) TestCmdRevokeAllowance() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/subspaces/client/cli/tx.go b/x/subspaces/client/cli/tx.go
index 0d233a093b..4bdc87bc21 100644
--- a/x/subspaces/client/cli/tx.go
+++ b/x/subspaces/client/cli/tx.go
@@ -5,10 +5,10 @@ import (
"strings"
"time"
+ "cosmossdk.io/x/feegrant"
+ feegrantcli "cosmossdk.io/x/feegrant/client/cli"
"github.com/cosmos/cosmos-sdk/x/authz"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
- feegrantcli "github.com/cosmos/cosmos-sdk/x/feegrant/client/cli"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/spf13/pflag"
diff --git a/x/subspaces/keeper/alias_functions.go b/x/subspaces/keeper/alias_functions.go
index fb8de1a5eb..fd8898abd9 100644
--- a/x/subspaces/keeper/alias_functions.go
+++ b/x/subspaces/keeper/alias_functions.go
@@ -3,6 +3,7 @@ package keeper
import (
"bytes"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -26,7 +27,7 @@ func (k Keeper) createAccountIfNotExists(ctx sdk.Context, user string) {
// IterateSubspaces iterates through the subspaces set and performs the given function
func (k Keeper) IterateSubspaces(ctx sdk.Context, fn func(subspace types.Subspace) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspacePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspacePrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -55,7 +56,7 @@ func (k Keeper) GetAllSubspaces(ctx sdk.Context) []types.Subspace {
// IterateSections iterates over all the sections stored and performs the provided function
func (k Keeper) IterateSections(ctx sdk.Context, fn func(section types.Section) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SectionsPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.SectionsPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -81,7 +82,7 @@ func (k Keeper) GetAllSections(ctx sdk.Context) []types.Section {
// IterateSubspaceSections iterates over all the sections for the given subspace and performs the provided function
func (k Keeper) IterateSubspaceSections(ctx sdk.Context, subspaceID uint64, fn func(section types.Section) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceSectionsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceSectionsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -139,7 +140,7 @@ func (k Keeper) IterateSectionChildren(ctx sdk.Context, subspaceID uint64, secti
// IterateUserGroups iterates over all the users groups stored
func (k Keeper) IterateUserGroups(ctx sdk.Context, fn func(group types.UserGroup) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.GroupsPrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.GroupsPrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -165,7 +166,7 @@ func (k Keeper) GetAllUserGroups(ctx sdk.Context) []types.UserGroup {
// IterateSubspaceUserGroups allows iterating over all the groups that are part of the subspace having the given id
func (k Keeper) IterateSubspaceUserGroups(ctx sdk.Context, subspaceID uint64, fn func(group types.UserGroup) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceGroupsPrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceGroupsPrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -191,7 +192,7 @@ func (k Keeper) GetSubspaceUserGroups(ctx sdk.Context, subspaceID uint64) []type
// IterateSectionUserGroups iterates over all the user groups for the given section and performs the provided function
func (k Keeper) IterateSectionUserGroups(ctx sdk.Context, subspaceID uint64, sectionID uint32, fn func(group types.UserGroup) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SectionGroupsPrefix(subspaceID, sectionID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SectionGroupsPrefix(subspaceID, sectionID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -223,7 +224,7 @@ func (k Keeper) IterateUserGroupsMembers(ctx sdk.Context, fn func(entry types.Us
store := ctx.KVStore(k.storeKey)
prefix := types.GroupsMembersPrefix
- iterator := sdk.KVStorePrefixIterator(store, prefix)
+ iterator := storetypes.KVStorePrefixIterator(store, prefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -240,7 +241,7 @@ func (k Keeper) IterateUserGroupMembers(ctx sdk.Context, subspaceID uint64, grou
store := ctx.KVStore(k.storeKey)
prefix := types.GroupMembersPrefix(subspaceID, groupID)
- iterator := sdk.KVStorePrefixIterator(store, prefix)
+ iterator := storetypes.KVStorePrefixIterator(store, prefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -270,7 +271,7 @@ func (k Keeper) IterateUserPermissions(ctx sdk.Context, fn func(entry types.User
store := ctx.KVStore(k.storeKey)
prefix := types.UserPermissionsStorePrefix
- iterator := sdk.KVStorePrefixIterator(store, prefix)
+ iterator := storetypes.KVStorePrefixIterator(store, prefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -289,7 +290,7 @@ func (k Keeper) IterateSubspaceUserPermissions(ctx sdk.Context, subspaceID uint6
store := ctx.KVStore(k.storeKey)
prefix := types.SubspacePermissionsPrefix(subspaceID)
- iterator := sdk.KVStorePrefixIterator(store, prefix)
+ iterator := storetypes.KVStorePrefixIterator(store, prefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -318,7 +319,7 @@ func (k Keeper) IterateSectionUserPermissions(ctx sdk.Context, subspaceID uint64
store := ctx.KVStore(k.storeKey)
prefix := types.SectionPermissionsPrefix(subspaceID, sectionID)
- iterator := sdk.KVStorePrefixIterator(store, prefix)
+ iterator := storetypes.KVStorePrefixIterator(store, prefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -352,7 +353,7 @@ func (k Keeper) GetAllGrants(ctx sdk.Context) []types.Grant {
// IterateUserGrants iterates through the user grants and performs the given function
func (k Keeper) IterateUserGrants(ctx sdk.Context, fn func(grant types.Grant) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.UserAllowancePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.UserAllowancePrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -368,7 +369,7 @@ func (k Keeper) IterateUserGrants(ctx sdk.Context, fn func(grant types.Grant) (s
// IterateSubspaceUserGrants iterates over all the user grants inside the subspace with the given id
func (k Keeper) IterateSubspaceUserGrants(ctx sdk.Context, subspaceID uint64, fn func(grant types.Grant) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.SubspaceUserAllowancePrefix(subspaceID))
+ iterator := storetypes.KVStorePrefixIterator(store, types.SubspaceUserAllowancePrefix(subspaceID))
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -407,7 +408,7 @@ func (k Keeper) GetSubspaceUserGrants(ctx sdk.Context, subspaceID uint64) []type
// IterateUserGroupsGrants iterates through the group grants and performs the given function
func (k Keeper) IterateUserGroupsGrants(ctx sdk.Context, fn func(grant types.Grant) (stop bool)) {
store := ctx.KVStore(k.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.GroupAllowancePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.GroupAllowancePrefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
@@ -424,7 +425,7 @@ func (k Keeper) IterateUserGroupsGrants(ctx sdk.Context, fn func(grant types.Gra
func (k Keeper) IterateSubspaceUserGroupGrants(ctx sdk.Context, subspaceID uint64, fn func(grant types.Grant) (stop bool)) {
store := ctx.KVStore(k.storeKey)
prefix := types.SubspaceGroupAllowancePrefix(subspaceID)
- iterator := sdk.KVStorePrefixIterator(store, prefix)
+ iterator := storetypes.KVStorePrefixIterator(store, prefix)
defer iterator.Close()
for ; iterator.Valid(); iterator.Next() {
diff --git a/x/subspaces/keeper/common_test.go b/x/subspaces/keeper/common_test.go
index 2004ab75fe..79cfe5e0be 100644
--- a/x/subspaces/keeper/common_test.go
+++ b/x/subspaces/keeper/common_test.go
@@ -6,13 +6,16 @@ import (
"github.com/desmos-labs/desmos/v6/x/subspaces/keeper"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -41,12 +44,12 @@ func TestKeeperTestSuite(t *testing.T) {
func (suite *KeeperTestSuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey, authtypes.StoreKey, authzkeeper.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey, authzkeeper.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -61,13 +64,14 @@ func (suite *KeeperTestSuite) SetupTest() {
// Dependencies initialization
suite.ak = authkeeper.NewAccountKeeper(
suite.cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
- suite.authzKeeper = authzkeeper.NewKeeper(keys[authzkeeper.StoreKey], suite.cdc, &baseapp.MsgServiceRouter{}, suite.ak)
+ suite.authzKeeper = authzkeeper.NewKeeper(runtime.NewKVStoreService(keys[authzkeeper.StoreKey]), suite.cdc, &baseapp.MsgServiceRouter{}, suite.ak)
// Define keeper
suite.k = keeper.NewKeeper(suite.cdc, suite.storeKey, suite.ak, suite.authzKeeper, authtypes.NewModuleAddress("gov").String())
@@ -75,7 +79,7 @@ func (suite *KeeperTestSuite) SetupTest() {
func (suite *KeeperTestSuite) getAllGrantsInExpiringQueue(ctx sdk.Context) []types.Grant {
store := ctx.KVStore(suite.storeKey)
- iterator := sdk.KVStorePrefixIterator(store, types.ExpiringAllowanceQueuePrefix)
+ iterator := storetypes.KVStorePrefixIterator(store, types.ExpiringAllowanceQueuePrefix)
defer iterator.Close()
var grants []types.Grant
diff --git a/x/subspaces/keeper/feegrant_test.go b/x/subspaces/keeper/feegrant_test.go
index a9e7ea97d0..e1c351cd17 100644
--- a/x/subspaces/keeper/feegrant_test.go
+++ b/x/subspaces/keeper/feegrant_test.go
@@ -3,8 +3,9 @@ package keeper_test
import (
"time"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
)
@@ -22,7 +23,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
check: func(ctx sdk.Context) {
grant, found := suite.k.GetUserGrant(ctx, 1, "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5")
@@ -33,7 +34,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
), grant)
// Check if account is set properly
@@ -48,14 +49,14 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
))
},
grant: types.NewGrant(
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
check: func(ctx sdk.Context) {
grant, found := suite.k.GetUserGrant(ctx, 1, "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5")
@@ -66,7 +67,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
), grant)
// Check if account is set properly
@@ -80,7 +81,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
check: func(ctx sdk.Context) {
grant, found := suite.k.GetGroupGrant(ctx, 1, 1)
@@ -91,7 +92,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
), grant)
},
},
@@ -102,14 +103,14 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
))
},
grant: types.NewGrant(
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
check: func(ctx sdk.Context) {
grant, found := suite.k.GetGroupGrant(ctx, 1, 1)
@@ -120,7 +121,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
), grant)
},
},
@@ -159,7 +160,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
},
),
check: func(ctx sdk.Context) {
@@ -176,7 +177,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &newExpiration,
},
),
@@ -199,7 +200,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
))
@@ -209,7 +210,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
},
),
check: func(ctx sdk.Context) {
@@ -227,7 +228,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
))
@@ -237,7 +238,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &newExpiration,
},
),
@@ -267,7 +268,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
},
))
},
@@ -276,7 +277,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
},
),
check: func(ctx sdk.Context) {
@@ -294,7 +295,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
},
))
},
@@ -303,7 +304,7 @@ func (suite *KeeperTestSuite) TestKeeper_SaveAllowanceToExpirationQueue() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &newExpiration,
},
),
@@ -359,7 +360,7 @@ func (suite *KeeperTestSuite) TestKeeper_HasUserGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
))
},
subspaceID: 1,
@@ -404,7 +405,7 @@ func (suite *KeeperTestSuite) TestKeeper_GetUserGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
))
},
subspaceID: 1,
@@ -414,7 +415,7 @@ func (suite *KeeperTestSuite) TestKeeper_GetUserGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
),
},
}
@@ -463,7 +464,7 @@ func (suite *KeeperTestSuite) TestKeeper_DeleteUserGrant() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
))
@@ -520,7 +521,7 @@ func (suite *KeeperTestSuite) TestKeeper_HasGroupGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
))
},
subspaceID: 1,
@@ -568,7 +569,7 @@ func (suite *KeeperTestSuite) TestKeeper_GetGroupGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
))
},
subspaceID: 1,
@@ -579,7 +580,7 @@ func (suite *KeeperTestSuite) TestKeeper_GetGroupGrant() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1)))},
),
},
}
@@ -628,7 +629,7 @@ func (suite *KeeperTestSuite) TestKeeper_DeleteGroupGrant() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
))
@@ -679,7 +680,7 @@ func (suite *KeeperTestSuite) TestKeeper_RemoveExpiredAllowances() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
))
@@ -704,7 +705,7 @@ func (suite *KeeperTestSuite) TestKeeper_RemoveExpiredAllowances() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
))
@@ -755,7 +756,7 @@ func (suite *KeeperTestSuite) TestKeeper_UseUserGrantedFees() {
name: "not existing grant returns false",
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
expUsed: false,
},
{
@@ -765,12 +766,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseUserGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(101))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(101))),
expUsed: false,
},
{
@@ -780,12 +781,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseUserGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(10))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(10))),
expUsed: true,
check: func(ctx sdk.Context) {
grant, found := suite.k.GetUserGrant(ctx, 1, "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5")
@@ -794,7 +795,7 @@ func (suite *KeeperTestSuite) TestKeeper_UseUserGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(90)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(90)))},
), grant)
},
},
@@ -805,12 +806,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseUserGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
expUsed: true,
check: func(ctx sdk.Context) {
suite.Require().False(suite.k.HasUserGrant(ctx, 1, "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"))
@@ -852,7 +853,7 @@ func (suite *KeeperTestSuite) TestKeeper_UseGroupGrantedFees() {
name: "not existing grant returns false",
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
expUsed: false,
},
{
@@ -862,12 +863,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseGroupGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
expUsed: false,
},
{
@@ -878,12 +879,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseGroupGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(101))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(101))),
expUsed: false,
},
{
@@ -894,12 +895,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseGroupGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(10))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(10))),
expUsed: true,
check: func(ctx sdk.Context) {
grant, found := suite.k.GetGroupGrant(ctx, 1, 1)
@@ -907,7 +908,7 @@ func (suite *KeeperTestSuite) TestKeeper_UseGroupGrantedFees() {
suite.Require().Equal(types.NewGrant(1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(90)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(90)))},
), grant)
},
},
@@ -919,12 +920,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseGroupGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
expUsed: true,
check: func(ctx sdk.Context) {
suite.Require().False(suite.k.HasGroupGrant(ctx, 1, 1))
@@ -964,7 +965,7 @@ func (suite *KeeperTestSuite) TestKeeper_UseGrantedFees() {
name: "not existing grant returns false",
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
expUsed: false,
},
{
@@ -974,12 +975,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(10))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(10))),
expUsed: true,
},
{
@@ -990,12 +991,12 @@ func (suite *KeeperTestSuite) TestKeeper_UseGrantedFees() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
subspaceID: 1,
grantee: "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
- fees: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(10))),
+ fees: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(10))),
expUsed: true,
},
}
diff --git a/x/subspaces/keeper/genesis_test.go b/x/subspaces/keeper/genesis_test.go
index a396e6df41..45b0c0615e 100644
--- a/x/subspaces/keeper/genesis_test.go
+++ b/x/subspaces/keeper/genesis_test.go
@@ -3,8 +3,9 @@ package keeper_test
import (
"time"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
)
@@ -320,7 +321,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
))
@@ -330,7 +331,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
))
@@ -366,7 +367,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
),
@@ -375,7 +376,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
),
@@ -414,7 +415,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
))
@@ -423,7 +424,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(2),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
))
@@ -470,7 +471,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
),
@@ -479,7 +480,7 @@ func (suite *KeeperTestSuite) TestKeeper_ExportGenesis() {
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(2),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
),
@@ -658,7 +659,7 @@ func (suite *KeeperTestSuite) TestKeeper_InitGenesis() {
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
types.NewUserGrantee("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
),
@@ -672,7 +673,7 @@ func (suite *KeeperTestSuite) TestKeeper_InitGenesis() {
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
types.NewUserGrantee("cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
), stored)
@@ -694,7 +695,7 @@ func (suite *KeeperTestSuite) TestKeeper_InitGenesis() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
),
@@ -708,7 +709,7 @@ func (suite *KeeperTestSuite) TestKeeper_InitGenesis() {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
Expiration: &expiration,
},
), stored)
diff --git a/x/subspaces/keeper/groups_test.go b/x/subspaces/keeper/groups_test.go
index 559c6cb385..0eabbdd39d 100644
--- a/x/subspaces/keeper/groups_test.go
+++ b/x/subspaces/keeper/groups_test.go
@@ -1,8 +1,8 @@
package keeper_test
import (
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
)
diff --git a/x/subspaces/keeper/grpc_query.go b/x/subspaces/keeper/grpc_query.go
index 0a74c8e818..92586a8fe1 100644
--- a/x/subspaces/keeper/grpc_query.go
+++ b/x/subspaces/keeper/grpc_query.go
@@ -7,7 +7,7 @@ import (
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
"cosmossdk.io/errors"
- "github.com/cosmos/cosmos-sdk/store/prefix"
+ "cosmossdk.io/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
diff --git a/x/subspaces/keeper/grpc_query_test.go b/x/subspaces/keeper/grpc_query_test.go
index 95db61aa03..bdcbfa12e5 100644
--- a/x/subspaces/keeper/grpc_query_test.go
+++ b/x/subspaces/keeper/grpc_query_test.go
@@ -5,9 +5,10 @@ import (
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
)
func (suite *KeeperTestSuite) TestQueryServer_Subspaces() {
@@ -80,7 +81,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Subspaces() {
tc.store(ctx)
}
- res, err := suite.k.Subspaces(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Subspaces(ctx, tc.req)
suite.Require().NoError(err)
suite.Require().Equal(tc.expSubspaces, res.Subspaces)
})
@@ -139,7 +140,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Subspace() {
tc.store(ctx)
}
- response, err := suite.k.Subspace(sdk.WrapSDKContext(ctx), tc.request)
+ response, err := suite.k.Subspace(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -268,7 +269,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Sections() {
tc.store(ctx)
}
- res, err := suite.k.Sections(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Sections(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -351,7 +352,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Section() {
tc.store(ctx)
}
- res, err := suite.k.Section(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Section(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -500,7 +501,7 @@ func (suite *KeeperTestSuite) TestQueryServer_UserGroups() {
tc.store(ctx)
}
- res, err := suite.k.UserGroups(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.UserGroups(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -568,7 +569,7 @@ func (suite *KeeperTestSuite) TestQueryServer_UserGroup() {
tc.store(ctx)
}
- res, err := suite.k.UserGroup(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.UserGroup(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -653,7 +654,7 @@ func (suite *KeeperTestSuite) TestQueryServer_UserGroupMembers() {
tc.store(ctx)
}
- res, err := suite.k.UserGroupMembers(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.UserGroupMembers(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -779,7 +780,7 @@ func (suite *KeeperTestSuite) TestQueryServer_UserPermissions() {
tc.store(ctx)
}
- res, err := suite.k.UserPermissions(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.UserPermissions(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -818,14 +819,14 @@ func (suite *KeeperTestSuite) TestQueryServer_UserAllowances() {
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
suite.k.SaveGrant(ctx, types.NewGrant(
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
req: types.NewQueryUserAllowancesRequest(1, "", nil),
@@ -835,13 +836,13 @@ func (suite *KeeperTestSuite) TestQueryServer_UserAllowances() {
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
types.NewGrant(
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -853,14 +854,14 @@ func (suite *KeeperTestSuite) TestQueryServer_UserAllowances() {
suite.k.SaveGrant(ctx, types.NewGrant(1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
suite.k.SaveGrant(ctx, types.NewGrant(
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
req: types.NewQueryUserAllowancesRequest(1, "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5", nil),
@@ -870,7 +871,7 @@ func (suite *KeeperTestSuite) TestQueryServer_UserAllowances() {
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -884,7 +885,7 @@ func (suite *KeeperTestSuite) TestQueryServer_UserAllowances() {
tc.store(ctx)
}
- res, err := suite.k.UserAllowances(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.UserAllowances(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -925,13 +926,13 @@ func (suite *KeeperTestSuite) TestQueryServer_GroupAllowances() {
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
suite.k.SaveGrant(ctx, types.NewGrant(
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(2),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
req: types.NewQueryGroupAllowancesRequest(1, 0, nil),
@@ -940,12 +941,12 @@ func (suite *KeeperTestSuite) TestQueryServer_GroupAllowances() {
types.NewGrant(1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
types.NewGrant(1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(2),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -961,13 +962,13 @@ func (suite *KeeperTestSuite) TestQueryServer_GroupAllowances() {
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
suite.k.SaveGrant(ctx, types.NewGrant(
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(2),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
req: types.NewQueryGroupAllowancesRequest(1, 1, nil),
@@ -977,7 +978,7 @@ func (suite *KeeperTestSuite) TestQueryServer_GroupAllowances() {
1,
"cosmos1cjf97gpzwmaf30pzvaargfgr884mpp5ak8f7ns",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
},
},
@@ -991,7 +992,7 @@ func (suite *KeeperTestSuite) TestQueryServer_GroupAllowances() {
tc.store(ctx)
}
- res, err := suite.k.GroupAllowances(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.GroupAllowances(ctx, tc.req)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/subspaces/keeper/invariants_test.go b/x/subspaces/keeper/invariants_test.go
index 03a9f66d7a..37ac18f6bb 100644
--- a/x/subspaces/keeper/invariants_test.go
+++ b/x/subspaces/keeper/invariants_test.go
@@ -6,8 +6,8 @@ import (
"github.com/desmos-labs/desmos/v6/x/subspaces/keeper"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
)
func (suite *KeeperTestSuite) TestValidSubspacesInvariant() {
diff --git a/x/subspaces/keeper/keeper.go b/x/subspaces/keeper/keeper.go
index 960f09707f..dccf3d7b79 100644
--- a/x/subspaces/keeper/keeper.go
+++ b/x/subspaces/keeper/keeper.go
@@ -1,9 +1,9 @@
package keeper
import (
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
diff --git a/x/subspaces/keeper/msg_server_test.go b/x/subspaces/keeper/msg_server_test.go
index 5e4cf1315f..73e9b7c8a8 100644
--- a/x/subspaces/keeper/msg_server_test.go
+++ b/x/subspaces/keeper/msg_server_test.go
@@ -3,10 +3,11 @@ package keeper_test
import (
"time"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/x/subspaces/keeper"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
@@ -148,7 +149,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateSubspace() {
// Run the fist subspace creation message
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.CreateSubspace(sdk.WrapSDKContext(ctx), types.NewMsgCreateSubspace(
+ _, err := msgServer.CreateSubspace(ctx, types.NewMsgCreateSubspace(
"Test subspace",
"This is a test subspace",
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
@@ -211,7 +212,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateSubspace() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- res, err := service.CreateSubspace(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := service.CreateSubspace(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -391,7 +392,7 @@ func (suite *KeeperTestSuite) TestMsgServer_EditSubspace() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.EditSubspace(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.EditSubspace(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -502,7 +503,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeleteSubspace() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.DeleteSubspace(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.DeleteSubspace(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -746,7 +747,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateSection() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.CreateSection(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.CreateSection(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -940,7 +941,7 @@ func (suite *KeeperTestSuite) TestMsgServer_EditSection() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.EditSection(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.EditSection(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1195,7 +1196,7 @@ func (suite *KeeperTestSuite) TestMsgServer_MoveSection() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.MoveSection(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.MoveSection(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1335,7 +1336,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeleteSection() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- _, err := msgServer.DeleteSection(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := msgServer.DeleteSection(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -1569,7 +1570,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateUserGroup() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- res, err := service.CreateUserGroup(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := service.CreateUserGroup(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -1768,7 +1769,7 @@ func (suite *KeeperTestSuite) TestMsgServer_EditUserGroup() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.EditUserGroup(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.EditUserGroup(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -2075,7 +2076,7 @@ func (suite *KeeperTestSuite) TestMsgServer_MoveUserGroup() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.MoveUserGroup(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.MoveUserGroup(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -2338,7 +2339,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SetUserGroupPermissions() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.SetUserGroupPermissions(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.SetUserGroupPermissions(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -2481,7 +2482,7 @@ func (suite *KeeperTestSuite) TestMsgServer_DeleteUserGroup() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.DeleteUserGroup(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.DeleteUserGroup(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -2661,7 +2662,7 @@ func (suite *KeeperTestSuite) TestMsgServer_AddUserToGroup() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.AddUserToUserGroup(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.AddUserToUserGroup(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -2840,7 +2841,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RemoveUserFromGroup() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.RemoveUserFromUserGroup(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.RemoveUserFromUserGroup(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3005,7 +3006,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SetUserPermissions() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.SetUserPermissions(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.SetUserPermissions(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3034,7 +3035,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
name: "invalid authority return error",
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
"invalid",
),
shouldErr: true,
@@ -3043,7 +3044,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
name: "subspace not found returns error",
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
authtypes.NewModuleAddress("gov").String(),
),
shouldErr: true,
@@ -3064,7 +3065,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
},
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.Coins{{Denom: "minttoken", Amount: sdk.NewInt(-10)}},
+ sdk.Coins{{Denom: "minttoken", Amount: math.NewInt(-10)}},
authtypes.NewModuleAddress("gov").String(),
),
shouldErr: true,
@@ -3085,7 +3086,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
},
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
authtypes.NewModuleAddress("gov").String(),
),
shouldErr: true,
@@ -3106,7 +3107,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
},
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
authtypes.NewModuleAddress("gov").String(),
),
shouldErr: false,
@@ -3127,7 +3128,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
time.Date(2020, 1, 1, 12, 00, 00, 000, time.UTC),
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
)
suite.Require().Equal(expected, subspace)
@@ -3145,7 +3146,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateSubspaceFeeTokens() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.UpdateSubspaceFeeTokens(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.UpdateSubspaceFeeTokens(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3328,7 +3329,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantTreasuryAuthorization() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- res, err := service.GrantTreasuryAuthorization(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := service.GrantTreasuryAuthorization(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3552,7 +3553,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RevokeTreasuryAuthorization() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- res, err := service.RevokeTreasuryAuthorization(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := service.RevokeTreasuryAuthorization(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3589,7 +3590,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: true,
},
@@ -3611,7 +3612,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: true,
},
@@ -3640,14 +3641,14 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
msg: types.NewMsgGrantAllowance(
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: true,
},
@@ -3676,7 +3677,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: true,
},
@@ -3714,14 +3715,14 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
msg: types.NewMsgGrantAllowance(
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: true,
},
@@ -3750,7 +3751,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: false,
expEvents: sdk.Events{
@@ -3768,7 +3769,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
), grant)
},
},
@@ -3806,7 +3807,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
),
shouldErr: false,
expEvents: sdk.Events{
@@ -3823,7 +3824,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
suite.Require().Equal(types.NewGrant(1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
), grant)
},
},
@@ -3839,7 +3840,7 @@ func (suite *KeeperTestSuite) TestMsgServer_GrantAllowance() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.GrantAllowance(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.GrantAllowance(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
@@ -3966,7 +3967,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RevokeAllowance() {
1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
msg: types.NewMsgRevokeAllowance(
@@ -4011,7 +4012,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RevokeAllowance() {
suite.k.SaveGrant(ctx, types.NewGrant(1,
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))},
))
},
msg: types.NewMsgRevokeAllowance(
@@ -4044,7 +4045,7 @@ func (suite *KeeperTestSuite) TestMsgServer_RevokeAllowance() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.RevokeAllowance(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.RevokeAllowance(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/subspaces/keeper/subspaces_test.go b/x/subspaces/keeper/subspaces_test.go
index 2a211d1ed9..cdba80dddd 100644
--- a/x/subspaces/keeper/subspaces_test.go
+++ b/x/subspaces/keeper/subspaces_test.go
@@ -3,8 +3,8 @@ package keeper_test
import (
"time"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
)
diff --git a/x/subspaces/legacy/v2/authz.go b/x/subspaces/legacy/v2/authz.go
index b74127827d..1a2020f98e 100644
--- a/x/subspaces/legacy/v2/authz.go
+++ b/x/subspaces/legacy/v2/authz.go
@@ -3,6 +3,8 @@ package v2
// DONTCOVER
import (
+ "context"
+
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
@@ -33,12 +35,13 @@ func (a GenericSubspaceAuthorization) MsgTypeURL() string {
}
// Accept implements Authorization.Accept.
-func (a GenericSubspaceAuthorization) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error) {
+func (a GenericSubspaceAuthorization) Accept(ctx context.Context, msg sdk.Msg) (authz.AcceptResponse, error) {
switch msg := msg.(type) {
case types.SubspaceMsg:
for _, subspaceID := range a.SubspacesIDs {
- ctx.GasMeter().ConsumeGas(gasCostPerIteration, "generic subspace authorization")
+ sdkCtx := sdk.UnwrapSDKContext(ctx)
+ sdkCtx.GasMeter().ConsumeGas(gasCostPerIteration, "generic subspace authorization")
if subspaceID == msg.GetSubspaceID() {
return authz.AcceptResponse{Accept: true}, nil
}
diff --git a/x/subspaces/legacy/v2/authz.pb.go b/x/subspaces/legacy/v2/authz.pb.go
index 061d5ab2a7..2b7a022fd3 100644
--- a/x/subspaces/legacy/v2/authz.pb.go
+++ b/x/subspaces/legacy/v2/authz.pb.go
@@ -105,9 +105,9 @@ var fileDescriptor_21914b81942bd86e = []byte{
0x52, 0x4b, 0x12, 0x0d, 0xf5, 0x50, 0x2c, 0x74, 0x0a, 0x38, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23,
0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6,
0x63, 0x39, 0x86, 0x28, 0xb3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d,
- 0x48, 0x10, 0xe8, 0xe6, 0x24, 0x26, 0x15, 0x43, 0xd9, 0xfa, 0x65, 0xa6, 0xfa, 0x15, 0x48, 0x41,
+ 0x48, 0x10, 0xe8, 0xe6, 0x24, 0x26, 0x15, 0x43, 0xd9, 0xfa, 0x65, 0x66, 0xfa, 0x15, 0x48, 0x41,
0x97, 0x93, 0x9a, 0x9e, 0x98, 0x5c, 0xa9, 0x5f, 0x66, 0x94, 0xc4, 0x06, 0xf6, 0xaa, 0x31, 0x20,
- 0x00, 0x00, 0xff, 0xff, 0x44, 0x61, 0x9f, 0x0e, 0x5f, 0x01, 0x00, 0x00,
+ 0x00, 0x00, 0xff, 0xff, 0x37, 0x58, 0xb7, 0x1d, 0x5f, 0x01, 0x00, 0x00,
}
func (m *GenericSubspaceAuthorization) Marshal() (dAtA []byte, err error) {
diff --git a/x/subspaces/legacy/v2/models.pb.go b/x/subspaces/legacy/v2/models.pb.go
index 52cd07bbd3..aa6a1d93e0 100644
--- a/x/subspaces/legacy/v2/models.pb.go
+++ b/x/subspaces/legacy/v2/models.pb.go
@@ -398,7 +398,7 @@ var fileDescriptor_58f218b6c9069791 = []byte{
// 656 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x3f, 0x6f, 0xd3, 0x40,
0x18, 0xc6, 0xed, 0xfc, 0x69, 0xd2, 0x73, 0x43, 0xdb, 0x6b, 0x41, 0x56, 0x06, 0x5f, 0x74, 0x05,
- 0x54, 0x15, 0xb0, 0xd5, 0xa0, 0xa2, 0xd2, 0x09, 0x85, 0x22, 0xda, 0xad, 0x3a, 0x60, 0x61, 0xa9,
+ 0x54, 0x15, 0xb0, 0xd5, 0x20, 0xaa, 0xd2, 0x09, 0x85, 0x22, 0xda, 0xad, 0x3a, 0x60, 0x61, 0xa9,
0x9c, 0xf8, 0x6a, 0x2c, 0xd9, 0xb9, 0xc8, 0x67, 0x07, 0xfa, 0x05, 0x80, 0xb1, 0x23, 0x62, 0xea,
0xc8, 0xc8, 0xc7, 0xe8, 0xd8, 0x91, 0xc9, 0xa0, 0x64, 0x80, 0xd9, 0x9f, 0x00, 0xf9, 0xce, 0x4e,
0x4d, 0xa9, 0x44, 0x59, 0xa2, 0xd7, 0xf7, 0xfc, 0xde, 0xf7, 0x9c, 0xe7, 0xb9, 0x33, 0xe8, 0x38,
@@ -428,15 +428,15 @@ var fileDescriptor_58f218b6c9069791 = []byte{
0x6e, 0x98, 0x57, 0xdc, 0x14, 0xf3, 0x72, 0x93, 0x99, 0x59, 0xbc, 0xa7, 0x10, 0xd1, 0x09, 0x9f,
0x82, 0xba, 0x9b, 0xd9, 0x2d, 0x1c, 0xd2, 0xba, 0xf7, 0xae, 0x37, 0x42, 0x24, 0xb4, 0xa7, 0x10,
0xd9, 0xdb, 0xf6, 0x41, 0x2d, 0x1b, 0x9a, 0xd9, 0x38, 0x7b, 0x9d, 0x3f, 0x6c, 0xcc, 0x56, 0x71,
- 0xbe, 0xe3, 0x16, 0x00, 0x17, 0xff, 0x30, 0x0f, 0xe6, 0x66, 0x9a, 0xa0, 0xe5, 0xcb, 0x5e, 0x60,
- 0x52, 0x02, 0x77, 0x9a, 0x1f, 0x4f, 0x91, 0x92, 0x39, 0xd1, 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c6,
0x5b, 0xd6, 0xbb, 0xd2, 0x67, 0xce, 0xa7, 0xae, 0x3d, 0x38, 0xb6, 0xc6, 0xdd, 0xfe, 0x9c, 0xb8,
- 0x4a, 0x0f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xa7, 0x2e, 0x35, 0x0b, 0x05, 0x00, 0x00,
+ 0x4a, 0x0f, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x19, 0x9e, 0x06, 0x26, 0x0b, 0x05, 0x00, 0x00,
}
func (this *Subspace) Equal(that interface{}) bool {
diff --git a/x/subspaces/legacy/v2/store.go b/x/subspaces/legacy/v2/store.go
index dc08b53213..14cef9f990 100644
--- a/x/subspaces/legacy/v2/store.go
+++ b/x/subspaces/legacy/v2/store.go
@@ -1,9 +1,9 @@
package v2
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
@@ -23,7 +23,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
}
// fixGroupsPermissions iterates over all the group permissions and sanitizes their values
-func fixGroupsPermissions(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func fixGroupsPermissions(store storetypes.KVStore, cdc codec.BinaryCodec) error {
groupsStore := prefix.NewStore(store, GroupsPrefix)
iterator := groupsStore.Iterator(nil, nil)
@@ -62,7 +62,7 @@ type userPermissionDetails struct {
}
// fixUsersPermissions iterates over all the users permissions and sanitizes their values
-func fixUsersPermissions(store sdk.KVStore) {
+func fixUsersPermissions(store storetypes.KVStore) {
permissionsStore := prefix.NewStore(store, UserPermissionsStorePrefix)
iterator := permissionsStore.Iterator(nil, nil)
diff --git a/x/subspaces/legacy/v2/store_test.go b/x/subspaces/legacy/v2/store_test.go
index cc99989421..d637098e26 100644
--- a/x/subspaces/legacy/v2/store_test.go
+++ b/x/subspaces/legacy/v2/store_test.go
@@ -3,9 +3,10 @@ package v2_test
import (
"testing"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -18,9 +19,9 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
testCases := []struct {
name string
diff --git a/x/subspaces/legacy/v3/store.go b/x/subspaces/legacy/v3/store.go
index c2f7977ca2..849884a03a 100644
--- a/x/subspaces/legacy/v3/store.go
+++ b/x/subspaces/legacy/v3/store.go
@@ -5,9 +5,9 @@ import (
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
v2 "github.com/desmos-labs/desmos/v6/x/subspaces/legacy/v2"
@@ -43,7 +43,7 @@ func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Binar
}
// setupSubspacesSections sets the NextSectionID to 1 for all the current subspaces and creates the default sections
-func setupSubspacesSections(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func setupSubspacesSections(store storetypes.KVStore, cdc codec.BinaryCodec) error {
subspacesStore := prefix.NewStore(store, types.SubspacePrefix)
iterator := subspacesStore.Iterator(nil, nil)
defer iterator.Close()
@@ -66,7 +66,7 @@ func setupSubspacesSections(store sdk.KVStore, cdc codec.BinaryCodec) error {
}
// migrateUserGroupsPermissions migrates all the user groups permissions from the old system to the new one
-func migrateUserGroupsPermissions(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateUserGroupsPermissions(store storetypes.KVStore, cdc codec.BinaryCodec) error {
groupsStore := prefix.NewStore(store, v2.GroupsPrefix)
iterator := groupsStore.Iterator(nil, nil)
defer iterator.Close()
@@ -96,7 +96,7 @@ func migrateUserGroupsPermissions(store sdk.KVStore, cdc codec.BinaryCodec) erro
}
// migrateUserPermissions migrates all the user permissions from the old system to the new one
-func migrateUserPermissions(store sdk.KVStore, cdc codec.BinaryCodec) error {
+func migrateUserPermissions(store storetypes.KVStore, cdc codec.BinaryCodec) error {
permissionsStore := prefix.NewStore(store, v2.UserPermissionsStorePrefix)
iterator := permissionsStore.Iterator(nil, nil)
defer iterator.Close()
diff --git a/x/subspaces/legacy/v3/store_test.go b/x/subspaces/legacy/v3/store_test.go
index e1cce4cd85..d2f6d51da8 100644
--- a/x/subspaces/legacy/v3/store_test.go
+++ b/x/subspaces/legacy/v3/store_test.go
@@ -8,9 +8,10 @@ import (
v3 "github.com/desmos-labs/desmos/v6/x/subspaces/legacy/v3"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -23,9 +24,9 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
testCases := []struct {
name string
diff --git a/x/subspaces/legacy/v4/store_test.go b/x/subspaces/legacy/v4/store_test.go
index d14c8b9295..3ca916543f 100644
--- a/x/subspaces/legacy/v4/store_test.go
+++ b/x/subspaces/legacy/v4/store_test.go
@@ -4,14 +4,16 @@ import (
"testing"
"time"
+ "github.com/cosmos/cosmos-sdk/runtime"
authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper"
subspacesauthz "github.com/desmos-labs/desmos/v6/x/subspaces/authz"
v4 "github.com/desmos-labs/desmos/v6/x/subspaces/legacy/v4"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -24,12 +26,12 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(authzkeeper.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(authzkeeper.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
// Build the authz keeper
- authzKeeper := authzkeeper.NewKeeper(keys[authzkeeper.StoreKey], cdc, nil, nil)
+ authzKeeper := authzkeeper.NewKeeper(runtime.NewKVStoreService(keys[authzkeeper.StoreKey]), cdc, nil, nil)
testCases := []struct {
name string
diff --git a/x/subspaces/legacy/v5/expected_keepers.go b/x/subspaces/legacy/v5/expected_keepers.go
index 6d9f3c21be..1ac153c58c 100644
--- a/x/subspaces/legacy/v5/expected_keepers.go
+++ b/x/subspaces/legacy/v5/expected_keepers.go
@@ -1,14 +1,15 @@
package v5
import (
+ "context"
+
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
)
// DONTCOVER
type AccountKeeper interface {
- NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
- HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
- SetAccount(ctx sdk.Context, acc authtypes.AccountI)
+ NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
+ HasAccount(ctx context.Context, addr sdk.AccAddress) bool
+ SetAccount(ctx context.Context, acc sdk.AccountI)
}
diff --git a/x/subspaces/legacy/v5/store.go b/x/subspaces/legacy/v5/store.go
index f5253b6e1b..b0dc400e34 100644
--- a/x/subspaces/legacy/v5/store.go
+++ b/x/subspaces/legacy/v5/store.go
@@ -1,9 +1,9 @@
package v5
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/subspaces/legacy/v5/store_test.go b/x/subspaces/legacy/v5/store_test.go
index 7c982398d5..ac5ec1986b 100644
--- a/x/subspaces/legacy/v5/store_test.go
+++ b/x/subspaces/legacy/v5/store_test.go
@@ -4,11 +4,14 @@ import (
"testing"
"time"
+ storetypes "cosmossdk.io/store/types"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
+ capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
"github.com/stretchr/testify/require"
@@ -22,16 +25,17 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey, paramstypes.StoreKey)
- tKeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
- memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey, paramstypes.StoreKey)
+ tKeys := storetypes.NewTransientStoreKeys(paramstypes.TStoreKey)
+ memKeys := storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
// Build the x/auth keeper
authKeeper := authkeeper.NewAccountKeeper(
cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
diff --git a/x/subspaces/legacy/v6/store.go b/x/subspaces/legacy/v6/store.go
index c3a9e5e9b4..c6f7832d84 100644
--- a/x/subspaces/legacy/v6/store.go
+++ b/x/subspaces/legacy/v6/store.go
@@ -1,9 +1,9 @@
package v5
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
diff --git a/x/subspaces/legacy/v6/store_test.go b/x/subspaces/legacy/v6/store_test.go
index 1ec4769693..52985b56e9 100644
--- a/x/subspaces/legacy/v6/store_test.go
+++ b/x/subspaces/legacy/v6/store_test.go
@@ -3,6 +3,7 @@ package v5_test
import (
"testing"
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -17,7 +18,7 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
testCases := []struct {
name string
diff --git a/x/subspaces/legacy/v7/store.go b/x/subspaces/legacy/v7/store.go
index 63d393fa27..9e4ce8b941 100644
--- a/x/subspaces/legacy/v7/store.go
+++ b/x/subspaces/legacy/v7/store.go
@@ -1,9 +1,9 @@
package v7
import (
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
diff --git a/x/subspaces/legacy/v7/store_test.go b/x/subspaces/legacy/v7/store_test.go
index a686ff39a7..bcfd324fe8 100644
--- a/x/subspaces/legacy/v7/store_test.go
+++ b/x/subspaces/legacy/v7/store_test.go
@@ -4,10 +4,11 @@ import (
"testing"
"time"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "cosmossdk.io/math"
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/stretchr/testify/require"
@@ -35,7 +36,7 @@ func TestMigrateStore(t *testing.T) {
cdc, _ := app.MakeCodecs()
// Build all the necessary keys
- keys := sdk.NewKVStoreKeys(types.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey)
expiration := time.Date(2100, 7, 7, 0, 0, 0, 0, time.UTC)
@@ -53,7 +54,7 @@ func TestMigrateStore(t *testing.T) {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
)
@@ -74,7 +75,7 @@ func TestMigrateStore(t *testing.T) {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewUserGrantee("cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
},
)
ctx.KVStore(keys[types.StoreKey]).Set(types.UserAllowanceKey(1, "cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5"), cdc.MustMarshal(&grant))
@@ -92,7 +93,7 @@ func TestMigrateStore(t *testing.T) {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
Expiration: &expiration,
},
)
@@ -113,7 +114,7 @@ func TestMigrateStore(t *testing.T) {
"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53",
types.NewGroupGrantee(1),
&feegrant.BasicAllowance{
- SpendLimit: sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(1))),
+ SpendLimit: sdk.NewCoins(sdk.NewCoin("test", math.NewInt(1))),
},
)
ctx.KVStore(keys[types.StoreKey]).Set(types.GroupAllowanceKey(1, 1), cdc.MustMarshal(&grant))
diff --git a/x/subspaces/module.go b/x/subspaces/module.go
index f26bd4d791..143b9d0db4 100644
--- a/x/subspaces/module.go
+++ b/x/subspaces/module.go
@@ -9,11 +9,11 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -47,8 +47,8 @@ var (
_ module.AppModule = AppModule{}
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
+ _ appmodule.HasBeginBlocker = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the subspaces module.
@@ -199,14 +199,10 @@ func (AppModule) ConsensusVersion() uint64 {
}
// BeginBlock returns the begin blocker for the subspaces module.
-func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
- BeginBlocker(ctx, am.keeper)
-}
-
-// EndBlock returns the end blocker for the subspaces module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return []abci.ValidatorUpdate{}
+func (am AppModule) BeginBlock(ctx context.Context) error {
+ sdkCtx := sdk.UnwrapSDKContext(ctx)
+ BeginBlocker(sdkCtx, am.keeper)
+ return nil
}
// --------------------------------------------------------------------------------------------------------------------
@@ -225,7 +221,7 @@ func (am AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.Wei
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/subspaces/simulation/decoder_test.go b/x/subspaces/simulation/decoder_test.go
index 44b8563c6b..3cfd4d71ab 100644
--- a/x/subspaces/simulation/decoder_test.go
+++ b/x/subspaces/simulation/decoder_test.go
@@ -7,8 +7,8 @@ import (
"github.com/desmos-labs/desmos/v6/x/subspaces/simulation"
+ "cosmossdk.io/x/feegrant"
"github.com/cosmos/cosmos-sdk/types/kv"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
diff --git a/x/subspaces/simulation/genesis.go b/x/subspaces/simulation/genesis.go
index ef9e4ec724..16ec84af10 100644
--- a/x/subspaces/simulation/genesis.go
+++ b/x/subspaces/simulation/genesis.go
@@ -7,8 +7,8 @@ import (
"math/rand"
"time"
+ "cosmossdk.io/x/feegrant"
"github.com/cosmos/cosmos-sdk/types/module"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
diff --git a/x/subspaces/simulation/operations.go b/x/subspaces/simulation/operations.go
index e7575487d9..6c425f05a6 100644
--- a/x/subspaces/simulation/operations.go
+++ b/x/subspaces/simulation/operations.go
@@ -50,132 +50,132 @@ func WeightedOperations(
) sim.WeightedOperations {
var weightMsgCreateSubspace int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreateSubspace, &weightMsgCreateSubspace, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreateSubspace, &weightMsgCreateSubspace, nil,
func(_ *rand.Rand) {
weightMsgCreateSubspace = params.DefaultWeightMsgCreateSubspace
},
)
var weightMsgEditSubspace int
- appParams.GetOrGenerate(cdc, OpWeightMsgEditSubspace, &weightMsgEditSubspace, nil,
+ appParams.GetOrGenerate(OpWeightMsgEditSubspace, &weightMsgEditSubspace, nil,
func(_ *rand.Rand) {
weightMsgEditSubspace = params.DefaultWeightMsgEditSubspace
},
)
var weightMsgDeleteSubspace int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeleteSubspace, &weightMsgDeleteSubspace, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeleteSubspace, &weightMsgDeleteSubspace, nil,
func(_ *rand.Rand) {
weightMsgDeleteSubspace = params.DefaultWeightMsgDeleteSubspace
},
)
var weightMsgCreateSection int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreateSection, &weightMsgCreateSection, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreateSection, &weightMsgCreateSection, nil,
func(_ *rand.Rand) {
weightMsgCreateSection = params.DefaultWeightMsgCreateSection
},
)
var weightMsgEditSection int
- appParams.GetOrGenerate(cdc, OpWeightMsgEditSection, &weightMsgEditSection, nil,
+ appParams.GetOrGenerate(OpWeightMsgEditSection, &weightMsgEditSection, nil,
func(_ *rand.Rand) {
weightMsgEditSection = params.DefaultWeightMsgEditSection
},
)
var weightMsgMoveSection int
- appParams.GetOrGenerate(cdc, OpWeightMsgMoveSection, &weightMsgMoveSection, nil,
+ appParams.GetOrGenerate(OpWeightMsgMoveSection, &weightMsgMoveSection, nil,
func(_ *rand.Rand) {
weightMsgMoveSection = params.DefaultWeightMsgMoveSection
},
)
var weightMsgDeleteSection int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeleteSection, &weightMsgDeleteSection, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeleteSection, &weightMsgDeleteSection, nil,
func(_ *rand.Rand) {
weightMsgDeleteSection = params.DefaultWeightMsgDeleteSection
},
)
var weightMsgCreateUserGroup int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreateUserGroup, &weightMsgCreateUserGroup, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreateUserGroup, &weightMsgCreateUserGroup, nil,
func(_ *rand.Rand) {
weightMsgCreateUserGroup = params.DefaultWeightMsgCreateUserGroup
},
)
var weightMsgEditUserGroup int
- appParams.GetOrGenerate(cdc, OpWeightMsgEditUserGroup, &weightMsgEditUserGroup, nil,
+ appParams.GetOrGenerate(OpWeightMsgEditUserGroup, &weightMsgEditUserGroup, nil,
func(_ *rand.Rand) {
weightMsgEditUserGroup = params.DefaultWeightMsgEditUserGroup
},
)
var weightMsgMoveUserGroup int
- appParams.GetOrGenerate(cdc, OpWeightMsgMoveUserGroup, &weightMsgMoveUserGroup, nil,
+ appParams.GetOrGenerate(OpWeightMsgMoveUserGroup, &weightMsgMoveUserGroup, nil,
func(_ *rand.Rand) {
weightMsgMoveUserGroup = params.DefaultWeightMsgMoveUserGroup
})
var weightMsgSetUserGroupPermissions int
- appParams.GetOrGenerate(cdc, OpWeightMsgSetUserGroupPermissions, &weightMsgSetUserGroupPermissions, nil,
+ appParams.GetOrGenerate(OpWeightMsgSetUserGroupPermissions, &weightMsgSetUserGroupPermissions, nil,
func(_ *rand.Rand) {
weightMsgSetUserGroupPermissions = params.DefaultWeightMsgSetUserGroupPermissions
},
)
var weightMsgDeleteUserGroup int
- appParams.GetOrGenerate(cdc, OpWeightMsgDeleteUserGroup, &weightMsgDeleteUserGroup, nil,
+ appParams.GetOrGenerate(OpWeightMsgDeleteUserGroup, &weightMsgDeleteUserGroup, nil,
func(_ *rand.Rand) {
weightMsgDeleteUserGroup = params.DefaultWeightMsgDeleteUserGroup
},
)
var weightMsgAddUserToUserGroup int
- appParams.GetOrGenerate(cdc, OpWeightMsgAddUserToUserGroup, &weightMsgAddUserToUserGroup, nil,
+ appParams.GetOrGenerate(OpWeightMsgAddUserToUserGroup, &weightMsgAddUserToUserGroup, nil,
func(_ *rand.Rand) {
weightMsgAddUserToUserGroup = params.DefaultWeightMsgAddUserToUserGroup
},
)
var weightMsgRemoveUserFromUserGroup int
- appParams.GetOrGenerate(cdc, OpWeightMsgRemoveUserFromUserGroup, &weightMsgRemoveUserFromUserGroup, nil,
+ appParams.GetOrGenerate(OpWeightMsgRemoveUserFromUserGroup, &weightMsgRemoveUserFromUserGroup, nil,
func(_ *rand.Rand) {
weightMsgRemoveUserFromUserGroup = params.DefaultWeightMsgRemoveUserFromUserGroup
},
)
var weightMsgSetUserPermissions int
- appParams.GetOrGenerate(cdc, OpWeightMsgSetUserPermissions, &weightMsgSetUserPermissions, nil,
+ appParams.GetOrGenerate(OpWeightMsgSetUserPermissions, &weightMsgSetUserPermissions, nil,
func(_ *rand.Rand) {
weightMsgSetUserPermissions = params.DefaultWeightMsgSetUserPermissions
},
)
var weightMsgGrantTreasuryAuthorization int
- appParams.GetOrGenerate(cdc, OpWeightMsgGrantTreasuryAuthorization, &weightMsgGrantTreasuryAuthorization, nil,
+ appParams.GetOrGenerate(OpWeightMsgGrantTreasuryAuthorization, &weightMsgGrantTreasuryAuthorization, nil,
func(_ *rand.Rand) {
weightMsgGrantTreasuryAuthorization = params.DefaultWeightMsgGrantTreasuryAuthorization
},
)
var weightMsgRevokeTreasuryAuthorization int
- appParams.GetOrGenerate(cdc, OpWeightMsgRevokeTreasuryAuthorization, &weightMsgRevokeTreasuryAuthorization, nil,
+ appParams.GetOrGenerate(OpWeightMsgRevokeTreasuryAuthorization, &weightMsgRevokeTreasuryAuthorization, nil,
func(_ *rand.Rand) {
weightMsgRevokeTreasuryAuthorization = params.DefaultWeightMsgRevokeTreasuryAuthorization
},
)
var weightMsgGrantUserAllowance int
- appParams.GetOrGenerate(cdc, OpWeightMsgGrantAllowance, &weightMsgGrantUserAllowance, nil,
+ appParams.GetOrGenerate(OpWeightMsgGrantAllowance, &weightMsgGrantUserAllowance, nil,
func(_ *rand.Rand) {
weightMsgGrantUserAllowance = params.DefaultWeightMsgGrantAllowance
},
)
var weightMsgRevokeAllowance int
- appParams.GetOrGenerate(cdc, OpWeightMsgRevokeAllowance, &weightMsgRevokeAllowance, nil,
+ appParams.GetOrGenerate(OpWeightMsgRevokeAllowance, &weightMsgRevokeAllowance, nil,
func(_ *rand.Rand) {
weightMsgRevokeAllowance = params.DefaultWeightMsgRevokeAllowance
},
diff --git a/x/subspaces/simulation/operations_feegrant.go b/x/subspaces/simulation/operations_feegrant.go
index 411aabcda0..b11974be43 100644
--- a/x/subspaces/simulation/operations_feegrant.go
+++ b/x/subspaces/simulation/operations_feegrant.go
@@ -3,12 +3,12 @@ package simulation
import (
"math/rand"
+ "cosmossdk.io/x/feegrant"
"github.com/cosmos/cosmos-sdk/baseapp"
sdk "github.com/cosmos/cosmos-sdk/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/testutil/simtesting"
"github.com/desmos-labs/desmos/v6/x/subspaces/keeper"
diff --git a/x/subspaces/simulation/utils.go b/x/subspaces/simulation/utils.go
index 82778fed7e..7dbbae8fc6 100644
--- a/x/subspaces/simulation/utils.go
+++ b/x/subspaces/simulation/utils.go
@@ -6,10 +6,9 @@ import (
"math/rand"
"time"
+ "cosmossdk.io/math"
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
-
sdk "github.com/cosmos/cosmos-sdk/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -105,7 +104,7 @@ func RandomAddress(r *rand.Rand, addresses []string) string {
}
// RandomAuthAccount returns a random account from the slice given
-func RandomAuthAccount(r *rand.Rand, accounts []authtypes.AccountI) authtypes.AccountI {
+func RandomAuthAccount(r *rand.Rand, accounts []sdk.AccountI) sdk.AccountI {
return accounts[r.Intn(len(accounts))]
}
@@ -129,7 +128,7 @@ func GenerateRandomFeeTokens(r *rand.Rand) sdk.Coins {
coins := make(sdk.Coins, r.Intn(10))
for i := range coins {
- coins[i] = sdk.NewCoin(simtypes.RandStringOfLength(r, 10), sdk.NewInt(r.Int63n(1000000)))
+ coins[i] = sdk.NewCoin(simtypes.RandStringOfLength(r, 10), math.NewInt(r.Int63n(1000000)))
}
return coins.Sort()
diff --git a/x/subspaces/testutil/expected_keepers_mocks.go b/x/subspaces/testutil/expected_keepers_mocks.go
index a2e5ba7bd1..9cf5604483 100644
--- a/x/subspaces/testutil/expected_keepers_mocks.go
+++ b/x/subspaces/testutil/expected_keepers_mocks.go
@@ -5,11 +5,11 @@
package testutil
import (
+ context "context"
reflect "reflect"
time "time"
types "github.com/cosmos/cosmos-sdk/types"
- types0 "github.com/cosmos/cosmos-sdk/x/auth/types"
authz "github.com/cosmos/cosmos-sdk/x/authz"
gomock "github.com/golang/mock/gomock"
)
@@ -38,7 +38,7 @@ func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder {
}
// HasAccount mocks base method.
-func (m *MockAccountKeeper) HasAccount(ctx types.Context, addr types.AccAddress) bool {
+func (m *MockAccountKeeper) HasAccount(ctx context.Context, addr types.AccAddress) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasAccount", ctx, addr)
ret0, _ := ret[0].(bool)
@@ -52,10 +52,10 @@ func (mr *MockAccountKeeperMockRecorder) HasAccount(ctx, addr interface{}) *gomo
}
// NewAccountWithAddress mocks base method.
-func (m *MockAccountKeeper) NewAccountWithAddress(ctx types.Context, addr types.AccAddress) types0.AccountI {
+func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewAccountWithAddress", ctx, addr)
- ret0, _ := ret[0].(types0.AccountI)
+ ret0, _ := ret[0].(types.AccountI)
return ret0
}
@@ -66,7 +66,7 @@ func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr interfa
}
// SetAccount mocks base method.
-func (m *MockAccountKeeper) SetAccount(ctx types.Context, acc types0.AccountI) {
+func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types.AccountI) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetAccount", ctx, acc)
}
@@ -101,7 +101,7 @@ func (m *MockAuthzKeeper) EXPECT() *MockAuthzKeeperMockRecorder {
}
// DeleteGrant mocks base method.
-func (m *MockAuthzKeeper) DeleteGrant(ctx types.Context, grantee, granter types.AccAddress, msgType string) error {
+func (m *MockAuthzKeeper) DeleteGrant(ctx context.Context, grantee, granter types.AccAddress, msgType string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteGrant", ctx, grantee, granter, msgType)
ret0, _ := ret[0].(error)
@@ -115,7 +115,7 @@ func (mr *MockAuthzKeeperMockRecorder) DeleteGrant(ctx, grantee, granter, msgTyp
}
// SaveGrant mocks base method.
-func (m *MockAuthzKeeper) SaveGrant(ctx types.Context, grantee, granter types.AccAddress, authorization authz.Authorization, expiration *time.Time) error {
+func (m *MockAuthzKeeper) SaveGrant(ctx context.Context, grantee, granter types.AccAddress, authorization authz.Authorization, expiration *time.Time) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SaveGrant", ctx, grantee, granter, authorization, expiration)
ret0, _ := ret[0].(error)
diff --git a/x/subspaces/types/codec.go b/x/subspaces/types/codec.go
index 0afc5cb745..3ec8c6f58e 100644
--- a/x/subspaces/types/codec.go
+++ b/x/subspaces/types/codec.go
@@ -4,11 +4,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
- govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec"
)
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
@@ -77,29 +74,3 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCodec references the global x/subspaces module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/subspaces and
- // defined at the application level.
- AminoCodec = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-
- // Register all Amino interfaces and concrete types on the gov Amino codec so that this can later be
- // used to properly serialize MsgSubmitProposal instances
- RegisterLegacyAminoCodec(govcodec.Amino)
-}
diff --git a/x/subspaces/types/expected_keepers.go b/x/subspaces/types/expected_keepers.go
index 45b797f69d..9cbb74b134 100644
--- a/x/subspaces/types/expected_keepers.go
+++ b/x/subspaces/types/expected_keepers.go
@@ -1,22 +1,22 @@
package types
import (
+ context "context"
"time"
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
authztypes "github.com/cosmos/cosmos-sdk/x/authz"
)
// DONTCOVER
type AccountKeeper interface {
- NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
- HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
- SetAccount(ctx sdk.Context, acc authtypes.AccountI)
+ NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
+ HasAccount(ctx context.Context, addr sdk.AccAddress) bool
+ SetAccount(ctx context.Context, acc sdk.AccountI)
}
type AuthzKeeper interface {
- SaveGrant(ctx sdk.Context, grantee, granter sdk.AccAddress, authorization authztypes.Authorization, expiration *time.Time) error
- DeleteGrant(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) error
+ SaveGrant(ctx context.Context, grantee, granter sdk.AccAddress, authorization authztypes.Authorization, expiration *time.Time) error
+ DeleteGrant(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) error
}
diff --git a/x/subspaces/types/genesis.pb.go b/x/subspaces/types/genesis.pb.go
index 452839eb16..d47fc4a0ec 100644
--- a/x/subspaces/types/genesis.pb.go
+++ b/x/subspaces/types/genesis.pb.go
@@ -260,42 +260,42 @@ var fileDescriptor_94a00ef70ca23c28 = []byte{
// 602 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x4f, 0x8b, 0xd3, 0x40,
0x18, 0xc6, 0x9b, 0xfd, 0xd7, 0x76, 0xb2, 0xdd, 0xda, 0xb4, 0x42, 0x2c, 0x9a, 0x74, 0x57, 0x90,
- 0x2a, 0x6e, 0x02, 0x5b, 0x3c, 0x28, 0x78, 0xb0, 0x76, 0x2d, 0x15, 0x15, 0x69, 0xf1, 0xa0, 0x97,
- 0x90, 0x36, 0x43, 0x0c, 0x34, 0x99, 0x92, 0x77, 0x52, 0xba, 0x1f, 0x42, 0xf0, 0xe8, 0x71, 0x6f,
- 0x7a, 0xf4, 0xe0, 0xc5, 0x6f, 0xb0, 0xc7, 0xc5, 0x93, 0xa7, 0x20, 0xe9, 0x41, 0x3f, 0x86, 0x64,
- 0x92, 0xa6, 0xe3, 0x1a, 0x17, 0xbc, 0x94, 0x99, 0xf7, 0x7d, 0x9e, 0x5f, 0x9e, 0xe9, 0xbc, 0x09,
- 0xda, 0xb7, 0x30, 0xb8, 0x04, 0x74, 0x08, 0xc6, 0x30, 0x33, 0x27, 0x18, 0xf4, 0x79, 0x47, 0xb7,
- 0xb1, 0x87, 0xc1, 0x01, 0x6d, 0xe6, 0x13, 0x4a, 0xa4, 0x7a, 0x22, 0xd1, 0x32, 0x89, 0x36, 0xef,
- 0x34, 0x6b, 0xa6, 0xeb, 0x78, 0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b, 0x36, 0x99, 0xad, 0x16, 0x85,
+ 0x6a, 0x25, 0xb6, 0xa5, 0xb3, 0x30, 0xe8, 0x0d, 0x19, 0x7e, 0xb5, 0xb5, 0xb8, 0xec, 0x1f, 0x05,
+ 0xd4, 0xc8, 0xfb, 0xef, 0xfe, 0xff, 0x0c, 0xb7, 0x50, 0xe9, 0x42, 0x7c, 0x31, 0x0a, 0xd5, 0xe2,
+ 0x2a, 0x7a, 0xd1, 0x4e, 0x63, 0xdf, 0x45, 0x5b, 0xf1, 0x5d, 0xb0, 0xac, 0xe5, 0xae, 0xfc, 0xed,
+ 0xcb, 0x61, 0x23, 0x7d, 0xff, 0x1f, 0x59, 0x96, 0x8f, 0x01, 0x46, 0xd4, 0x77, 0x3c, 0x7b, 0xc8,
+ 0x54, 0xeb, 0xa4, 0xdd, 0x67, 0x67, 0x91, 0x22, 0x9c, 0x47, 0x8a, 0xf0, 0x23, 0x52, 0x84, 0xf7,
+ 0x4b, 0xa5, 0x70, 0xbe, 0x54, 0x0a, 0xdf, 0x97, 0x4a, 0xe1, 0xcd, 0x91, 0xed, 0xd0, 0xb7, 0xc1,
+ 0x58, 0x9b, 0x10, 0x57, 0x4f, 0xae, 0xf0, 0x70, 0x6a, 0x8e, 0x21, 0x5d, 0xeb, 0xf3, 0x7b, 0xfa,
+ 0x82, 0xfb, 0x9a, 0xd0, 0x93, 0x19, 0x86, 0xf1, 0x0e, 0xfb, 0x94, 0x74, 0x7e, 0x07, 0x00, 0x00,
+ 0xff, 0xff, 0xe0, 0xc5, 0x50, 0x96, 0xea, 0x04, 0x00, 0x00,
}
func (this *GenesisState) Equal(that interface{}) bool {
diff --git a/x/subspaces/types/genesis_test.go b/x/subspaces/types/genesis_test.go
index 5bd6c9e562..26fd6ec94a 100644
--- a/x/subspaces/types/genesis_test.go
+++ b/x/subspaces/types/genesis_test.go
@@ -4,8 +4,8 @@ import (
"testing"
"time"
+ "cosmossdk.io/x/feegrant"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
diff --git a/x/subspaces/types/models.pb.go b/x/subspaces/types/models.pb.go
index c021071cae..be916afc3f 100644
--- a/x/subspaces/types/models.pb.go
+++ b/x/subspaces/types/models.pb.go
@@ -564,7 +564,7 @@ var fileDescriptor_ca57465af0d8b734 = []byte{
// 981 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4d, 0x6f, 0x1b, 0x45,
0x18, 0xce, 0xfa, 0x23, 0xb6, 0x67, 0xf3, 0x41, 0x37, 0x01, 0x6d, 0x03, 0xf2, 0x58, 0x5b, 0xaa,
- 0x5a, 0xa1, 0xd9, 0x55, 0x12, 0x21, 0x41, 0x50, 0x91, 0x62, 0x42, 0xad, 0x48, 0x1c, 0xaa, 0x4d,
+ 0x5a, 0xa1, 0xd9, 0x55, 0x12, 0x09, 0x41, 0x50, 0x91, 0x62, 0x42, 0xad, 0x48, 0x1c, 0xaa, 0x4d,
0xb9, 0x70, 0xb1, 0xc6, 0xbb, 0x93, 0x65, 0x55, 0xef, 0x8e, 0xd9, 0x59, 0xa7, 0xf8, 0xca, 0x2f,
0xe8, 0x11, 0x21, 0x21, 0xf5, 0x88, 0x38, 0xf5, 0x50, 0xfe, 0x43, 0xc5, 0xa9, 0xe2, 0x84, 0x38,
0x6c, 0x91, 0x73, 0x28, 0x07, 0x4e, 0x16, 0x3f, 0x00, 0xcd, 0xd7, 0x7a, 0x53, 0xec, 0x10, 0xa4,
@@ -622,8 +622,8 @@ var fileDescriptor_ca57465af0d8b734 = []byte{
0xca, 0x35, 0x3b, 0x9f, 0x3d, 0x9b, 0x34, 0xb5, 0xe7, 0x93, 0xa6, 0xf6, 0xfb, 0xa4, 0xa9, 0x3d,
0x3a, 0x6f, 0x2e, 0x3d, 0x3f, 0x6f, 0x2e, 0xfd, 0x7a, 0xde, 0x5c, 0xfa, 0x62, 0xaf, 0xf0, 0x88,
0x08, 0x86, 0x9d, 0x01, 0xea, 0x53, 0x39, 0x76, 0xce, 0xde, 0x77, 0xbe, 0x2e, 0xfc, 0xba, 0xe2,
- 0x8f, 0x4a, 0x7f, 0x99, 0x37, 0x66, 0xff, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x50, 0x84,
- 0xc4, 0x7e, 0x09, 0x00, 0x00,
+ 0x8f, 0x4a, 0x7f, 0x99, 0x37, 0x66, 0xff, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x7d, 0x10,
+ 0x77, 0x7e, 0x09, 0x00, 0x00,
}
func (this *Subspace) Equal(that interface{}) bool {
diff --git a/x/subspaces/types/models_feegrant.go b/x/subspaces/types/models_feegrant.go
index 1cdc91540f..2b6a809ad9 100644
--- a/x/subspaces/types/models_feegrant.go
+++ b/x/subspaces/types/models_feegrant.go
@@ -5,10 +5,10 @@ import (
"time"
errors "cosmossdk.io/errors"
+ feegranttypes "cosmossdk.io/x/feegrant"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant"
proto "github.com/gogo/protobuf/proto"
)
diff --git a/x/subspaces/types/models_feegrant_test.go b/x/subspaces/types/models_feegrant_test.go
index 6f918011f3..57f42df615 100644
--- a/x/subspaces/types/models_feegrant_test.go
+++ b/x/subspaces/types/models_feegrant_test.go
@@ -4,8 +4,8 @@ import (
"testing"
"time"
+ "cosmossdk.io/x/feegrant"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
diff --git a/x/subspaces/types/models_test.go b/x/subspaces/types/models_test.go
index e8feaddd62..211449d9d7 100644
--- a/x/subspaces/types/models_test.go
+++ b/x/subspaces/types/models_test.go
@@ -6,6 +6,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -154,7 +155,7 @@ func TestSubspace_Validate(t *testing.T) {
"cosmos1s0he0z3g92zwsxdj83h0ky9w463sx7gq9mqtgn",
"cosmos1s0he0z3g92zwsxdj83h0ky9w463sx7gq9mqtgn",
time.Date(2020, 1, 1, 12, 00, 00, 000, time.UTC),
- sdk.Coins{{Denom: "minttoken", Amount: sdk.NewInt(-10)}},
+ sdk.Coins{{Denom: "minttoken", Amount: math.NewInt(-10)}},
),
shouldErr: true,
},
@@ -653,8 +654,8 @@ func TestAdditionalFeeTokensUpdate_Update(t *testing.T) {
)
updated := types.NewAdditionalFeeTokensUpdate(
- sdk.NewCoin("minttoken", sdk.NewInt(10)),
- sdk.NewCoin("ustar", sdk.NewInt(10)),
+ sdk.NewCoin("minttoken", math.NewInt(10)),
+ sdk.NewCoin("ustar", math.NewInt(10)),
).Update(subspace)
require.Equal(t, types.NewSubspace(
@@ -666,8 +667,8 @@ func TestAdditionalFeeTokensUpdate_Update(t *testing.T) {
"cosmos1s0he0z3g92zwsxdj83h0ky9w463sx7gq9mqtgn",
time.Date(2020, 1, 1, 12, 00, 00, 000, time.UTC),
sdk.NewCoins(
- sdk.NewCoin("minttoken", sdk.NewInt(10)),
- sdk.NewCoin("ustar", sdk.NewInt(10)),
+ sdk.NewCoin("minttoken", math.NewInt(10)),
+ sdk.NewCoin("ustar", math.NewInt(10)),
),
), updated)
}
diff --git a/x/subspaces/types/msg_feegrant_test.go b/x/subspaces/types/msg_feegrant_test.go
index d6f5e35acf..971ca1f466 100644
--- a/x/subspaces/types/msg_feegrant_test.go
+++ b/x/subspaces/types/msg_feegrant_test.go
@@ -3,9 +3,9 @@ package types_test
import (
"testing"
+ "cosmossdk.io/x/feegrant"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
@@ -104,11 +104,6 @@ func TestMsgGrantAllowance_ValidateBasic(t *testing.T) {
}
}
-func TestMsgGrantAllowance_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgGrantAllowance","value":{"allowance":{"spend_limit":[]},"grantee":{"type":"desmos/UserGrantee","value":{"user":"cosmos1lv3e0l66rr68k5l74mnrv4j9kyny6cz27pvnez"}},"granter":"cosmos1vkuuth0rak58x36m7wuzj7ztttxh26fhqcfxm0","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgGrantAllowance.GetSignBytes()))
-}
-
func TestMsgGrantAllowance_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgGrantAllowance.Granter)
require.Equal(t, []sdk.AccAddress{addr}, msgGrantAllowance.GetSigners())
@@ -182,11 +177,6 @@ func TestMsgRevokeAllowance_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRevokeAllowance_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRevokeAllowance","value":{"grantee":{"type":"desmos/UserGrantee","value":{"user":"cosmos1lv3e0l66rr68k5l74mnrv4j9kyny6cz27pvnez"}},"granter":"cosmos1vkuuth0rak58x36m7wuzj7ztttxh26fhqcfxm0","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgRevokeAllowance.GetSignBytes()))
-}
-
func TestMsgRevokeAllowance_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRevokeAllowance.Granter)
require.Equal(t, []sdk.AccAddress{addr}, msgRevokeAllowance.GetSigners())
diff --git a/x/subspaces/types/msgs.go b/x/subspaces/types/msgs.go
index 20f0572a55..1e13cfa041 100644
--- a/x/subspaces/types/msgs.go
+++ b/x/subspaces/types/msgs.go
@@ -7,7 +7,6 @@ import (
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
)
// SubspaceMsg represents a generic message that is related to a subspace
@@ -103,11 +102,6 @@ func (msg *MsgCreateSubspace) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgCreateSubspace) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgCreateSubspace) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Creator)
@@ -153,11 +147,6 @@ func (msg *MsgEditSubspace) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgEditSubspace) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgEditSubspace) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -197,11 +186,6 @@ func (msg *MsgDeleteSubspace) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgDeleteSubspace) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgDeleteSubspace) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -254,11 +238,6 @@ func (msg *MsgCreateSection) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgCreateSection) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgCreateSection) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Creator)
@@ -311,11 +290,6 @@ func (msg *MsgEditSection) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgEditSection) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgEditSection) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Editor)
@@ -366,11 +340,6 @@ func (msg *MsgMoveSection) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgMoveSection) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgMoveSection) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -415,11 +384,6 @@ func (msg *MsgDeleteSection) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgDeleteSection) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgDeleteSection) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -487,11 +451,6 @@ func (msg *MsgCreateUserGroup) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgCreateUserGroup) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgCreateUserGroup) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Creator)
@@ -540,11 +499,6 @@ func (msg *MsgEditUserGroup) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgEditUserGroup) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgEditUserGroup) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -595,11 +549,6 @@ func (msg *MsgMoveUserGroup) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgMoveUserGroup) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgMoveUserGroup) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -650,11 +599,6 @@ func (msg *MsgSetUserGroupPermissions) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgSetUserGroupPermissions) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgSetUserGroupPermissions) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -699,11 +643,6 @@ func (msg *MsgDeleteUserGroup) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgDeleteUserGroup) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgDeleteUserGroup) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -759,11 +698,6 @@ func (msg *MsgAddUserToUserGroup) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgAddUserToUserGroup) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgAddUserToUserGroup) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -819,11 +753,6 @@ func (msg *MsgRemoveUserFromUserGroup) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgRemoveUserFromUserGroup) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgRemoveUserFromUserGroup) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -885,11 +814,6 @@ func (msg *MsgSetUserPermissions) ValidateBasic() error {
return nil
}
-// GetSignBytes implements sdk.Msg
-func (msg *MsgSetUserPermissions) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgSetUserPermissions) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Signer)
@@ -902,8 +826,7 @@ func (msg *MsgSetUserPermissions) IsManageSubspaceMsg() {}
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgUpdateSubspaceFeeTokens{}
- _ legacytx.LegacyMsg = &MsgUpdateSubspaceFeeTokens{}
+ _ sdk.Msg = &MsgUpdateSubspaceFeeTokens{}
)
// NewMsgUpdateSubspaceFeeTokens creates a new MsgUpdateSubspaceFeeTokens instance
@@ -944,11 +867,6 @@ func (msg *MsgUpdateSubspaceFeeTokens) ValidateBasic() error {
return nil
}
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg *MsgUpdateSubspaceFeeTokens) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgUpdateSubspaceFeeTokens) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Authority)
diff --git a/x/subspaces/types/msgs.pb.go b/x/subspaces/types/msgs.pb.go
index 266c382e50..a9a1400458 100644
--- a/x/subspaces/types/msgs.pb.go
+++ b/x/subspaces/types/msgs.pb.go
@@ -2363,11 +2363,11 @@ var fileDescriptor_35d68359a074bdd9 = []byte{
// 2006 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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d6, 0xa7, 0x17, 0x99, 0x5b, 0xff, 0xb8, 0xc8, 0xdc, 0xfa, 0xde, 0x0e, 0x77, 0xee, 0x23,
+ 0x63, 0x6c, 0x35, 0xd5, 0x3a, 0xa2, 0xcf, 0xc5, 0xd3, 0x67, 0xc5, 0x1f, 0x72, 0xff, 0x74, 0x88,
+ 0xcf, 0x81, 0xf5, 0xdb, 0xf8, 0xf3, 0x75, 0xf7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x01,
+ 0x2d, 0xe3, 0x95, 0x28, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/subspaces/types/msgs_feegrant.go b/x/subspaces/types/msgs_feegrant.go
index ca6baa74fc..dc02a92631 100644
--- a/x/subspaces/types/msgs_feegrant.go
+++ b/x/subspaces/types/msgs_feegrant.go
@@ -4,11 +4,10 @@ import (
"fmt"
"cosmossdk.io/errors"
+ feegranttypes "cosmossdk.io/x/feegrant"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
- feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/gogo/protobuf/proto"
)
@@ -16,9 +15,6 @@ var (
_ sdk.Msg = &MsgGrantAllowance{}
_ sdk.Msg = &MsgRevokeAllowance{}
- _ legacytx.LegacyMsg = &MsgGrantAllowance{}
- _ legacytx.LegacyMsg = &MsgRevokeAllowance{}
-
_ ManageSubspaceMsg = &MsgGrantAllowance{}
_ ManageSubspaceMsg = &MsgRevokeAllowance{}
@@ -101,11 +97,6 @@ func (msg *MsgGrantAllowance) Route() string {
return RouterKey
}
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg *MsgGrantAllowance) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetUnpackedAllowance gets the unpacked allowance from the cached value of the allowance
func (msg *MsgGrantAllowance) GetUnpackedAllowance() (feegranttypes.FeeAllowanceI, error) {
allowance, ok := msg.Allowance.GetCachedValue().(feegranttypes.FeeAllowanceI)
@@ -178,11 +169,6 @@ func (msg *MsgRevokeAllowance) Route() string {
return RouterKey
}
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg *MsgRevokeAllowance) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (msg *MsgRevokeAllowance) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
var grantee Grantee
diff --git a/x/subspaces/types/msgs_test.go b/x/subspaces/types/msgs_test.go
index aea5d4862a..25817a3861 100644
--- a/x/subspaces/types/msgs_test.go
+++ b/x/subspaces/types/msgs_test.go
@@ -3,6 +3,7 @@ package types_test
import (
"testing"
+ "cosmossdk.io/math"
"github.com/desmos-labs/desmos/v6/x/subspaces/types"
sdk "github.com/cosmos/cosmos-sdk/types"
@@ -79,11 +80,6 @@ func TestMsgCreateSubspace_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreateSubspace_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreateSubspace","value":{"creator":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","description":"This is a test subspace","name":"Test subspace","owner":"cosmos1lv3e0l66rr68k5l74mnrv4j9kyny6cz27pvnez"}}`
- require.Equal(t, expected, string(msgCreateSubspace.GetSignBytes()))
-}
-
func TestMsgCreateSubspace_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreateSubspace.Creator)
require.Equal(t, []sdk.AccAddress{addr}, msgCreateSubspace.GetSigners())
@@ -154,11 +150,6 @@ func TestMsgEditSubspace_ValidateBasic(t *testing.T) {
}
}
-func TestMsgEditSubspace_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgEditSubspace","value":{"description":"This is a new description","name":"This is a new name","owner":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgEditSubspace.GetSignBytes()))
-}
-
func TestMsgEditSubspace_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgEditSubspace.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgEditSubspace.GetSigners())
@@ -214,11 +205,6 @@ func TestMsgDeleteSubspace_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeleteSubspace_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeleteSubspace","value":{"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgDeleteSubspace.GetSignBytes()))
-}
-
func TestMsgDeleteSubspace_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeleteSubspace.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgDeleteSubspace.GetSigners())
@@ -300,11 +286,6 @@ func TestMsgCreateSection_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreateSection_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreateSection","value":{"creator":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","description":"This is a test section","name":"Test section","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgCreateSection.GetSignBytes()))
-}
-
func TestMsgCreateSection_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreateSection.Creator)
require.Equal(t, []sdk.AccAddress{addr}, msgCreateSection.GetSigners())
@@ -386,11 +367,6 @@ func TestMsgEditSection_ValidateBasic(t *testing.T) {
}
}
-func TestMsgEditSection_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgEditSection","value":{"description":"This is a test section","editor":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","name":"Test section","section_id":1,"subspace_id":"1"}}`
- require.Equal(t, expected, string(msgEditSection.GetSignBytes()))
-}
-
func TestMsgEditSection_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgEditSection.Editor)
require.Equal(t, []sdk.AccAddress{addr}, msgEditSection.GetSigners())
@@ -468,11 +444,6 @@ func TestMsgMoveSection_ValidateBasic(t *testing.T) {
}
}
-func TestMsgMoveSection_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgMoveSection","value":{"new_parent_id":1,"section_id":1,"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgMoveSection.GetSignBytes()))
-}
-
func TestMsgMoveSection_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgMoveSection.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgMoveSection.GetSigners())
@@ -546,11 +517,6 @@ func TestMsgDeleteSection_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeleteSection_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeleteSection","value":{"section_id":1,"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgDeleteSection.GetSignBytes()))
-}
-
func TestMsgDeleteSection_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeleteSection.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgDeleteSection.GetSigners())
@@ -666,11 +632,6 @@ func TestMsgCreateUserGroup_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreateUserGroup_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreateUserGroup","value":{"creator":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","default_permissions":["EDIT_SUBSPACE"],"description":"Description","initial_members":["cosmos16yhs7fgqnf6fjm4tftv66g2smtmee62wyg780l"],"name":"Group","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgCreateUserGroup.GetSignBytes()))
-}
-
func TestMsgCreateUserGroup_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreateUserGroup.Creator)
require.Equal(t, []sdk.AccAddress{addr}, msgCreateUserGroup.GetSigners())
@@ -741,11 +702,6 @@ func TestMsgEditUserGroup_ValidateBasic(t *testing.T) {
}
}
-func TestMsgEditUserGroup_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgEditUserGroup","value":{"description":"Description","group_id":1,"name":"Group","signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgEditUserGroup.GetSignBytes()))
-}
-
func TestMsgEditUserGroup_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgEditUserGroup.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgEditUserGroup.GetSigners())
@@ -823,11 +779,6 @@ func TestMsgMoveUserGroup_ValidateBasic(t *testing.T) {
}
}
-func TestMsgMoveUserGroup_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgMoveUserGroup","value":{"group_id":1,"new_section_id":2,"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgMoveUserGroup.GetSignBytes()))
-}
-
func TestMsgMoveUserGroup_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgMoveUserGroup.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgMoveUserGroup.GetSigners())
@@ -905,11 +856,6 @@ func TestMsgSetUserGroupPermissions_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSetUserGroupPermissions_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgSetUserGroupPermissions","value":{"group_id":1,"permissions":["EDIT_SUBSPACE"],"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgSetUserGroupPermissions.GetSignBytes()))
-}
-
func TestMsgSetUserGroupPermissions_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgSetUserGroupPermissions.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgSetUserGroupPermissions.GetSigners())
@@ -983,11 +929,6 @@ func TestMsgDeleteUserGroup_ValidateBasic(t *testing.T) {
}
}
-func TestMsgDeleteUserGroup_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgDeleteUserGroup","value":{"group_id":1,"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgDeleteUserGroup.GetSignBytes()))
-}
-
func TestMsgDeleteUserGroup_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgDeleteUserGroup.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgDeleteUserGroup.GetSigners())
@@ -1075,11 +1016,6 @@ func TestMsgAddUserToUserGroup_ValidateBasic(t *testing.T) {
}
}
-func TestMsgAddUserToUserGroup_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgAddUserToUserGroup","value":{"group_id":1,"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1","user":"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53"}}`
- require.Equal(t, expected, string(msgAddUserToGroup.GetSignBytes()))
-}
-
func TestMsgAddUserToUserGroup_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgAddUserToGroup.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgAddUserToGroup.GetSigners())
@@ -1167,11 +1103,6 @@ func TestMsgRemoveUserFromUserGroup_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRemoveUserFromUserGroup_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRemoveUserFromUserGroup","value":{"group_id":1,"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1","user":"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53"}}`
- require.Equal(t, expected, string(msgRemoveUserFromUserGroup.GetSignBytes()))
-}
-
func TestMsgRemoveUserFromUserGroup_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRemoveUserFromUserGroup.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgRemoveUserFromUserGroup.GetSigners())
@@ -1263,11 +1194,6 @@ func TestMsgSetUserPermissions_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSetUserPermissions_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgSetUserPermissions","value":{"permissions":["EDIT_SUBSPACE"],"signer":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1","user":"cosmos1x5pjlvufs4znnhhkwe8v4tw3kz30f3lxgwza53"}}`
- require.Equal(t, expected, string(msgSetUserPermissions.GetSignBytes()))
-}
-
func TestMsgSetUserPermissions_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgSetUserPermissions.Signer)
require.Equal(t, []sdk.AccAddress{addr}, msgSetUserPermissions.GetSigners())
@@ -1277,7 +1203,7 @@ func TestMsgSetUserPermissions_GetSigners(t *testing.T) {
var msgUpdateSubspaceFeeTokens = types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
)
@@ -1299,7 +1225,7 @@ func TestMsgUpdateSubspaceFeeTokens_ValidateBasic(t *testing.T) {
name: "invalid subspace id returns error",
msg: types.NewMsgUpdateSubspaceFeeTokens(
0,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
),
shouldErr: true,
@@ -1308,7 +1234,7 @@ func TestMsgUpdateSubspaceFeeTokens_ValidateBasic(t *testing.T) {
name: "invalid additional fee tokens returns error",
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.Coins{{Denom: "minttoken", Amount: sdk.NewInt(-10)}},
+ sdk.Coins{{Denom: "minttoken", Amount: math.NewInt(-10)}},
"cosmos1m0czrla04f7rp3zg7d",
),
shouldErr: true,
@@ -1317,7 +1243,7 @@ func TestMsgUpdateSubspaceFeeTokens_ValidateBasic(t *testing.T) {
name: "invalid authority returns error",
msg: types.NewMsgUpdateSubspaceFeeTokens(
1,
- sdk.NewCoins(sdk.NewCoin("minttoken", sdk.NewInt(10))),
+ sdk.NewCoins(sdk.NewCoin("minttoken", math.NewInt(10))),
"cosmos1m0czrla04f7rp3zg7d",
),
shouldErr: true,
@@ -1341,11 +1267,6 @@ func TestMsgUpdateSubspaceFeeTokens_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUpdateSubspaceFeeTokens_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgUpdateSubspaceFeeTokens","value":{"additional_fee_tokens":[{"amount":"10","denom":"minttoken"}],"authority":"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgUpdateSubspaceFeeTokens.GetSignBytes()))
-}
-
func TestMsgUpdateSubspaceFeeTokens_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUpdateSubspaceFeeTokens.Authority)
require.Equal(t, []sdk.AccAddress{addr}, msgUpdateSubspaceFeeTokens.GetSigners())
diff --git a/x/subspaces/types/msgs_treasury.go b/x/subspaces/types/msgs_treasury.go
index 2d01cd516c..b554a1e785 100644
--- a/x/subspaces/types/msgs_treasury.go
+++ b/x/subspaces/types/msgs_treasury.go
@@ -8,7 +8,6 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
"github.com/cosmos/cosmos-sdk/x/authz"
)
@@ -16,9 +15,6 @@ var (
_ sdk.Msg = &MsgGrantTreasuryAuthorization{}
_ sdk.Msg = &MsgRevokeTreasuryAuthorization{}
- _ legacytx.LegacyMsg = &MsgGrantTreasuryAuthorization{}
- _ legacytx.LegacyMsg = &MsgRevokeTreasuryAuthorization{}
-
_ ManageSubspaceMsg = &MsgGrantTreasuryAuthorization{}
_ ManageSubspaceMsg = &MsgRevokeTreasuryAuthorization{}
@@ -63,11 +59,6 @@ func (msg *MsgGrantTreasuryAuthorization) ValidateBasic() error {
return msg.Grant.ValidateBasic()
}
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg *MsgGrantTreasuryAuthorization) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgGrantTreasuryAuthorization) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Granter)
@@ -122,11 +113,6 @@ func (msg *MsgRevokeTreasuryAuthorization) ValidateBasic() error {
return nil
}
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg *MsgRevokeTreasuryAuthorization) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCodec.MustMarshalJSON(msg))
-}
-
// GetSigners implements sdk.Msg
func (msg *MsgRevokeTreasuryAuthorization) GetSigners() []sdk.AccAddress {
addr, _ := sdk.AccAddressFromBech32(msg.Granter)
diff --git a/x/subspaces/types/msgs_treasury_test.go b/x/subspaces/types/msgs_treasury_test.go
index a1bddc03f2..6d2bf91864 100644
--- a/x/subspaces/types/msgs_treasury_test.go
+++ b/x/subspaces/types/msgs_treasury_test.go
@@ -98,11 +98,6 @@ func TestMsgGrantTreasuryAuthorization_ValidateBasic(t *testing.T) {
}
}
-func TestMsgGrantTreasuryAuthorization_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgGrantTreasuryAuthorization","value":{"grant":{"authorization":{"spend_limit":[{"amount":"100","denom":"steak"}]},"expiration":"2100-01-11T00:00:00Z"},"grantee":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","granter":"cosmos1lv3e0l66rr68k5l74mnrv4j9kyny6cz27pvnez","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgGrantTreasuryAuthorization.GetSignBytes()))
-}
-
func TestMsgGrantTreasuryAuthorization_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgGrantTreasuryAuthorization.Granter)
require.Equal(t, []sdk.AccAddress{addr}, msgGrantTreasuryAuthorization.GetSigners())
@@ -200,11 +195,6 @@ func TestMsgRevokeTreasuryAuthorization_ValidateBasic(t *testing.T) {
}
}
-func TestMsgRevokeTreasuryAuthorization_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgRevokeTreasuryAuthorization","value":{"grantee":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","granter":"cosmos1lv3e0l66rr68k5l74mnrv4j9kyny6cz27pvnez","msg_type_url":"/cosmos.bank.v1betat1.MsgSend","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgRevokeTreasuryAuthorization.GetSignBytes()))
-}
-
func TestMsgRevokeTreasuryAuthorization_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgRevokeTreasuryAuthorization.Granter)
require.Equal(t, []sdk.AccAddress{addr}, msgRevokeTreasuryAuthorization.GetSigners())
diff --git a/x/subspaces/types/query.pb.go b/x/subspaces/types/query.pb.go
index 759af790f2..580bc2b030 100644
--- a/x/subspaces/types/query.pb.go
+++ b/x/subspaces/types/query.pb.go
@@ -1265,91 +1265,91 @@ func init() {
func init() { proto.RegisterFile("desmos/subspaces/v3/query.proto", fileDescriptor_ca70010567dbc47d) }
var fileDescriptor_ca70010567dbc47d = []byte{
- // 1332 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0x1b, 0x45,
- 0x18, 0xf7, 0xe4, 0x51, 0xc7, 0x63, 0xf5, 0x35, 0x4d, 0x43, 0xd8, 0x24, 0x76, 0xb4, 0x12, 0x6d,
- 0x9a, 0x34, 0xde, 0xc6, 0x69, 0x44, 0x49, 0x05, 0x49, 0xdc, 0x90, 0x87, 0x04, 0x55, 0x71, 0xd5,
- 0x03, 0x08, 0x14, 0xad, 0xe3, 0x91, 0xb1, 0x64, 0x7b, 0x5d, 0xcf, 0x3a, 0x10, 0x45, 0x11, 0x08,
- 0x71, 0xe0, 0xc0, 0x01, 0x09, 0x09, 0x2e, 0x1c, 0x72, 0x00, 0x09, 0x24, 0x0e, 0x1c, 0x10, 0x20,
- 0x0e, 0x70, 0x2d, 0x17, 0xa8, 0xe8, 0xa5, 0x27, 0x83, 0x12, 0x24, 0xb8, 0x70, 0xc9, 0x5f, 0x80,
- 0x76, 0xf6, 0x9b, 0xdd, 0xd9, 0xf5, 0xc6, 0x59, 0x3b, 0x16, 0x70, 0x89, 0xbc, 0x33, 0xdf, 0xe3,
- 0xf7, 0xfd, 0xe6, 0x37, 0x8f, 0x2f, 0x38, 0x99, 0xa7, 0xac, 0x6c, 0x30, 0x8d, 0xd5, 0x73, 0xac,
- 0xaa, 0x6f, 0x52, 0xa6, 0x6d, 0xcd, 0x6a, 0xf7, 0xeb, 0xb4, 0xb6, 0x9d, 0xaa, 0xd6, 0x0c, 0xd3,
- 0x20, 0x17, 0x6c, 0x83, 0x94, 0x63, 0x90, 0xda, 0x9a, 0x55, 0xce, 0xeb, 0xe5, 0x62, 0xc5, 0xd0,
- 0xf8, 0x5f, 0xdb, 0x4e, 0x19, 0x2c, 0x18, 0x05, 0x83, 0xff, 0xd4, 0xac, 0x5f, 0x30, 0x3a, 0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1, 0xb7, 0x25, 0x95, 0x79, 0xe1, 0xc1, 0x7e, 0x02,
- 0x3d, 0xdc, 0x4f, 0xa0, 0xdf, 0xf7, 0x13, 0xe8, 0x83, 0x83, 0x44, 0xe4, 0xe1, 0x41, 0x22, 0xf2,
- 0xf8, 0x20, 0x11, 0x79, 0x25, 0x5d, 0x28, 0x9a, 0xaf, 0xd7, 0x73, 0xa9, 0x4d, 0xa3, 0x0c, 0x39,
- 0xa6, 0x4b, 0x7a, 0x8e, 0x89, 0x7c, 0x5b, 0x73, 0xda, 0x9b, 0x52, 0x1e, 0x73, 0xbb, 0x4a, 0x59,
- 0xee, 0x14, 0xff, 0x47, 0xe9, 0xec, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x77, 0xd6, 0xde, 0xcd,
- 0x10, 0x16, 0x00, 0x00,
+ // 1334 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0x1b, 0xc5,
+ 0x1b, 0xf6, 0xe4, 0xa3, 0x8e, 0xc7, 0xea, 0xd7, 0x24, 0xcd, 0x2f, 0xbf, 0x4d, 0x62, 0x47, 0x2b,
+ 0xd1, 0xa6, 0x49, 0xe3, 0x6d, 0x9c, 0x16, 0x4a, 0x2a, 0x48, 0xe2, 0x86, 0x7c, 0x48, 0x50, 0x15,
+ 0x57, 0x3d, 0x80, 0x40, 0xd1, 0x3a, 0x1e, 0x19, 0x4b, 0xb6, 0xd7, 0xf5, 0xac, 0x03, 0x51, 0x14,
+ 0x81, 0x10, 0x07, 0x0e, 0x1c, 0x90, 0x90, 0xe0, 0xc2, 0x21, 0x07, 0x90, 0x40, 0xe2, 0xc0, 0x01,
+ 0x01, 0xe2, 0x00, 0xd7, 0x72, 0x81, 0x8a, 0x5e, 0x7a, 0x32, 0x28, 0x41, 0x82, 0x0b, 0x97, 0xfc,
+ 0x05, 0x68, 0x67, 0xd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f, 0x08, 0x9f, 0xf5, 0x3d, 0x32, 0xc9, 0xd5, 0xd6, 0xb8, 0x9a, 0x5f, 0xd9, 0xca, 0x6c, 0x1b,
+ 0x1e, 0x50, 0xc8, 0x2a, 0x2f, 0x64, 0x89, 0x2c, 0xb4, 0x55, 0x88, 0xf4, 0x92, 0xd5, 0x76, 0xac,
+ 0xf7, 0xd4, 0x2e, 0xf9, 0x0e, 0xe1, 0x33, 0xde, 0xbb, 0x99, 0x68, 0xad, 0xe1, 0x34, 0xdd, 0x85,
+ 0xca, 0xd5, 0xf0, 0x0e, 0x00, 0xff, 0x39, 0x0e, 0x7f, 0x81, 0x3c, 0xd3, 0x16, 0x7c, 0xdd, 0x09,
+ 0xa4, 0x59, 0xe0, 0x19, 0xf9, 0x1e, 0xe1, 0xb3, 0xbe, 0x4b, 0xac, 0x15, 0xfd, 0xc1, 0x57, 0x79,
+ 0x2b, 0xfa, 0x8f, 0xb8, 0x21, 0x3b, 0xdc, 0x0b, 0x12, 0x7e, 0x5b, 0x52, 0x99, 0xe7, 0x1f, 0xec,
+ 0x27, 0xd0, 0xc3, 0xfd, 0x04, 0xfa, 0x6d, 0x3f, 0x81, 0xde, 0x3f, 0x48, 0x44, 0x1e, 0x1e, 0x24,
+ 0x22, 0x8f, 0x0f, 0x12, 0x91, 0x97, 0xd3, 0x85, 0xa2, 0xf9, 0x5a, 0x3d, 0x97, 0xda, 0x34, 0xca,
+ 0x90, 0x63, 0xa6, 0xa4, 0xe7, 0x98, 0xc8, 0xb7, 0xf5, 0xa4, 0xf6, 0x86, 0x94, 0xc7, 0xdc, 0xae,
+ 0x52, 0x96, 0x3b, 0xc5, 0xff, 0x51, 0x3a, 0xf7, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xfb,
+ 0x4a, 0x7e, 0x10, 0x16, 0x00, 0x00,
}
func (this *PermissionDetail) Equal(that interface{}) bool {
diff --git a/x/subspaces/wasm/common_test.go b/x/subspaces/wasm/common_test.go
index 4f80329104..58822c5411 100644
--- a/x/subspaces/wasm/common_test.go
+++ b/x/subspaces/wasm/common_test.go
@@ -4,12 +4,15 @@ import (
"encoding/json"
"testing"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "github.com/cosmos/cosmos-sdk/codec/address"
+ "github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -165,12 +168,12 @@ type TestSuite struct {
func (suite *TestSuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey, authtypes.StoreKey)
+ keys := storetypes.NewKVStoreKeys(types.StoreKey, authtypes.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -185,9 +188,10 @@ func (suite *TestSuite) SetupTest() {
// Define keeper
suite.ak = authkeeper.NewAccountKeeper(
suite.cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
app.GetMaccPerms(),
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
diff --git a/x/subspaces/wasm/msg_parser_test.go b/x/subspaces/wasm/msg_parser_test.go
index ffc1fb1309..be4eeec6ee 100644
--- a/x/subspaces/wasm/msg_parser_test.go
+++ b/x/subspaces/wasm/msg_parser_test.go
@@ -5,9 +5,10 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/authz"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/app"
@@ -285,7 +286,7 @@ func TestMsgsParser_ParseCustomMsgs(t *testing.T) {
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
types.NewUserGrantee("cosmos1vkuuth0rak58x36m7wuzj7ztttxh26fhqcfxm0"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10)))},
)),
shouldErr: false,
expMsgs: []sdk.Msg{
@@ -293,7 +294,7 @@ func TestMsgsParser_ParseCustomMsgs(t *testing.T) {
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
types.NewUserGrantee("cosmos1vkuuth0rak58x36m7wuzj7ztttxh26fhqcfxm0"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10)))},
),
},
},
diff --git a/x/subspaces/wasm/querier.go b/x/subspaces/wasm/querier.go
index 255387308c..5306f0e2ec 100644
--- a/x/subspaces/wasm/querier.go
+++ b/x/subspaces/wasm/querier.go
@@ -58,7 +58,7 @@ func (querier SubspacesWasmQuerier) handleSubspacesRequest(ctx sdk.Context, data
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.Subspaces(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.Subspaces(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -71,7 +71,7 @@ func (querier SubspacesWasmQuerier) handleSubspaceRequest(ctx sdk.Context, data
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.Subspace(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.Subspace(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -84,7 +84,7 @@ func (querier SubspacesWasmQuerier) handleUserGroupsRequest(ctx sdk.Context, dat
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.UserGroups(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.UserGroups(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -97,7 +97,7 @@ func (querier SubspacesWasmQuerier) handleUserGroupRequest(ctx sdk.Context, data
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.UserGroup(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.UserGroup(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -110,7 +110,7 @@ func (querier SubspacesWasmQuerier) handleUserGroupMembersRequest(ctx sdk.Contex
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.UserGroupMembers(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.UserGroupMembers(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -123,7 +123,7 @@ func (querier SubspacesWasmQuerier) handleUserPermissionsRequest(ctx sdk.Context
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.UserPermissions(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.UserPermissions(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -136,7 +136,7 @@ func (querier SubspacesWasmQuerier) handleUserAllowancesRequest(ctx sdk.Context,
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.UserAllowances(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.UserAllowances(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
@@ -149,7 +149,7 @@ func (querier SubspacesWasmQuerier) handleGroupAllowancesRequest(ctx sdk.Context
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrJSONUnmarshal, err.Error())
}
- res, err := querier.subspacesKeeper.GroupAllowances(sdk.WrapSDKContext(ctx), &req)
+ res, err := querier.subspacesKeeper.GroupAllowances(ctx, &req)
if err != nil {
return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, err.Error())
}
diff --git a/x/subspaces/wasm/querier_test.go b/x/subspaces/wasm/querier_test.go
index ee2ea70434..13dd193f3c 100644
--- a/x/subspaces/wasm/querier_test.go
+++ b/x/subspaces/wasm/querier_test.go
@@ -4,9 +4,10 @@ import (
"encoding/json"
"time"
+ "cosmossdk.io/math"
+ "cosmossdk.io/x/feegrant"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/cosmos/cosmos-sdk/x/feegrant"
poststypes "github.com/desmos-labs/desmos/v6/x/posts/types"
profilestypes "github.com/desmos-labs/desmos/v6/x/profiles/types"
@@ -263,7 +264,7 @@ func (suite *TestSuite) TestSubspacesWasmQuerier_QueryCustom() {
1,
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
types.NewUserGrantee("cosmos1nv9kkuads7f627q2zf4k9kwdudx709rjck3s7e"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10)))},
))
},
shouldErr: false,
@@ -274,7 +275,7 @@ func (suite *TestSuite) TestSubspacesWasmQuerier_QueryCustom() {
1,
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
types.NewUserGrantee("cosmos1nv9kkuads7f627q2zf4k9kwdudx709rjck3s7e"),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10)))},
),
},
Pagination: &query.PageResponse{NextKey: nil, Total: 1},
@@ -303,7 +304,7 @@ func (suite *TestSuite) TestSubspacesWasmQuerier_QueryCustom() {
1,
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10)))},
))
},
shouldErr: false,
@@ -314,7 +315,7 @@ func (suite *TestSuite) TestSubspacesWasmQuerier_QueryCustom() {
1,
"cosmos1m0czrla04f7rp3zg7dsgc4kla54q7pc4xt00l5",
types.NewGroupGrantee(1),
- &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", sdk.NewInt(10)))},
+ &feegrant.BasicAllowance{SpendLimit: sdk.NewCoins(sdk.NewCoin("stake", math.NewInt(10)))},
),
},
Pagination: &query.PageResponse{NextKey: nil, Total: 1},
diff --git a/x/supply/client/cli/cli_test.go b/x/supply/client/cli/cli_test.go
index 8eadb9a1ad..d8cdfe1e3f 100644
--- a/x/supply/client/cli/cli_test.go
+++ b/x/supply/client/cli/cli_test.go
@@ -7,10 +7,10 @@ import (
"fmt"
"testing"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
"github.com/cosmos/cosmos-sdk/testutil/network"
- sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
@@ -86,7 +86,7 @@ func (s *IntegrationTestSuite) TestCmdQueryTotalSupply() {
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
},
shouldErr: false,
- expectedOutput: types.QueryTotalResponse{TotalSupply: sdk.NewInt(1000000020)},
+ expectedOutput: types.QueryTotalResponse{TotalSupply: math.NewInt(1000000020)},
},
{
name: "total supply returned correctly with divider_exponent conversion applied",
@@ -96,7 +96,7 @@ func (s *IntegrationTestSuite) TestCmdQueryTotalSupply() {
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
},
shouldErr: false,
- expectedOutput: types.QueryTotalResponse{TotalSupply: sdk.NewInt(10000000)},
+ expectedOutput: types.QueryTotalResponse{TotalSupply: math.NewInt(10000000)},
},
}
@@ -145,7 +145,7 @@ func (s *IntegrationTestSuite) TestCmdQueryCirculatingSupply() {
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
},
shouldErr: false,
- expectedOutput: types.QueryCirculatingResponse{CirculatingSupply: sdk.NewInt(1000000020)},
+ expectedOutput: types.QueryCirculatingResponse{CirculatingSupply: math.NewInt(1000000020)},
},
{
name: "circulating supply returned correctly with divider_exponent conversion applied",
@@ -155,7 +155,7 @@ func (s *IntegrationTestSuite) TestCmdQueryCirculatingSupply() {
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
},
shouldErr: false,
- expectedOutput: types.QueryCirculatingResponse{CirculatingSupply: sdk.NewInt(10000000)},
+ expectedOutput: types.QueryCirculatingResponse{CirculatingSupply: math.NewInt(10000000)},
},
}
diff --git a/x/supply/keeper/common_test.go b/x/supply/keeper/common_test.go
index f329fd12ce..7e1c7157dc 100644
--- a/x/supply/keeper/common_test.go
+++ b/x/supply/keeper/common_test.go
@@ -2,15 +2,19 @@ package keeper_test
import (
"testing"
+ "time"
- db "github.com/cometbft/cometbft-db"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
+ db "github.com/cosmos/cosmos-db"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
+ "github.com/cosmos/cosmos-sdk/codec/address"
"github.com/cosmos/cosmos-sdk/crypto/hd"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
+ "github.com/cosmos/cosmos-sdk/runtime"
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
@@ -46,11 +50,11 @@ func (suite *KeeperTestSuite) SetupTest() {
maccPerms := app.GetMaccPerms()
// Define store keys
- keys := sdk.NewMemoryStoreKeys(authtypes.StoreKey, banktypes.StoreKey, distributiontypes.StoreKey, stakingtypes.StoreKey)
+ keys := storetypes.NewKVStoreKeys(authtypes.StoreKey, banktypes.StoreKey, distributiontypes.StoreKey, stakingtypes.StoreKey)
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
@@ -69,44 +73,48 @@ func (suite *KeeperTestSuite) SetupTest() {
// Dependencies initialization
suite.ak = authkeeper.NewAccountKeeper(
suite.cdc,
- keys[authtypes.StoreKey],
+ runtime.NewKVStoreService(keys[authtypes.StoreKey]),
authtypes.ProtoBaseAccount,
maccPerms,
+ address.NewBech32Codec("cosmos"),
"cosmos",
authtypes.NewModuleAddress("gov").String(),
)
moduleAcc := authtypes.NewEmptyModuleAccount(banktypes.ModuleName, authtypes.Burner,
authtypes.Minter, authtypes.Staking)
-
- suite.ak.SetModuleAccount(suite.ctx, moduleAcc)
+ maccI := (suite.ak.NewAccount(suite.ctx, moduleAcc)).(sdk.ModuleAccountI) // set the account number
+ suite.ak.SetModuleAccount(suite.ctx, maccI)
suite.bk = bankkeeper.NewBaseKeeper(
suite.cdc,
- keys[banktypes.StoreKey],
+ runtime.NewKVStoreService(keys[banktypes.StoreKey]),
suite.ak,
nil,
authtypes.NewModuleAddress("gov").String(),
+ log.NewNopLogger(),
)
suite.sk = stakingkeeper.NewKeeper(
suite.cdc,
- keys[stakingtypes.StoreKey],
+ runtime.NewKVStoreService(keys[stakingtypes.StoreKey]),
suite.ak,
suite.bk,
authtypes.NewModuleAddress("gov").String(),
+ address.NewBech32Codec("cosmosvaloper"),
+ address.NewBech32Codec("cosmosvalcons"),
)
suite.dk = distributionkeeper.NewKeeper(
suite.cdc,
- keys[distributiontypes.StoreKey],
+ runtime.NewKVStoreService(keys[distributiontypes.StoreKey]),
suite.ak,
suite.bk,
suite.sk,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress("gov").String(),
)
- suite.dk.SetFeePool(suite.ctx, distributiontypes.InitialFeePool())
+ suite.dk.FeePool.Set(suite.ctx, distributiontypes.InitialFeePool())
// Define keeper
suite.k = keeper.NewKeeper(suite.cdc, suite.ak, suite.bk, suite.dk)
@@ -126,13 +134,14 @@ func (suite *KeeperTestSuite) setupSupply(ctx sdk.Context, totalSupply sdk.Coins
suite.Require().NoError(suite.bk.MintCoins(ctx, moduleAcc.GetName(), totalSupply))
// Create a vesting account
- vestingAccount := vestingtypes.NewContinuousVestingAccount(
+ vestingAccount, err := vestingtypes.NewContinuousVestingAccount(
suite.createBaseAccount(),
vestedSupply,
0,
- 12324125423,
+ time.Date(2100, 1, 1, 0, 0, 0, 0, time.UTC).Unix(),
)
- suite.ak.SetAccount(ctx, vestingAccount)
+ suite.Require().NoError(err)
+ suite.ak.SetAccount(ctx, suite.ak.NewAccount(ctx, vestingAccount))
// Send supply coins to the vesting account
suite.Require().NoError(suite.bk.SendCoinsFromModuleToAccount(
diff --git a/x/supply/keeper/grpc_query_test.go b/x/supply/keeper/grpc_query_test.go
index b996d409bc..7702dcf9f5 100644
--- a/x/supply/keeper/grpc_query_test.go
+++ b/x/supply/keeper/grpc_query_test.go
@@ -18,25 +18,25 @@ func (suite *KeeperTestSuite) TestQueryServer_Total() {
name: "valid query returns properly",
store: func(ctx sdk.Context) {
suite.setupSupply(ctx,
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1_000_000_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(200_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(300_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(1_000_000_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(200_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(300_000))),
)
},
req: types.NewQueryTotalRequest(sdk.DefaultBondDenom, 6),
- expSupply: sdk.NewInt(1_000_000),
+ expSupply: math.NewInt(1_000_000),
},
{
name: "valid query returns properly - divider equals to 0",
store: func(ctx sdk.Context) {
suite.setupSupply(ctx,
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1_000_000_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(200_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(300_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(1_000_000_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(200_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(300_000))),
)
},
req: types.NewQueryTotalRequest(sdk.DefaultBondDenom, 0),
- expSupply: sdk.NewInt(1_000_000_000_000),
+ expSupply: math.NewInt(1_000_000_000_000),
},
}
@@ -48,7 +48,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Total() {
tc.store(ctx)
}
- res, err := suite.k.Total(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Total(ctx, tc.req)
suite.Require().NoError(err)
suite.Require().Equal(tc.expSupply, res.TotalSupply)
})
@@ -66,25 +66,25 @@ func (suite *KeeperTestSuite) TestQueryServer_Circulating() {
name: "valid query returns properly",
store: func(ctx sdk.Context) {
suite.setupSupply(ctx,
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(200_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(300_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(1_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(200_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(300_000))),
)
},
req: types.NewQueryCirculatingRequest(sdk.DefaultBondDenom, 3),
- expSupply: sdk.NewInt(500),
+ expSupply: math.NewInt(500),
},
{
name: "valid query returns properly - divider equals to 0",
store: func(ctx sdk.Context) {
suite.setupSupply(ctx,
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(200_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(300_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(1_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(200_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(300_000))),
)
},
req: types.NewQueryCirculatingRequest(sdk.DefaultBondDenom, 0),
- expSupply: sdk.NewInt(500_000),
+ expSupply: math.NewInt(500_000),
},
}
@@ -96,7 +96,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Circulating() {
tc.store(ctx)
}
- res, err := suite.k.Circulating(sdk.WrapSDKContext(ctx), tc.req)
+ res, err := suite.k.Circulating(ctx, tc.req)
suite.Require().NoError(err)
suite.Require().Equal(tc.expSupply, res.CirculatingSupply)
})
diff --git a/x/supply/keeper/keeper.go b/x/supply/keeper/keeper.go
index f279a61582..5a79e1518d 100644
--- a/x/supply/keeper/keeper.go
+++ b/x/supply/keeper/keeper.go
@@ -1,12 +1,13 @@
package keeper
import (
+ "fmt"
+
+ "cosmossdk.io/log"
"cosmossdk.io/math"
- "github.com/cometbft/cometbft/libs/log"
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting/exported"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
distributionkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"
@@ -52,13 +53,18 @@ func (k Keeper) GetCirculatingSupply(ctx sdk.Context, coinDenom string, divider
totalSupply := k.bk.GetSupply(ctx, coinDenom)
// Get the community pool denom amount
- communityPoolDenomAmount := k.dk.GetFeePoolCommunityCoins(ctx).AmountOf(coinDenom)
+ communityPool, err := k.dk.FeePool.Get(ctx)
+ if err != nil {
+ panic(err)
+ }
+
+ communityPoolDenomAmount := communityPool.CommunityPool.AmountOf(coinDenom)
// Subtract community pool amount from the total supply
circulatingSupply = totalSupply.Amount.Sub(communityPoolDenomAmount.RoundInt())
// Subtract all vesting account locked tokens amount from the circulating supply
- k.ak.IterateAccounts(ctx, func(account authtypes.AccountI) (stop bool) {
+ k.ak.IterateAccounts(ctx, func(account sdk.AccountI) (stop bool) {
if vestingAcc, ok := account.(exported.VestingAccount); ok {
circulatingSupply = subtractVestingAccountDenomAmounts(circulatingSupply, vestingAcc, coinDenom)
}
@@ -81,5 +87,7 @@ func subtractVestingAccountDenomAmounts(circulatingSupply math.Int,
originalVestingAmount := originalVesting.AmountOf(denom)
delegatedFreeAmount := delegatedFree.AmountOf(denom)
+ fmt.Println(originalVestingAmount, delegatedFreeAmount)
+
return circulatingSupply.Sub(originalVestingAmount).Sub(delegatedFreeAmount)
}
diff --git a/x/supply/keeper/keeper_test.go b/x/supply/keeper/keeper_test.go
index ef50f19b2b..3fcc3afdd3 100644
--- a/x/supply/keeper/keeper_test.go
+++ b/x/supply/keeper/keeper_test.go
@@ -17,14 +17,14 @@ func (suite *KeeperTestSuite) TestKeeper_GetTotalSupply() {
name: "total supply is computed properly",
store: func(ctx sdk.Context) {
suite.setupSupply(ctx,
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1_000_000_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(200_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(300_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(1_000_000_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(200_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(300_000))),
)
},
denom: sdk.DefaultBondDenom,
- divider: sdk.NewInt(1_000_000),
- expSupply: sdk.NewInt(1_000_000),
+ divider: math.NewInt(1_000_000),
+ expSupply: math.NewInt(1_000_000),
},
}
@@ -54,14 +54,14 @@ func (suite *KeeperTestSuite) TestKeeper_GetCirculatingSupply() {
name: "circulating supply is computed properly",
store: func(ctx sdk.Context) {
suite.setupSupply(ctx,
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(1_000_000_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(200_000_000_000))),
- sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(300_000_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(1_000_000_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(200_000_000_000))),
+ sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, math.NewInt(300_000_000_000))),
)
},
denom: sdk.DefaultBondDenom,
- divider: sdk.NewInt(1_000_000),
- expSupply: sdk.NewInt(500_000),
+ divider: math.NewInt(1_000_000),
+ expSupply: math.NewInt(500_000),
},
}
diff --git a/x/supply/module.go b/x/supply/module.go
index db41837ea8..f595490683 100644
--- a/x/supply/module.go
+++ b/x/supply/module.go
@@ -29,11 +29,9 @@ import (
)
var (
- _ module.AppModule = AppModule{}
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the supply module.
@@ -131,15 +129,6 @@ func (am AppModule) ExportGenesis(_ sdk.Context, _ codec.JSONCodec) json.RawMess
// ConsensusVersion implements AppModule/ConsensusVersion.
func (AppModule) ConsensusVersion() uint64 { return 1 }
-// BeginBlock returns the begin blocker for the supply module.
-func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {}
-
-// EndBlock returns the end blocker for the supply module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return nil
-}
-
// --------------------------------------------------------------------------------------------------------------------
// AppModuleSimulation functions
@@ -148,7 +137,7 @@ func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.Valid
func (AppModule) GenerateGenesisState(_ *module.SimulationState) {}
// RegisterStoreDecoder registers a decoder for supply module's types
-func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {}
+func (am AppModule) RegisterStoreDecoder(_ simtypes.StoreDecoderRegistry) {}
// WeightedOperations returns the all the supply module operations with their respective weights.
func (am AppModule) WeightedOperations(_ module.SimulationState) []simtypes.WeightedOperation {
diff --git a/x/supply/types/query.go b/x/supply/types/query.go
index 6775fe38f0..d94d4e7337 100644
--- a/x/supply/types/query.go
+++ b/x/supply/types/query.go
@@ -4,8 +4,6 @@ import (
math "math"
cosmosmath "cosmossdk.io/math"
-
- sdk "github.com/cosmos/cosmos-sdk/types"
)
// NewQueryTotalRequest returns a QueryTotalRequest instance
@@ -27,5 +25,5 @@ func NewQueryCirculatingRequest(denom string, dividerExponent uint64) *QueryCirc
// NewDividerPoweredByExponent takes the given exponent using it to power 10 to calculate the correct
// divider
func NewDividerPoweredByExponent(exponent uint64) cosmosmath.Int {
- return sdk.NewInt(int64(math.Pow10(int(exponent))))
+ return cosmosmath.NewInt(int64(math.Pow10(int(exponent))))
}
diff --git a/x/supply/types/query.pb.go b/x/supply/types/query.pb.go
index 930ea35c8e..ce6d7f1db9 100644
--- a/x/supply/types/query.pb.go
+++ b/x/supply/types/query.pb.go
@@ -5,8 +5,8 @@ package types
import (
context "context"
+ cosmossdk_io_math "cosmossdk.io/math"
fmt "fmt"
- github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
proto "github.com/cosmos/gogoproto/proto"
@@ -74,7 +74,7 @@ var xxx_messageInfo_QueryTotalRequest proto.InternalMessageInfo
// QueryTotalResponse is the response type for the Query/Total RPC method
type QueryTotalResponse struct {
- TotalSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=total_supply,json=totalSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_supply"`
+ TotalSupply cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=total_supply,json=totalSupply,proto3,customtype=cosmossdk.io/math.Int" json:"total_supply"`
}
func (m *QueryTotalResponse) Reset() { *m = QueryTotalResponse{} }
@@ -156,7 +156,7 @@ var xxx_messageInfo_QueryCirculatingRequest proto.InternalMessageInfo
// QueryCirculatingResponse is the response type for the Query/Circulating RPC
// method
type QueryCirculatingResponse struct {
- CirculatingSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=circulating_supply,json=circulatingSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"circulating_supply"`
+ CirculatingSupply cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=circulating_supply,json=circulatingSupply,proto3,customtype=cosmossdk.io/math.Int" json:"circulating_supply"`
}
func (m *QueryCirculatingResponse) Reset() { *m = QueryCirculatingResponse{} }
@@ -202,35 +202,35 @@ func init() {
func init() { proto.RegisterFile("desmos/supply/v1/query.proto", fileDescriptor_821941a4adac8710) }
var fileDescriptor_821941a4adac8710 = []byte{
- // 439 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0x4f, 0xab, 0xd3, 0x40,
- 0x14, 0xc5, 0x33, 0xc5, 0x8a, 0xce, 0x13, 0x7c, 0x6f, 0x78, 0x60, 0x09, 0x8f, 0xa4, 0xd6, 0x3f,
- 0x6d, 0x85, 0xce, 0x50, 0xc5, 0x8d, 0xcb, 0x8a, 0x8b, 0x2e, 0x1b, 0x5d,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8, 0x5e, 0xa3, 0x3a, 0x91, 0x3b, 0x12, 0x07, 0x6c, 0xf6, 0x98, 0x4c,
- 0x0f, 0x6c, 0xb5, 0x88, 0xd1, 0x55, 0xf5, 0xb7, 0x3c, 0xfa, 0x15, 0x00, 0x00, 0xff, 0xff, 0xee,
- 0x69, 0xcb, 0x28, 0x93, 0x03, 0x00, 0x00,
+ // 436 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0x4f, 0x6b, 0xd4, 0x40,
+ 0x14, 0x4f, 0x16, 0x57, 0x74, 0x2a, 0xd8, 0x0e, 0x15, 0x97, 0x50, 0x93, 0xba, 0x2a, 0x6d, 0x85,
+ 0xce, 0x50, 0x05, 0x0f, 0x9e, 0xa4, 0xe2, 0xa1, 0xe0, 0xc5, 0xe8, 0xc9, 0x83, 0x35, 0x9b, 0x0c,
+ 0xe9, 0x60, 0x32, 0x2f, 0xcd, 0x4c, 0x42, 0x97, 0xe2, 0xc5, 0x93, 0x47, 0x61, 0x6f, 0x9e, 0xf6,
+ 0xe3, 0xec, 0x71, 0xc1, 0x8b, 0x78, 0x58, 0x64, 0xd7, 0x83, 0x1f, 0x43, 0x32, 0x93, 0xc5, 0xb0,
+ 0x41, 0xd1, 0x43, 0x6f, 0xc9, 0xfb, 0xf3, 0xfb, 0xf7, 0x12, 0xb4, 0x15, 0x31, 0x99, 0x82, 0xa4,
+ 0xb2, 0xc8, 0xb2, 0x64, 0x48, 0xcb, 0x03, 0x7a, 0x5a, 0xb0, 0x7c, 0x48, 0xb2, 0x1c, 0x14, 0xe0,
+ 0x75, 0xd3, 0x25, 0xa6, 0x4b, 0xca, 0x03, 0x67, 0x33, 0x86, 0x18, 0x74, 0x93, 0x56, 0x4f, 0x66,
+ 0xce, 0xd9, 0x8a, 0x01, 0xe2, 0x84, 0xd1, 0x20, 0xe3, 0x34, 0x10, 0x02, 0x54, 0xa0, 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8c, 0xea,
+ 0xfe, 0xce, 0x87, 0x2f, 0x3f, 0x46, 0x9d, 0xdb, 0xd8, 0xa3, 0xad, 0xcf, 0x4c, 0x07, 0x4d, 0xcf,
+ 0x75, 0x5c, 0xef, 0xf1, 0xc8, 0x46, 0x6b, 0x0d, 0xdb, 0x78, 0xef, 0x0f, 0xf0, 0xed, 0x03, 0x38,
+ 0xf7, 0xff, 0x65, 0xb4, 0xd6, 0xb3, 0xaf, 0xf5, 0xec, 0xe0, 0x7b, 0x6d, 0x3d, 0x8d, 0x90, 0x96,
+ 0xaa, 0x0e, 0x8f, 0x26, 0x73, 0xd7, 0x9e, 0xce, 0x5d, 0xfb, 0xfb, 0xdc, 0xb5, 0x3f, 0x2d, 0x5c,
+ 0x6b, 0xba, 0x70, 0xad, 0xaf, 0x0b, 0xd7, 0x7a, 0x4d, 0x63, 0xae, 0x4e, 0x8a, 0x01, 0x09, 0x21,
+ 0xad, 0xa1, 0xf6, 0x93, 0x60, 0x20, 0x97, 0xb0, 0xe5, 0x23, 0x7a, 0xb6, 0xc4, 0x56, 0xc3, 0x8c,
+ 0xc9, 0xc1, 0x65, 0xfd, 0x2b, 0x3c, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x15, 0x12, 0x42,
+ 0x70, 0x03, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/x/supply/types/query_test.go b/x/supply/types/query_test.go
index 539cbccae4..73e8044b5d 100644
--- a/x/supply/types/query_test.go
+++ b/x/supply/types/query_test.go
@@ -4,7 +4,6 @@ import (
"testing"
"cosmossdk.io/math"
- sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
"github.com/desmos-labs/desmos/v6/x/supply/types"
@@ -19,52 +18,52 @@ func Test_NewDividerFromRawInt(t *testing.T) {
{
name: "raw divider equal to zero return 1",
rawDivider: 0,
- expectedInt: sdk.NewInt(1),
+ expectedInt: math.NewInt(1),
},
{
name: "raw divider equal to 2 return 100",
rawDivider: 2,
- expectedInt: sdk.NewInt(100),
+ expectedInt: math.NewInt(100),
},
{
name: "raw divider equal to 3 return 1000",
rawDivider: 3,
- expectedInt: sdk.NewInt(1000),
+ expectedInt: math.NewInt(1000),
},
{
name: "raw divider equal to 4 return 10000",
rawDivider: 4,
- expectedInt: sdk.NewInt(10000),
+ expectedInt: math.NewInt(10000),
},
{
name: "raw divider equal to 5 return 100000",
rawDivider: 5,
- expectedInt: sdk.NewInt(100000),
+ expectedInt: math.NewInt(100000),
},
{
name: "raw divider equal to 6 return 1000000",
rawDivider: 6,
- expectedInt: sdk.NewInt(1000000),
+ expectedInt: math.NewInt(1000000),
},
{
name: "raw divider equal to 6 return 1000000",
rawDivider: 7,
- expectedInt: sdk.NewInt(10000000),
+ expectedInt: math.NewInt(10000000),
},
{
name: "raw divider equal to 6 return 1000000",
rawDivider: 8,
- expectedInt: sdk.NewInt(100000000),
+ expectedInt: math.NewInt(100000000),
},
{
name: "raw divider equal to 6 return 1000000",
rawDivider: 9,
- expectedInt: sdk.NewInt(1000000000),
+ expectedInt: math.NewInt(1000000000),
},
{
name: "raw divider equal to 6 return 1000000",
rawDivider: 10,
- expectedInt: sdk.NewInt(10000000000),
+ expectedInt: math.NewInt(10000000000),
},
}
diff --git a/x/tokenfactory/client/cli/cli_test.go b/x/tokenfactory/client/cli/cli_test.go
index 60fe894412..9be84cbd6b 100644
--- a/x/tokenfactory/client/cli/cli_test.go
+++ b/x/tokenfactory/client/cli/cli_test.go
@@ -10,6 +10,7 @@ import (
"testing"
"time"
+ "cosmossdk.io/math"
tmcli "github.com/cometbft/cometbft/libs/cli"
"github.com/cosmos/cosmos-sdk/client/flags"
clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli"
@@ -232,7 +233,7 @@ func (s *IntegrationTestSuite) TestCmdCreateDenom() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -295,7 +296,7 @@ func (s *IntegrationTestSuite) TestCmdMint() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -358,7 +359,7 @@ func (s *IntegrationTestSuite) TestCmdBurn() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
@@ -443,7 +444,7 @@ func (s *IntegrationTestSuite) TestCmdSetDenomMetadata() {
fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()),
fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation),
fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync),
- fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, sdk.NewInt(10))).String()),
+ fmt.Sprintf("--%s=%s", flags.FlagFees, sdk.NewCoins(sdk.NewCoin(s.cfg.BondDenom, math.NewInt(10))).String()),
},
shouldErr: false,
respType: &sdk.TxResponse{},
diff --git a/x/tokenfactory/keeper/common_test.go b/x/tokenfactory/keeper/common_test.go
index d9d3c49e21..010b891dfe 100644
--- a/x/tokenfactory/keeper/common_test.go
+++ b/x/tokenfactory/keeper/common_test.go
@@ -5,13 +5,14 @@ import (
"github.com/golang/mock/gomock"
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- db "github.com/cometbft/cometbft-db"
+ "cosmossdk.io/store"
+ "cosmossdk.io/store/metrics"
+ storetypes "cosmossdk.io/store/types"
+ db "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/stretchr/testify/suite"
@@ -40,12 +41,12 @@ type KeeperTestSuite struct {
func (suite *KeeperTestSuite) SetupTest() {
// Define store keys
- keys := sdk.NewMemoryStoreKeys(types.StoreKey)
+ keys := storetypes.NewMemoryStoreKeys(types.StoreKey)
suite.storeKey = keys[types.StoreKey]
// Create an in-memory db
memDB := db.NewMemDB()
- ms := store.NewCommitMultiStore(memDB)
+ ms := store.NewCommitMultiStore(memDB, log.NewNopLogger(), metrics.NewNoOpMetrics())
for _, key := range keys {
ms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, memDB)
}
diff --git a/x/tokenfactory/keeper/createdenom_test.go b/x/tokenfactory/keeper/createdenom_test.go
index e0765824c4..2aa12b3642 100644
--- a/x/tokenfactory/keeper/createdenom_test.go
+++ b/x/tokenfactory/keeper/createdenom_test.go
@@ -3,6 +3,7 @@ package keeper_test
import (
"fmt"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/golang/mock/gomock"
@@ -74,12 +75,12 @@ func (suite *KeeperTestSuite) TestKeeper_CreateDenom() {
gomock.Any(),
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
).
Return(fmt.Errorf("send coin to module error"))
},
store: func(ctx sdk.Context) {
- suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))))
+ suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))))
},
subdenom: "uminttoken",
creator: "cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
@@ -101,16 +102,16 @@ func (suite *KeeperTestSuite) TestKeeper_CreateDenom() {
gomock.Any(),
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
).
Return(nil)
suite.bk.EXPECT().
- BurnCoins(gomock.Any(), types.ModuleName, sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))).
+ BurnCoins(gomock.Any(), types.ModuleName, sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))).
Return(fmt.Errorf("bank burn coins error"))
},
store: func(ctx sdk.Context) {
- suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))))
+ suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))))
},
subdenom: "uminttoken",
creator: "cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47",
@@ -132,12 +133,12 @@ func (suite *KeeperTestSuite) TestKeeper_CreateDenom() {
gomock.Any(),
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100))),
).
Return(nil)
suite.bk.EXPECT().
- BurnCoins(gomock.Any(), types.ModuleName, sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))).
+ BurnCoins(gomock.Any(), types.ModuleName, sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))).
Return(nil)
suite.bk.EXPECT().
@@ -150,7 +151,7 @@ func (suite *KeeperTestSuite) TestKeeper_CreateDenom() {
})
},
store: func(ctx sdk.Context) {
- suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))))
+ suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))))
},
check: func(ctx sdk.Context) {
suite.Require().Equal(
diff --git a/x/tokenfactory/keeper/creators.go b/x/tokenfactory/keeper/creators.go
index ae78a52199..7a710ed6a4 100644
--- a/x/tokenfactory/keeper/creators.go
+++ b/x/tokenfactory/keeper/creators.go
@@ -1,6 +1,7 @@
package keeper
import (
+ storetypes "cosmossdk.io/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
@@ -22,6 +23,6 @@ func (k Keeper) GetDenomsFromCreator(ctx sdk.Context, creator string) []string {
return denoms
}
-func (k Keeper) GetAllDenomsIterator(ctx sdk.Context) sdk.Iterator {
+func (k Keeper) GetAllDenomsIterator(ctx sdk.Context) storetypes.Iterator {
return k.GetCreatorsPrefixStore(ctx).Iterator(nil, nil)
}
diff --git a/x/tokenfactory/keeper/grpc_query_test.go b/x/tokenfactory/keeper/grpc_query_test.go
index ca9faa01f5..bddecf8fcf 100644
--- a/x/tokenfactory/keeper/grpc_query_test.go
+++ b/x/tokenfactory/keeper/grpc_query_test.go
@@ -34,7 +34,7 @@ func (suite *KeeperTestSuite) TestQueryServer_Params() {
tc.store(ctx)
}
- res, err := suite.k.Params(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.Params(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -73,7 +73,7 @@ func (suite *KeeperTestSuite) TestQueryServer_SubspaceDenoms() {
tc.store(ctx)
}
- res, err := suite.k.SubspaceDenoms(sdk.WrapSDKContext(ctx), tc.request)
+ res, err := suite.k.SubspaceDenoms(ctx, tc.request)
if tc.shouldErr {
suite.Require().Error(err)
} else {
diff --git a/x/tokenfactory/keeper/keeper.go b/x/tokenfactory/keeper/keeper.go
index 4af3b17a20..c689eaeaf3 100644
--- a/x/tokenfactory/keeper/keeper.go
+++ b/x/tokenfactory/keeper/keeper.go
@@ -1,10 +1,10 @@
package keeper
import (
- "github.com/cometbft/cometbft/libs/log"
+ "cosmossdk.io/log"
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/cosmos/cosmos-sdk/store/prefix"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/tokenfactory/types"
@@ -58,19 +58,19 @@ func (k Keeper) createModuleAccount(ctx sdk.Context) {
}
// GetDenomPrefixStore returns the substore for a specific denom
-func (k Keeper) GetDenomPrefixStore(ctx sdk.Context, denom string) sdk.KVStore {
+func (k Keeper) GetDenomPrefixStore(ctx sdk.Context, denom string) storetypes.KVStore {
store := ctx.KVStore(k.storeKey)
return prefix.NewStore(store, types.GetDenomPrefixStore(denom))
}
// GetCreatorPrefixStore returns the substore for a specific creator address
-func (k Keeper) GetCreatorPrefixStore(ctx sdk.Context, creator string) sdk.KVStore {
+func (k Keeper) GetCreatorPrefixStore(ctx sdk.Context, creator string) storetypes.KVStore {
store := ctx.KVStore(k.storeKey)
return prefix.NewStore(store, types.GetCreatorPrefix(creator))
}
// GetCreatorsPrefixStore returns the substore that contains a list of creators
-func (k Keeper) GetCreatorsPrefixStore(ctx sdk.Context) sdk.KVStore {
+func (k Keeper) GetCreatorsPrefixStore(ctx sdk.Context) storetypes.KVStore {
store := ctx.KVStore(k.storeKey)
return prefix.NewStore(store, types.GetCreatorsPrefix())
}
diff --git a/x/tokenfactory/keeper/msg_server_test.go b/x/tokenfactory/keeper/msg_server_test.go
index 66ba9bb3cc..ea0ee53de6 100644
--- a/x/tokenfactory/keeper/msg_server_test.go
+++ b/x/tokenfactory/keeper/msg_server_test.go
@@ -4,6 +4,7 @@ import (
"fmt"
"time"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
@@ -192,7 +193,7 @@ func (suite *KeeperTestSuite) TestMsgServer_CreateDenom() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.CreateDenom(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.CreateDenom(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -227,7 +228,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
msg: types.NewMsgMint(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -260,7 +261,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
msg: types.NewMsgMint(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -298,7 +299,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
MintCoins(
gomock.Any(),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(fmt.Errorf("error"))
},
@@ -310,7 +311,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
msg: types.NewMsgMint(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -348,7 +349,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
MintCoins(
gomock.Any(),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(nil)
@@ -357,7 +358,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
gomock.Any(),
types.ModuleName,
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(fmt.Errorf("error"))
},
@@ -369,7 +370,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
msg: types.NewMsgMint(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -407,7 +408,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
MintCoins(
gomock.Any(),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(nil)
@@ -416,7 +417,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
gomock.Any(),
types.ModuleName,
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(nil)
},
@@ -428,7 +429,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
msg: types.NewMsgMint(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
expResponse: &types.MsgMintResponse{},
expEvents: sdk.Events{
@@ -436,7 +437,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
types.EventTypeMint,
sdk.NewAttribute(types.AttributeKeySubspaceID, "1"),
sdk.NewAttribute(types.AttributeMintToAddress, "cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
- sdk.NewAttribute(types.AttributeAmount, sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)).String()),
+ sdk.NewAttribute(types.AttributeAmount, sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)).String()),
),
},
},
@@ -454,7 +455,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Mint() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.Mint(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.Mint(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -486,7 +487,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
msg: types.NewMsgBurn(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -519,7 +520,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
msg: types.NewMsgBurn(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -558,7 +559,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
gomock.Any(),
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(fmt.Errorf("error"))
},
@@ -570,7 +571,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
msg: types.NewMsgBurn(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -609,7 +610,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
gomock.Any(),
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(nil)
@@ -617,7 +618,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
BurnCoins(
gomock.Any(),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(fmt.Errorf("error"))
},
@@ -629,7 +630,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
msg: types.NewMsgBurn(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
shouldErr: true,
},
@@ -668,7 +669,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
gomock.Any(),
sdk.MustAccAddressFromBech32("cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(nil)
@@ -676,7 +677,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
BurnCoins(
gomock.Any(),
types.ModuleName,
- sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100))),
+ sdk.NewCoins(sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100))),
).
Return(nil)
},
@@ -688,7 +689,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
msg: types.NewMsgBurn(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)),
),
expResponse: &types.MsgBurnResponse{},
expEvents: sdk.Events{
@@ -696,7 +697,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
types.EventTypeBurn,
sdk.NewAttribute(types.AttributeKeySubspaceID, "1"),
sdk.NewAttribute(types.AttributeBurnFromAddress, "cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47"),
- sdk.NewAttribute(types.AttributeAmount, sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", sdk.NewInt(100)).String()),
+ sdk.NewAttribute(types.AttributeAmount, sdk.NewCoin("factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken", math.NewInt(100)).String()),
),
},
},
@@ -714,7 +715,7 @@ func (suite *KeeperTestSuite) TestMsgServer_Burn() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.Burn(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.Burn(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -862,7 +863,7 @@ func (suite *KeeperTestSuite) TestMsgServer_SetDenomMetadata() {
}
msgServer := keeper.NewMsgServerImpl(suite.k)
- res, err := msgServer.SetDenomMetadata(sdk.WrapSDKContext(ctx), tc.msg)
+ res, err := msgServer.SetDenomMetadata(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
} else {
@@ -894,13 +895,13 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateParams() {
{
name: "set params properly",
msg: types.NewMsgUpdateParams(
- types.NewParams(sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))),
+ types.NewParams(sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))),
authtypes.NewModuleAddress("gov").String(),
),
shouldErr: false,
check: func(ctx sdk.Context) {
suite.Require().Equal(
- types.NewParams(sdk.NewCoins(sdk.NewCoin("test", sdk.NewInt(100)))),
+ types.NewParams(sdk.NewCoins(sdk.NewCoin("test", math.NewInt(100)))),
suite.k.GetParams(ctx),
)
},
@@ -920,7 +921,7 @@ func (suite *KeeperTestSuite) TestMsgServer_UpdateParams() {
// Run the message
service := keeper.NewMsgServerImpl(suite.k)
- _, err := service.UpdateParams(sdk.WrapSDKContext(ctx), tc.msg)
+ _, err := service.UpdateParams(ctx, tc.msg)
if tc.shouldErr {
suite.Require().Error(err)
diff --git a/x/tokenfactory/keeper/params_test.go b/x/tokenfactory/keeper/params_test.go
index 25c13b4c44..63dd48fb1f 100644
--- a/x/tokenfactory/keeper/params_test.go
+++ b/x/tokenfactory/keeper/params_test.go
@@ -1,6 +1,7 @@
package keeper_test
import (
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/desmos-labs/desmos/v6/x/tokenfactory/types"
@@ -26,10 +27,10 @@ func (suite *KeeperTestSuite) TestKeeper_SetParams() {
store: func(ctx sdk.Context) {
suite.k.SetParams(ctx, types.DefaultParams())
},
- params: types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", sdk.NewInt(100)))),
+ params: types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", math.NewInt(100)))),
check: func(ctx sdk.Context) {
stored := suite.k.GetParams(ctx)
- suite.Require().Equal(types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", sdk.NewInt(100)))), stored)
+ suite.Require().Equal(types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", math.NewInt(100)))), stored)
},
},
}
@@ -59,9 +60,9 @@ func (suite *KeeperTestSuite) TestKeeper_GetParams() {
{
name: "params are returned properly",
store: func(ctx sdk.Context) {
- suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", sdk.NewInt(100)))))
+ suite.k.SetParams(ctx, types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", math.NewInt(100)))))
},
- expParams: types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", sdk.NewInt(100)))),
+ expParams: types.NewParams(sdk.NewCoins(sdk.NewCoin("udsm", math.NewInt(100)))),
},
}
diff --git a/x/tokenfactory/module.go b/x/tokenfactory/module.go
index d3f43fdc01..f209d9e47b 100644
--- a/x/tokenfactory/module.go
+++ b/x/tokenfactory/module.go
@@ -8,11 +8,11 @@ import (
"cosmossdk.io/core/appmodule"
"cosmossdk.io/depinject"
+ storetypes "cosmossdk.io/store/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -42,11 +42,9 @@ const (
// type check to ensure the interface is properly implemented
var (
- _ module.AppModule = AppModule{}
_ module.AppModuleBasic = AppModuleBasic{}
_ module.AppModuleSimulation = AppModule{}
_ appmodule.AppModule = AppModule{}
- _ depinject.OnePerModuleType = AppModule{}
)
// AppModuleBasic defines the basic application module used by the tokenfactory module.
@@ -165,16 +163,6 @@ func (AppModule) ConsensusVersion() uint64 {
return consensusVersion
}
-// BeginBlock returns the begin blocker for the tokenfactory module.
-func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock) {
-}
-
-// EndBlock returns the end blocker for the tokenfactory module. It returns no validator
-// updates.
-func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate {
- return []abci.ValidatorUpdate{}
-}
-
// --------------------------------------------------------------------------------------------------------------------
// AppModuleSimulation defines the module simulation functions used by the tokenfactory module.
@@ -186,7 +174,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
}
// RegisterStoreDecoder performs a no-op.
-func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) {
+func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
sdr[types.ModuleName] = simulation.NewDecodeStore(am.cdc)
}
diff --git a/x/tokenfactory/simulation/operations.go b/x/tokenfactory/simulation/operations.go
index 6913cda62d..e4e4622762 100644
--- a/x/tokenfactory/simulation/operations.go
+++ b/x/tokenfactory/simulation/operations.go
@@ -46,28 +46,28 @@ func WeightedOperations(
) sim.WeightedOperations {
var weightMsgCreateDenom int
- appParams.GetOrGenerate(cdc, OpWeightMsgCreateDenom, &weightMsgCreateDenom, nil,
+ appParams.GetOrGenerate(OpWeightMsgCreateDenom, &weightMsgCreateDenom, nil,
func(_ *rand.Rand) {
weightMsgCreateDenom = DefaultWeightMsgCreateDenom
},
)
var weightMsgMint int
- appParams.GetOrGenerate(cdc, OpWeightMsgMint, &weightMsgMint, nil,
+ appParams.GetOrGenerate(OpWeightMsgMint, &weightMsgMint, nil,
func(_ *rand.Rand) {
weightMsgMint = DefaultWeightMsgMint
},
)
var weightMsgBurn int
- appParams.GetOrGenerate(cdc, OpWeightMsgBurn, &weightMsgBurn, nil,
+ appParams.GetOrGenerate(OpWeightMsgBurn, &weightMsgBurn, nil,
func(_ *rand.Rand) {
weightMsgBurn = DefaultWeightMsgBurn
},
)
var weightMsgSetDenomMetadata int
- appParams.GetOrGenerate(cdc, OpWeightMsgSetDenomMetadata, &weightMsgSetDenomMetadata, nil,
+ appParams.GetOrGenerate(OpWeightMsgSetDenomMetadata, &weightMsgSetDenomMetadata, nil,
func(_ *rand.Rand) {
weightMsgSetDenomMetadata = DefaultWeightMsgSetDenomMetadata
},
@@ -212,7 +212,7 @@ func randomMintFields(
}
denom := RandomDenom(r, denoms)
amount = sdk.NewCoin(denom, simtypes.RandomAmount(r, math.NewInt(1000)))
- if amount.Amount.Equal(sdk.NewInt(0)) {
+ if amount.Amount.Equal(math.NewInt(0)) {
// Skip because amount with zero is invalid
skip = true
return
@@ -282,7 +282,7 @@ func randomBurnFields(
// Get a amount to burn
balance := bk.SpendableCoin(ctx, sdk.MustAccAddressFromBech32(subspace.Treasury), denom)
amount = sdk.NewCoin(denom, simtypes.RandomAmount(r, balance.Amount))
- if amount.Amount.Equal(sdk.NewInt(0)) {
+ if amount.Amount.Equal(math.NewInt(0)) {
// Skip because amount with zero is invalid
skip = true
return
diff --git a/x/tokenfactory/simulation/proposal.go b/x/tokenfactory/simulation/proposal.go
index b932a95f9c..a3887b49f9 100644
--- a/x/tokenfactory/simulation/proposal.go
+++ b/x/tokenfactory/simulation/proposal.go
@@ -3,6 +3,7 @@ package simulation
import (
"math/rand"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/address"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
@@ -37,7 +38,7 @@ func SimulateMsgUpdateParams(r *rand.Rand, _ sdk.Context, _ []simtypes.Account)
var authority sdk.AccAddress = address.Module("gov")
params := types.NewParams(sdk.NewCoins(
- sdk.NewCoin(sdk.DefaultBondDenom, simtypes.RandomAmount(r, sdk.NewInt(100)))),
+ sdk.NewCoin(sdk.DefaultBondDenom, simtypes.RandomAmount(r, math.NewInt(100)))),
)
return &types.MsgUpdateParams{
diff --git a/x/tokenfactory/testutil/expected_keepers_mocks.go b/x/tokenfactory/testutil/expected_keepers_mocks.go
index cba114dd2f..dd5ce8010d 100644
--- a/x/tokenfactory/testutil/expected_keepers_mocks.go
+++ b/x/tokenfactory/testutil/expected_keepers_mocks.go
@@ -5,12 +5,12 @@
package testutil
import (
+ context "context"
reflect "reflect"
types "github.com/cosmos/cosmos-sdk/types"
- types0 "github.com/cosmos/cosmos-sdk/x/auth/types"
- types1 "github.com/cosmos/cosmos-sdk/x/bank/types"
- types2 "github.com/desmos-labs/desmos/v6/x/subspaces/types"
+ types0 "github.com/cosmos/cosmos-sdk/x/bank/types"
+ types1 "github.com/desmos-labs/desmos/v6/x/subspaces/types"
gomock "github.com/golang/mock/gomock"
)
@@ -38,7 +38,7 @@ func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder {
}
// BurnCoins mocks base method.
-func (m *MockBankKeeper) BurnCoins(ctx types.Context, moduleName string, amt types.Coins) error {
+func (m *MockBankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BurnCoins", ctx, moduleName, amt)
ret0, _ := ret[0].(error)
@@ -52,10 +52,10 @@ func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}
}
// GetDenomMetaData mocks base method.
-func (m *MockBankKeeper) GetDenomMetaData(ctx types.Context, denom string) (types1.Metadata, bool) {
+func (m *MockBankKeeper) GetDenomMetaData(ctx context.Context, denom string) (types0.Metadata, bool) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetDenomMetaData", ctx, denom)
- ret0, _ := ret[0].(types1.Metadata)
+ ret0, _ := ret[0].(types0.Metadata)
ret1, _ := ret[1].(bool)
return ret0, ret1
}
@@ -67,7 +67,7 @@ func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *
}
// HasBalance mocks base method.
-func (m *MockBankKeeper) HasBalance(ctx types.Context, addr types.AccAddress, amt types.Coin) bool {
+func (m *MockBankKeeper) HasBalance(ctx context.Context, addr types.AccAddress, amt types.Coin) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasBalance", ctx, addr, amt)
ret0, _ := ret[0].(bool)
@@ -81,7 +81,7 @@ func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *go
}
// HasSupply mocks base method.
-func (m *MockBankKeeper) HasSupply(ctx types.Context, denom string) bool {
+func (m *MockBankKeeper) HasSupply(ctx context.Context, denom string) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasSupply", ctx, denom)
ret0, _ := ret[0].(bool)
@@ -95,7 +95,7 @@ func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.
}
// MintCoins mocks base method.
-func (m *MockBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error {
+func (m *MockBankKeeper) MintCoins(ctx context.Context, moduleName string, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MintCoins", ctx, moduleName, amt)
ret0, _ := ret[0].(error)
@@ -109,7 +109,7 @@ func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}
}
// SendCoins mocks base method.
-func (m *MockBankKeeper) SendCoins(ctx types.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error {
+func (m *MockBankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SendCoins", ctx, fromAddr, toAddr, amt)
ret0, _ := ret[0].(error)
@@ -123,7 +123,7 @@ func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt inter
}
// SendCoinsFromAccountToModule mocks base method.
-func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error {
+func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SendCoinsFromAccountToModule", ctx, senderAddr, recipientModule, amt)
ret0, _ := ret[0].(error)
@@ -137,7 +137,7 @@ func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAd
}
// SendCoinsFromModuleToAccount mocks base method.
-func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error {
+func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SendCoinsFromModuleToAccount", ctx, senderModule, recipientAddr, amt)
ret0, _ := ret[0].(error)
@@ -151,7 +151,7 @@ func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderMo
}
// SetDenomMetaData mocks base method.
-func (m *MockBankKeeper) SetDenomMetaData(ctx types.Context, denomMetaData types1.Metadata) {
+func (m *MockBankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types0.Metadata) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetDenomMetaData", ctx, denomMetaData)
}
@@ -186,10 +186,10 @@ func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder {
}
// GetAccount mocks base method.
-func (m *MockAccountKeeper) GetAccount(arg0 types.Context, arg1 types.AccAddress) types0.AccountI {
+func (m *MockAccountKeeper) GetAccount(arg0 context.Context, arg1 types.AccAddress) types.AccountI {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetAccount", arg0, arg1)
- ret0, _ := ret[0].(types0.AccountI)
+ ret0, _ := ret[0].(types.AccountI)
return ret0
}
@@ -200,10 +200,10 @@ func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 interface{}) *gom
}
// GetModuleAccount mocks base method.
-func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, moduleName string) types0.ModuleAccountI {
+func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetModuleAccount", ctx, moduleName)
- ret0, _ := ret[0].(types0.ModuleAccountI)
+ ret0, _ := ret[0].(types.ModuleAccountI)
return ret0
}
@@ -237,10 +237,10 @@ func (m *MockSubspacesKeeper) EXPECT() *MockSubspacesKeeperMockRecorder {
}
// GetAllSubspaces mocks base method.
-func (m *MockSubspacesKeeper) GetAllSubspaces(ctx types.Context) []types2.Subspace {
+func (m *MockSubspacesKeeper) GetAllSubspaces(ctx types.Context) []types1.Subspace {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetAllSubspaces", ctx)
- ret0, _ := ret[0].([]types2.Subspace)
+ ret0, _ := ret[0].([]types1.Subspace)
return ret0
}
@@ -251,10 +251,10 @@ func (mr *MockSubspacesKeeperMockRecorder) GetAllSubspaces(ctx interface{}) *gom
}
// GetSubspace mocks base method.
-func (m *MockSubspacesKeeper) GetSubspace(ctx types.Context, subspaceID uint64) (types2.Subspace, bool) {
+func (m *MockSubspacesKeeper) GetSubspace(ctx types.Context, subspaceID uint64) (types1.Subspace, bool) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetSubspace", ctx, subspaceID)
- ret0, _ := ret[0].(types2.Subspace)
+ ret0, _ := ret[0].(types1.Subspace)
ret1, _ := ret[1].(bool)
return ret0, ret1
}
@@ -266,7 +266,7 @@ func (mr *MockSubspacesKeeperMockRecorder) GetSubspace(ctx, subspaceID interface
}
// GetUsersWithRootPermissions mocks base method.
-func (m *MockSubspacesKeeper) GetUsersWithRootPermissions(ctx types.Context, subspaceID uint64, permission types2.Permissions) []string {
+func (m *MockSubspacesKeeper) GetUsersWithRootPermissions(ctx types.Context, subspaceID uint64, permission types1.Permissions) []string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetUsersWithRootPermissions", ctx, subspaceID, permission)
ret0, _ := ret[0].([]string)
@@ -280,7 +280,7 @@ func (mr *MockSubspacesKeeperMockRecorder) GetUsersWithRootPermissions(ctx, subs
}
// HasPermission mocks base method.
-func (m *MockSubspacesKeeper) HasPermission(ctx types.Context, subspaceID uint64, sectionID uint32, user string, permission types2.Permission) bool {
+func (m *MockSubspacesKeeper) HasPermission(ctx types.Context, subspaceID uint64, sectionID uint32, user string, permission types1.Permission) bool {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HasPermission", ctx, subspaceID, sectionID, user, permission)
ret0, _ := ret[0].(bool)
diff --git a/x/tokenfactory/types/codec.go b/x/tokenfactory/types/codec.go
index 6143e5b122..934b6d5c39 100644
--- a/x/tokenfactory/types/codec.go
+++ b/x/tokenfactory/types/codec.go
@@ -4,11 +4,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
- cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
- govcodec "github.com/cosmos/cosmos-sdk/x/gov/codec"
)
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
@@ -19,6 +16,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "desmos/x/tokenfactory/MsgUpdateParams")
cdc.RegisterConcrete(&Params{}, "desmos/x/tokenfactory/Params", nil)
+
}
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
@@ -33,29 +31,3 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
}
-
-var (
- amino = codec.NewLegacyAmino()
-
- // AminoCdc references the global x/tokenfactory module codec. Note, the codec should
- // ONLY be used in certain instances of tests and for JSON encoding as Amino is
- // still used for that purpose.
- //
- // The actual codec used for serialization should be provided to x/tokenfactory and
- // defined at the application level.
- AminoCdc = codec.NewAminoCodec(amino)
-)
-
-func init() {
- RegisterLegacyAminoCodec(amino)
- cryptocodec.RegisterCrypto(amino)
- sdk.RegisterLegacyAminoCodec(amino)
-
- // Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
- // used to properly serialize MsgGrant and MsgExec instances
- RegisterLegacyAminoCodec(authzcodec.Amino)
-
- // Register all Amino interfaces and concrete types on the gov Amino codec so that this can later be
- // used to properly serialize MsgSubmitProposal instances
- RegisterLegacyAminoCodec(govcodec.Amino)
-}
diff --git a/x/tokenfactory/types/denoms.go b/x/tokenfactory/types/denoms.go
index 97929529d3..4393d0cde6 100644
--- a/x/tokenfactory/types/denoms.go
+++ b/x/tokenfactory/types/denoms.go
@@ -1,12 +1,13 @@
package types
import (
+ context "context"
fmt "fmt"
"strings"
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
+ banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
)
const (
@@ -71,8 +72,8 @@ func DeconstructDenom(denom string) (creator string, subdenom string, err error)
// NewTokenFactoryDenomMintCoinsRestriction creates and returns a MintingRestrictionFn that only allows minting of
// valid tokenfactory denoms
-func NewTokenFactoryDenomMintCoinsRestriction() bankkeeper.MintingRestrictionFn {
- return func(ctx sdk.Context, coinsToMint sdk.Coins) error {
+func NewTokenFactoryDenomMintCoinsRestriction() banktypes.MintingRestrictionFn {
+ return func(ctx context.Context, coinsToMint sdk.Coins) error {
for _, coin := range coinsToMint {
_, _, err := DeconstructDenom(coin.Denom)
if err != nil {
diff --git a/x/tokenfactory/types/expected_keepers.go b/x/tokenfactory/types/expected_keepers.go
index 2d90341cef..b9d9e85fee 100644
--- a/x/tokenfactory/types/expected_keepers.go
+++ b/x/tokenfactory/types/expected_keepers.go
@@ -1,8 +1,9 @@
package types
import (
+ context "context"
+
sdk "github.com/cosmos/cosmos-sdk/types"
- authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
subspacestypes "github.com/desmos-labs/desmos/v6/x/subspaces/types"
@@ -11,24 +12,24 @@ import (
// BankKeeper represents a keeper that deals with x/bank
type BankKeeper interface {
// Methods imported from bank should be defined here
- GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool)
- SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata)
+ GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)
+ SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata)
- HasSupply(ctx sdk.Context, denom string) bool
+ HasSupply(ctx context.Context, denom string) bool
- SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
- SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
- MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
- BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
+ SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
+ SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
+ MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
+ BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
- SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
- HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool
+ SendCoins(ctx context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
+ HasBalance(ctx context.Context, addr sdk.AccAddress, amt sdk.Coin) bool
}
// AccountKeeper represents a keeper that deals with x/auth
type AccountKeeper interface {
- GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI
- GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI
+ GetAccount(context.Context, sdk.AccAddress) sdk.AccountI
+ GetModuleAccount(ctx context.Context, moduleName string) sdk.ModuleAccountI
}
// SubspacesKeeper represents a keeper that deals with x/subspaces
diff --git a/x/tokenfactory/types/genesis.pb.go b/x/tokenfactory/types/genesis.pb.go
index 902ab70893..d279f44036 100644
--- a/x/tokenfactory/types/genesis.pb.go
+++ b/x/tokenfactory/types/genesis.pb.go
@@ -165,9 +165,9 @@ var fileDescriptor_2113244c6f53484c = []byte{
0xb5, 0x62, 0x79, 0xb1, 0x40, 0x9e, 0xd1, 0xc9, 0xff, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4,
0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f,
0xe5, 0x18, 0xa2, 0x4c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21,
- 0x8e, 0xd2, 0xcd, 0x49, 0x4c, 0x2a, 0x86, 0xb2, 0xf5, 0xcb, 0x4c, 0xf5, 0x2b, 0x50, 0xa3, 0xb9,
+ 0x8e, 0xd2, 0xcd, 0x49, 0x4c, 0x2a, 0x86, 0xb2, 0xf5, 0xcb, 0xcc, 0xf4, 0x2b, 0x50, 0xa3, 0xb9,
0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xc7, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff,
- 0xda, 0x8c, 0xad, 0xb1, 0x96, 0x02, 0x00, 0x00,
+ 0xc2, 0xa9, 0x0c, 0xf5, 0x96, 0x02, 0x00, 0x00,
}
func (this *GenesisDenom) Equal(that interface{}) bool {
diff --git a/x/tokenfactory/types/models.pb.go b/x/tokenfactory/types/models.pb.go
index 5d78541ab5..9ced9047f8 100644
--- a/x/tokenfactory/types/models.pb.go
+++ b/x/tokenfactory/types/models.pb.go
@@ -94,9 +94,9 @@ var fileDescriptor_f8313056804a58ae = []byte{
0xb4, 0x59, 0xb1, 0xbc, 0x58, 0x20, 0xcf, 0xe8, 0xe4, 0x7f, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47,
0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d,
0xc7, 0x72, 0x0c, 0x51, 0xa6, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa,
- 0x10, 0xdf, 0xe8, 0xe6, 0x24, 0x26, 0x15, 0x43, 0xd9, 0xfa, 0x65, 0xa6, 0xfa, 0x15, 0xa8, 0x61,
+ 0x10, 0xdf, 0xe8, 0xe6, 0x24, 0x26, 0x15, 0x43, 0xd9, 0xfa, 0x65, 0x66, 0xfa, 0x15, 0xa8, 0x61,
0x50, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x76, 0xb7, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff,
- 0x7d, 0xc1, 0x0d, 0x07, 0x27, 0x01, 0x00, 0x00,
+ 0x65, 0xe4, 0xac, 0x43, 0x27, 0x01, 0x00, 0x00,
}
func (this *DenomAuthorityMetadata) Equal(that interface{}) bool {
diff --git a/x/tokenfactory/types/msgs.go b/x/tokenfactory/types/msgs.go
index 32cc348b4f..aa95b19b7f 100644
--- a/x/tokenfactory/types/msgs.go
+++ b/x/tokenfactory/types/msgs.go
@@ -2,15 +2,14 @@ package types
import (
"cosmossdk.io/errors"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
)
var (
- _ sdk.Msg = &MsgCreateDenom{}
- _ legacytx.LegacyMsg = &MsgCreateDenom{}
+ _ sdk.Msg = &MsgCreateDenom{}
)
// NewMsgCreateDenom creates a new MsgCreateDenom instance
@@ -53,16 +52,10 @@ func (msg MsgCreateDenom) Route() string { return RouterKey }
// Type implements legacytx.LegacyMsg
func (msg MsgCreateDenom) Type() string { return ActionCreateDenom }
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg MsgCreateDenom) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(&msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgMint{}
- _ legacytx.LegacyMsg = &MsgMint{}
+ _ sdk.Msg = &MsgMint{}
)
// NewMsgMint creates a new MsgMint instance
@@ -85,7 +78,7 @@ func (msg MsgMint) ValidateBasic() error {
return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address: %s", err)
}
- if !msg.Amount.IsValid() || msg.Amount.Amount.Equal(sdk.ZeroInt()) {
+ if !msg.Amount.IsValid() || msg.Amount.Amount.Equal(math.ZeroInt()) {
return errors.Wrap(sdkerrors.ErrInvalidCoins, msg.Amount.String())
}
@@ -104,16 +97,10 @@ func (msg MsgMint) Route() string { return RouterKey }
// Type implements legacytx.LegacyMsg
func (msg MsgMint) Type() string { return ActionMint }
-// MsgMint implements legacytx.LegacyMsg
-func (msg MsgMint) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(&msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgBurn{}
- _ legacytx.LegacyMsg = &MsgBurn{}
+ _ sdk.Msg = &MsgBurn{}
)
// NewMsgCreateDenom creates a new MsgBurn instance
@@ -136,7 +123,7 @@ func (msg MsgBurn) ValidateBasic() error {
return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid sender address: %s", err)
}
- if !msg.Amount.IsValid() || msg.Amount.Amount.Equal(sdk.ZeroInt()) {
+ if !msg.Amount.IsValid() || msg.Amount.Amount.Equal(math.ZeroInt()) {
return errors.Wrap(sdkerrors.ErrInvalidCoins, msg.Amount.String())
}
@@ -155,16 +142,10 @@ func (msg MsgBurn) Route() string { return RouterKey }
// Type implements legacytx.LegacyMsg
func (msg MsgBurn) Type() string { return ActionBurn }
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg MsgBurn) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(&msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgSetDenomMetadata{}
- _ legacytx.LegacyMsg = &MsgSetDenomMetadata{}
+ _ sdk.Msg = &MsgSetDenomMetadata{}
)
// NewMsgCreateDenom creates a new MsgSetDenomMetadata instance
@@ -208,16 +189,10 @@ func (msg MsgSetDenomMetadata) Route() string { return RouterKey }
// Type implements legacytx.LegacyMsg
func (msg MsgSetDenomMetadata) Type() string { return ActionSetDenomMetadata }
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg MsgSetDenomMetadata) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(&msg))
-}
-
// --------------------------------------------------------------------------------------------------------------------
var (
- _ sdk.Msg = &MsgUpdateParams{}
- _ legacytx.LegacyMsg = &MsgUpdateParams{}
+ _ sdk.Msg = &MsgUpdateParams{}
)
// NewMsgUpdateParams creates a new MsgUpdateParams instance
@@ -249,8 +224,3 @@ func (msg MsgUpdateParams) Route() string { return RouterKey }
// Type implements legacytx.LegacyMsg
func (msg MsgUpdateParams) Type() string { return ActionUpdateParams }
-
-// GetSignBytes implements legacytx.LegacyMsg
-func (msg MsgUpdateParams) GetSignBytes() []byte {
- return sdk.MustSortJSON(AminoCdc.MustMarshalJSON(&msg))
-}
diff --git a/x/tokenfactory/types/msgs.pb.go b/x/tokenfactory/types/msgs.pb.go
index f8d4ae1840..2d7a83aaa7 100644
--- a/x/tokenfactory/types/msgs.pb.go
+++ b/x/tokenfactory/types/msgs.pb.go
@@ -584,55 +584,55 @@ var fileDescriptor_68f1b81d31b98ba4 = []byte{
// 820 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0xcf, 0x4f, 0xdb, 0x48,
0x14, 0xc7, 0x63, 0x60, 0xb3, 0x30, 0xe1, 0xa7, 0x61, 0xf9, 0xe1, 0x5d, 0x6c, 0xd6, 0xcb, 0xee,
- 0xb2, 0xd9, 0xc5, 0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98, 0xbe, 0xf0, 0x72, 0xfd, 0x3b, 0xc0, 0xb9, 0x5f, 0x2c, 0x6d, 0xde, 0x40, 0x1c, 0x65, 0x3d,
+ 0x04, 0xe3, 0x3d, 0xcd, 0x38, 0xa8, 0xdc, 0xb8, 0x50, 0xd2, 0xaf, 0x29, 0x0c, 0x33, 0x49, 0x3f,
+ 0x3d, 0xf7, 0xbb, 0xca, 0x78, 0x70, 0xda, 0x92, 0x85, 0xb3, 0x96, 0x2c, 0x7c, 0x6e, 0xc9, 0xc2,
+ 0xcb, 0x73, 0x39, 0x71, 0x76, 0x2e, 0x27, 0x3e, 0x9e, 0xcb, 0x89, 0xc7, 0xff, 0xc7, 0x86, 0x5b,
+ 0x10, 0x7b, 0xfd, 0x08, 0x16, 0x09, 0x5f, 0xeb, 0xb5, 0x3b, 0x3d, 0xed, 0xe6, 0xd5, 0x83, 0x79,
+ 0x57, 0x4c, 0xb2, 0x9f, 0x27, 0x9b, 0xdf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x22, 0xf8, 0x85, 0x40,
0x9d, 0x09, 0x00, 0x00,
}
diff --git a/x/tokenfactory/types/msgs_test.go b/x/tokenfactory/types/msgs_test.go
index f539127769..42053627cf 100644
--- a/x/tokenfactory/types/msgs_test.go
+++ b/x/tokenfactory/types/msgs_test.go
@@ -3,6 +3,7 @@ package types_test
import (
"testing"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/stretchr/testify/require"
@@ -76,11 +77,6 @@ func TestMsgCreateDenom_ValidateBasic(t *testing.T) {
}
}
-func TestMsgCreateDenom_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgCreateDenom","value":{"sender":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","subdenom":"minttoken","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgCreateDenom.GetSignBytes()))
-}
-
func TestMsgCreateDenom_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgCreateDenom.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgCreateDenom.GetSigners())
@@ -91,7 +87,7 @@ func TestMsgCreateDenom_GetSigners(t *testing.T) {
var msgMint = types.NewMsgMint(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("uminttoken", math.NewInt(100)),
)
func TestMsgMint_Route(t *testing.T) {
@@ -131,7 +127,7 @@ func TestMsgMint_ValidateBasic(t *testing.T) {
msg: types.NewMsgMint(
msgMint.SubspaceID,
msgMint.Sender,
- sdk.Coin{Denom: "%invalid%", Amount: sdk.NewInt(100)},
+ sdk.Coin{Denom: "%invalid%", Amount: math.NewInt(100)},
),
shouldErr: true,
},
@@ -154,11 +150,6 @@ func TestMsgMint_ValidateBasic(t *testing.T) {
}
}
-func TestMsgMint_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgMint","value":{"amount":{"amount":"100","denom":"uminttoken"},"sender":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgMint.GetSignBytes()))
-}
-
func TestMsgMint_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgMint.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgMint.GetSigners())
@@ -169,7 +160,7 @@ func TestMsgMint_GetSigners(t *testing.T) {
var msgBurn = types.NewMsgBurn(
1,
"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69",
- sdk.NewCoin("uminttoken", sdk.NewInt(100)),
+ sdk.NewCoin("uminttoken", math.NewInt(100)),
)
func TestMsgBurn_Route(t *testing.T) {
@@ -209,7 +200,7 @@ func TestMsgBurn_ValidateBasic(t *testing.T) {
msg: types.NewMsgBurn(
msgBurn.SubspaceID,
msgBurn.Sender,
- sdk.Coin{Denom: "%invalid%", Amount: sdk.NewInt(100)},
+ sdk.Coin{Denom: "%invalid%", Amount: math.NewInt(100)},
),
shouldErr: true,
},
@@ -232,11 +223,6 @@ func TestMsgBurn_ValidateBasic(t *testing.T) {
}
}
-func TestMsgBurn_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgBurn","value":{"amount":{"amount":"100","denom":"uminttoken"},"sender":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgBurn.GetSignBytes()))
-}
-
func TestMsgBurn_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgBurn.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgBurn.GetSigners())
@@ -338,11 +324,6 @@ func TestMsgSetDenomMetadata_ValidateBasic(t *testing.T) {
}
}
-func TestMsgSetDenomMetadata_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/MsgSetDenomMetadata","value":{"metadata":{"base":"factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken","denom_units":[{"denom":"factory/cosmos1y54exmx84cqtasvjnskf9f63djuuj68p7hqf47/uminttoken"},{"aliases":["minttoken"],"denom":"minttoken","exponent":6}],"description":"The custom token of the test subspace.","display":"minttoken","name":"Mint Token","symbol":"MTK"},"sender":"cosmos1qzskhrcjnkdz2ln4yeafzsdwht8ch08j4wed69","subspace_id":"1"}}`
- require.Equal(t, expected, string(msgSetDenomMetadata.GetSignBytes()))
-}
-
func TestMsgSetDenomMetadata_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgSetDenomMetadata.Sender)
require.Equal(t, []sdk.AccAddress{addr}, msgSetDenomMetadata.GetSigners())
@@ -396,11 +377,6 @@ func TestMsgUpdateParams_ValidateBasic(t *testing.T) {
}
}
-func TestMsgUpdateParams_GetSignBytes(t *testing.T) {
- expected := `{"type":"desmos/x/tokenfactory/MsgUpdateParams","value":{"authority":"cosmos13t6y2nnugtshwuy0zkrq287a95lyy8vzleaxmd","params":{"denom_creation_fee":[{"amount":"10000000000","denom":"stake"}]}}}`
- require.Equal(t, expected, string(msgUpdateParams.GetSignBytes()))
-}
-
func TestMsgUpdateParams_GetSigners(t *testing.T) {
addr, _ := sdk.AccAddressFromBech32(msgUpdateParams.Authority)
require.Equal(t, []sdk.AccAddress{addr}, msgUpdateParams.GetSigners())
diff --git a/x/tokenfactory/types/params.pb.go b/x/tokenfactory/types/params.pb.go
index 33525842bf..5140810385 100644
--- a/x/tokenfactory/types/params.pb.go
+++ b/x/tokenfactory/types/params.pb.go
@@ -104,9 +104,9 @@ var fileDescriptor_6c27c1e949d7adf4 = []byte{
0x96, 0x9a, 0x6a, 0xa5, 0xd8, 0xf5, 0x7c, 0x83, 0x96, 0x0c, 0x34, 0x10, 0x2b, 0x50, 0x83, 0x11,
0xe2, 0x23, 0x27, 0xff, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e,
0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x45,
- 0x72, 0x0e, 0xc4, 0x08, 0xdd, 0x9c, 0xc4, 0xa4, 0x62, 0x28, 0x5b, 0xbf, 0xcc, 0x14, 0xdd, 0x44,
- 0xb0, 0x0b, 0x93, 0xd8, 0xc0, 0x81, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x20, 0x70,
- 0x7e, 0xbc, 0x01, 0x00, 0x00,
+ 0x72, 0x0e, 0xc4, 0x08, 0xdd, 0x9c, 0xc4, 0xa4, 0x62, 0x28, 0x5b, 0xbf, 0xcc, 0x0c, 0xdd, 0x44,
+ 0xb0, 0x0b, 0x93, 0xd8, 0xc0, 0x81, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x16, 0x05, 0xd1,
+ 0x3a, 0xbc, 0x01, 0x00, 0x00,
}
func (m *Params) Marshal() (dAtA []byte, err error) {
diff --git a/x/tokenfactory/types/params_test.go b/x/tokenfactory/types/params_test.go
index 145dcd605a..a47f7ff849 100644
--- a/x/tokenfactory/types/params_test.go
+++ b/x/tokenfactory/types/params_test.go
@@ -3,6 +3,7 @@ package types_test
import (
"testing"
+ "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
@@ -17,12 +18,12 @@ func TestParams_Validate(t *testing.T) {
}{
{
name: "invalid coins return error",
- params: types.NewParams(sdk.Coins{sdk.Coin{Denom: "%invalid%", Amount: sdk.NewInt(100)}}),
+ params: types.NewParams(sdk.Coins{sdk.Coin{Denom: "%invalid%", Amount: math.NewInt(100)}}),
shouldErr: true,
},
{
name: "valid params return no error",
- params: types.NewParams(sdk.NewCoins(sdk.Coin{Denom: "udsm", Amount: sdk.NewInt(100)})),
+ params: types.NewParams(sdk.NewCoins(sdk.Coin{Denom: "udsm", Amount: math.NewInt(100)})),
shouldErr: false,
},
{
diff --git a/x/tokenfactory/types/query.pb.go b/x/tokenfactory/types/query.pb.go
index 73e7b740b2..7e0e430952 100644
--- a/x/tokenfactory/types/query.pb.go
+++ b/x/tokenfactory/types/query.pb.go
@@ -243,9 +243,9 @@ var fileDescriptor_20df78bdaaed00dd = []byte{
0x52, 0xcc, 0xd5, 0xea, 0x43, 0x42, 0xd4, 0xc9, 0xff, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4,
0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f,
0xe5, 0x18, 0xa2, 0x4c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xa1, 0x66,
- 0xeb, 0xe6, 0x24, 0x26, 0x15, 0xc3, 0xec, 0x29, 0x33, 0xd5, 0xaf, 0x40, 0xb5, 0xac, 0xa4, 0xb2,
- 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x9c, 0x6c, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xd4,
- 0x12, 0x8c, 0x60, 0x03, 0x00, 0x00,
+ 0xeb, 0xe6, 0x24, 0x26, 0x15, 0xc3, 0xec, 0x29, 0x33, 0xd3, 0xaf, 0x40, 0xb5, 0xac, 0xa4, 0xb2,
+ 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x9c, 0x6c, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x44, 0xf1,
+ 0xb3, 0xc8, 0x60, 0x03, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.