Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add proposals 40 and 41 payload tests #3604

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rs/proposals/src/tests/payloads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use crate::tests::payloads::nns_function_16::payload_44876;
use crate::tests::payloads::nns_function_20::payload_44877;
use crate::tests::payloads::nns_function_21::payload_43825;
use crate::tests::payloads::nns_function_23::payload_44892;
use crate::tests::payloads::nns_function_40::payload_nns_function_id_40;
use crate::tests::payloads::nns_function_41::payload_nns_function_id_41;

mod nns_function_02;
mod nns_function_04;
Expand All @@ -21,6 +23,8 @@ mod nns_function_16;
mod nns_function_20;
mod nns_function_21;
mod nns_function_23;
mod nns_function_40;
mod nns_function_41;

pub fn get_payloads() -> Vec<(i32, Vec<u8>)> {
vec![
Expand Down Expand Up @@ -48,5 +52,7 @@ pub fn get_payloads() -> Vec<(i32, Vec<u8>)> {
// (22, ???),
(23, payload_44892()),
// (24, ???),
(40, payload_nns_function_id_40()),
(41, payload_nns_function_id_41()),
]
}
3 changes: 3 additions & 0 deletions rs/proposals/src/tests/payloads/nns_function_40.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn payload_nns_function_id_40() -> Vec<u8> {
(hex::decode("4449444c83016e016c11dbb70102b2ceef2f75afa3bda10175d9dcf28e02048f8ecfd60206c9c0999604789996f39e0478afbc879205099491a1b50578ce89be970678818db0de070af494ede10717c2f286fc0775d3a4a3a20a78b2b8d4960b19b4bfd4960b02e687feb20f786e036c01dbb701786e056c0290c6c1960571d19bc28f0e756d076c02007801086c02ea99cff20475ad9e83b60e786e786e0b6c01c7a1e7f90a0c6e0d6c08f1e79d9d020ec1cbdfc70213df9ab4900516e4c0d6dc090ebae8facc0a0ecbc9c7f90c0ecbffd3a80d0eae8aabe90d166e0f6c02b2ceef2f10b3c4b1f204156e116c07b2ceef2f12c0cff27109d7e09b900213ffdb81f703098daacd940809b0e4d2970a0981cfaef40a146e756d686d7b6e686d0f6e186c04c1c00178a7d2f00278c4a7c9a10178d6d5dac60f786e1a6c04efd6e4027198abec81011bb6f798b2011ca696a48708716e716e1d6b0d93a7e09d021ed881c9c4032188f0ccb408c200d69ce79d0ae40082ffcfaa0ce5009e9598a00dec009dfa94a40df100e3c3c5990ef600b1a5aea10efa00f5d9d7a50efd00fad5ddf40efe00db9cebf70eff00d6f4c7ff0f82016c02dbb70102bac7a7fa0d1f6e206c02cbe4fdc70471fc91f4f8051b6c03dbb70102cbe2b58b0822f1bb8b880dc0006e236b0c9b9cd0a40124bab5f1a40126918bacf10227fc9fc6830529c6b3bb91062e8db2d592093698a5d0c7093791b2fab80a38e0f8fffd0b1a8bf3afac0d3989b8b3b30e3aa3f3c0ad0f3b6c03bc949d820325dbe2be950915ef9999fe09096e796c01b9ef938008786c02afa3bda10175c2cee0d80c286d036c01d7ab012a6e2b6b039ef5cc0f2c9992ccd0012ddae1c99903786c006c029cb1fa2515ba89e5c204786c01a78882820a2f6e306b0996a7f71531f381d4ab02328cb2f18c0733b09b9ba4072cd0fb87af072c90f29afe0734e4ac938d0c2cf7aacfd80d2cc3a2f6c90e356c01f6b0989a08156c018eddc3a60d156c01d0e1e9f60c7e6c018dc3b2b303796c01c88ecad50a786c02ea99cff20475b2b8d4960b026c01c38fbbd10b026c05f5bbe3900178d2bbf0d9017eb9ef93800878dbe2be950915ef9999fe09786c01bbb4b09703256c01b99d9da50b796c02a9ddf49b073cd8a38ca80d3e6e3d6c01cedfa0a804146e3f6c01e0a9b302786ec1006b02cd8e8eb90414cebee1d308036c0aefd6e4021be7a39031c300c1cbdfc70213ebbedebd04cd00cbe4fdc7041bc0c9f2d804cf00fc91f4f8051baafababc09d10096a8ca8a0cd300e597bccc0ddc006ec4006c0aa0e2cd17c500beafa763c700c0a6dbaa01c70081b4c8f702c700f4ba8b8104c500bdbbfabf06c900ebb6f3ff06c70091d7d7b007c70083fbafbc0bc900e2efc5a90fcb006ec6006c01c4d9d3ea0f096ec8006c01ffecb6d405096eca006c01e0a9b302096ecc006c03ef9cc907c700f5eadfe701c500e7ce9ba50fc5006ece006c01c3b9dfbf0c1b6ed0006c04a5d8d2a602c9009efeb9a4031bb1a38bf40dcd0091c9aafe0d1b6dd2006c01dbb701156ed4006c0db1f3893609d49eb8a401c700abe1b1d001d500b7859b9d041bebaf95fd04c900a59ae0a605c900d3de91a907c900d9d3968b08c900caa0ddc708d70081deedcd08c900b7d0c9ff08c90085b1ad8e0cc900d08cf4c90fd9006ed6006c028fb2cf55c700cf898dd304096ed8006c01ceca9f900a096eda006c01ece1e5a508db006d716edd006c03c09ea567de00d9edb29806e000f0abe7ef0cde006edf006c01c4a7c9a101c9006ee1006c01ebb6bfc407e2006de3006c059cb1fa2515f5a1e557c700ba89e5c204098edf85ee05c700badcada008c9006c02e4d7bee905758effd6e90e146c03ce9ca6ce01e600f382ccb307e800b9ef938008786ee7006c02dbb701159df1afe7073c6ee9006b02fdf59aec0bea00e3b586ff0ceb006c01f5bbe39001786c01a9ddf49b073c6c03d889bea60d09b5f6f9e90e15c6f6ebeb0eed006eee006c0bfed391bd0178abe1b1d001ef00dcd0a0ab0378dfbcb4d80478edc6ecab087993e5e48109788ba7d38a0a0990b090af0e78f0a0acd20e09ca9ab7d20f789ea088f70f096ef0006c028fa0804178cf898dd304786c02cfbe93a404f200c796cdbe0b156ef3006c01edbb85f901f4006ef5006c02f9889a5778b2cc99e705786c0184aead33f7006df8006c02007501f9006c01c2cee0d80c286c02f8b9b6c904fb00a4ccf7dd0afc006e7e6de5006c089eb493cf0378befa8dd40479be8fe6e30478ce89be97067886f998bc0978c5cae3d40a7893a190e00c78f5e1d0e70d786c018594e2c50b136c01f0a2cabb0b80016e81016b02bf80e42be700c6a6e4b90ae7006c0196bdb4e9047101000101bd0500000000000001000000050000000000ec27366500000000000000000000000001ec6d3b650000000000000000000000008096980000000000000100000000000000000c90fb430000000097dd32a62bbb0000ec273665000000000100000000000000000000000100015d456c656374206e657720486f73744f532062696e617279207265766973696f6e2028636f6d6d697420393330626630656461363231386431373363346131616263353034666230366334316137633638392d3136393738333832323429010328000000a0024449444c036c04f5fac32101e5f5f3fc020283f7cbdf0a01d4cb8bab0c026d716e71010001810168747470733a2f2f646f776e6c6f61642e6466696e6974792e73797374656d732f69632f393330626630656461363231386431373363346131616263353034666230366334316137633638392d313639373833383232342f686f73742d6f732f7570646174652d696d672d6465762f7570646174652d696d672e7461722e7a73740133393330626630656461363231386431373363346131616263353034666230366334316137633638392d313639373833383232340001403236623333393662306136373836363364663534613436633332663461636238656363316231393362666661316433616533643564656666326331303235363417526567697374657220486f73744f532076657273696f6e01b2f7f581d6de3c060000000000000000")).unwrap()
}
3 changes: 3 additions & 0 deletions rs/proposals/src/tests/payloads/nns_function_41.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn payload_nns_function_id_41() -> Vec<u8> {
(hex::decode("4449444c83016e016c11dbb70102b2ceef2f75afa3bda10175d9dcf28e02048f8ecfd60206c9c0999604789996f39e0478afbc879205099491a1b50578ce89be970678818db0de070af494ede10717c2f286fc0775d3a4a3a20a78b2b8d4960b19b4bfd4960b02e687feb20f786e036c01dbb701786e056c0290c6c1960571d19bc28f0e756d076c02007801086c02ea99cff20475ad9e83b60e786e786e0b6c01c7a1e7f90a0c6e0d6c08f1e79d9d020ec1cbdfc70213df9ab4900516e4c0d6dc090ebae8facc0a0ecbc9c7f90c0ecbffd3a80d0eae8aabe90d166e0f6c02b2ceef2f10b3c4b1f204156e116c07b2ceef2f12c0cff27109d7e09b900213ffdb81f703098daacd940809b0e4d2970a0981cfaef40a146e756d686d7b6e686d0f6e186c04c1c00178a7d2f00278c4a7c9a10178d6d5dac60f786e1a6c04efd6e4027198abec81011bb6f798b2011ca696a48708716e716e1d6b0d93a7e09d021ed881c9c4032188f0ccb408c200d69ce79d0ae40082ffcfaa0ce5009e9598a00dec009dfa94a40df100e3c3c5990ef600b1a5aea10efa00f5d9d7a50efd00fad5ddf40efe00db9cebf70eff00d6f4c7ff0f82016c02dbb70102bac7a7fa0d1f6e206c02cbe4fdc70471fc91f4f8051b6c03dbb70102cbe2b58b0822f1bb8b880dc0006e236b0c9b9cd0a40124bab5f1a40126918bacf10227fc9fc6830529c6b3bb91062e8db2d592093698a5d0c7093791b2fab80a38e0f8fffd0b1a8bf3afac0d3989b8b3b30e3aa3f3c0ad0f3b6c03bc949d820325dbe2be950915ef9999fe09096e796c01b9ef938008786c02afa3bda10175c2cee0d80c286d036c01d7ab012a6e2b6b039ef5cc0f2c9992ccd0012ddae1c99903786c006c029cb1fa2515ba89e5c204786c01a78882820a2f6e306b0996a7f71531f381d4ab02328cb2f18c0733b09b9ba4072cd0fb87af072c90f29afe0734e4ac938d0c2cf7aacfd80d2cc3a2f6c90e356c01f6b0989a08156c018eddc3a60d156c01d0e1e9f60c7e6c018dc3b2b303796c01c88ecad50a786c02ea99cff20475b2b8d4960b026c01c38fbbd10b026c05f5bbe3900178d2bbf0d9017eb9ef93800878dbe2be950915ef9999fe09786c01bbb4b09703256c01b99d9da50b796c02a9ddf49b073cd8a38ca80d3e6e3d6c01cedfa0a804146e3f6c01e0a9b302786ec1006b02cd8e8eb90414cebee1d308036c0aefd6e4021be7a39031c300c1cbdfc70213ebbedebd04cd00cbe4fdc7041bc0c9f2d804cf00fc91f4f8051baafababc09d10096a8ca8a0cd300e597bccc0ddc006ec4006c0aa0e2cd17c500beafa763c700c0a6dbaa01c70081b4c8f702c700f4ba8b8104c500bdbbfabf06c900ebb6f3ff06c70091d7d7b007c70083fbafbc0bc900e2efc5a90fcb006ec6006c01c4d9d3ea0f096ec8006c01ffecb6d405096eca006c01e0a9b302096ecc006c03ef9cc907c700f5eadfe701c500e7ce9ba50fc5006ece006c01c3b9dfbf0c1b6ed0006c04a5d8d2a602c9009efeb9a4031bb1a38bf40dcd0091c9aafe0d1b6dd2006c01dbb701156ed4006c0db1f3893609d49eb8a401c700abe1b1d001d500b7859b9d041bebaf95fd04c900a59ae0a605c900d3de91a907c900d9d3968b08c900caa0ddc708d70081deedcd08c900b7d0c9ff08c90085b1ad8e0cc900d08cf4c90fd9006ed6006c028fb2cf55c700cf898dd304096ed8006c01ceca9f900a096eda006c01ece1e5a508db006d716edd006c03c09ea567de00d9edb29806e000f0abe7ef0cde006edf006c01c4a7c9a101c9006ee1006c01ebb6bfc407e2006de3006c059cb1fa2515f5a1e557c700ba89e5c204098edf85ee05c700badcada008c9006c02e4d7bee905758effd6e90e146c03ce9ca6ce01e600f382ccb307e800b9ef938008786ee7006c02dbb701159df1afe7073c6ee9006b02fdf59aec0bea00e3b586ff0ceb006c01f5bbe39001786c01a9ddf49b073c6c03d889bea60d09b5f6f9e90e15c6f6ebeb0eed006eee006c0bfed391bd0178abe1b1d001ef00dcd0a0ab0378dfbcb4d80478edc6ecab087993e5e48109788ba7d38a0a0990b090af0e78f0a0acd20e09ca9ab7d20f789ea088f70f096ef0006c028fa0804178cf898dd304786c02cfbe93a404f200c796cdbe0b156ef3006c01edbb85f901f4006ef5006c02f9889a5778b2cc99e705786c0184aead33f7006df8006c02007501f9006c01c2cee0d80c286c02f8b9b6c904fb00a4ccf7dd0afc006e7e6de5006c089eb493cf0378befa8dd40479be8fe6e30478ce89be97067886f998bc0978c5cae3d40a7893a190e00c78f5e1d0e70d786c018594e2c50b136c01f0a2cabb0b80016e81016b02bf80e42be700c6a6e4b90ae7006c0196bdb4e9047101000101be0500000000000001000000050000000000f527366500000000000000000000000001f56d3b6500000000000000000000000080969800000000000001000000000000000091cb3543000000003ae1a3a52bbb0000f5273665000000000100000000000000000000000100015d53657420486f73744f532076657273696f6e3a2027393330626630656461363231386431373363346131616263353034666230366334316137633638392d3136393738333832323427206f6e206e6f6465733a20275b75377876695d270103290000006e4449444c036c02f5dff8f40701bbf8fded0f026e716d6801000133393330626630656461363231386431373363346131616263353034666230366334316137633638392d3136393738333832323401011db05001de9b87edc44658bf5a86b850403efd78c5f3b4cc7f1bc22acf021d55706461746520486f73744f532076657273696f6e206f6e206e6f646501b2f7f581d6de3c060000000000000000")).unwrap()
}
Loading