diff --git a/contracts/DependencyAudit.cdc b/contracts/DependencyAudit.cdc index 0e48676..6315ffe 100644 --- a/contracts/DependencyAudit.cdc +++ b/contracts/DependencyAudit.cdc @@ -20,7 +20,7 @@ access(all) contract DependencyAudit { access(all) event PanicOnUnstagedDependenciesChanged(shouldPanic: Bool) // checkDependencies is called from the FlowServiceAccount contract - access(self) fun checkDependencies(_ dependenciesAddresses: [Address], _ dependenciesNames: [String], _ authorizers: [Address]) { + access(contract) fun checkDependencies(_ dependenciesAddresses: [Address], _ dependenciesNames: [String], _ authorizers: [Address]) { var unstagedDependencies: [Dependency] = [] var numDependencies = dependenciesAddresses.length @@ -56,7 +56,7 @@ access(all) contract DependencyAudit { j = j + 1 } - // the transactions will fail with a message that looks like this: `error: panic: Found unstaged dependencies: A.0x2ceae959ed1a7e7a.MigrationContractStaging, A.0x2ceae959ed1a7e7a.DependencyAudit` + // the transactions will fail with a message that looks like this: `error: panic: Found unstaged dependencies: A.2ceae959ed1a7e7a.MigrationContractStaging, A.2ceae959ed1a7e7a.DependencyAudit` panic("Found unstaged dependencies: ".concat(unstagedDependenciesString)) } else { emit UnstagedDependencies(dependencies: unstagedDependencies) @@ -105,12 +105,15 @@ access(all) contract DependencyAudit { } access(all) fun toString(): String { - return "A.".concat(self.address.toString()).concat(".").concat(self.name) + var addressString = self.address.toString() + // remove 0x prefix + addressString = addressString.slice(from: 2, upTo: addressString.length) + return "A.".concat(addressString).concat(".").concat(self.name) } } // The admin resource is saved to the storage so that the admin can be accessed by the service account - // The `excludedAddresses` will be the addresses with the system contracracts. + // The `excludedAddresses` will be the addresses with the system contracts. init(excludedAddresses: [Address]) { self.excludedAddresses = {} self.panicOnUnstaged = false diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index 12b218c..90bd524 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// DependencyAudit.cdc (5.808kB) +// DependencyAudit.cdc (5.968kB) // MigrationContractStaging.cdc (19.438kB) package assets @@ -70,7 +70,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _dependencyauditCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x58\x5f\x6f\xdb\x38\x12\x7f\xf7\xa7\x98\xf3\x93\x84\x73\x95\xf6\x80\x43\x51\xa3\xbe\x22\xd7\x6d\x81\x7d\xe8\x6e\x81\xec\xee\x8b\x11\xac\x19\x69\x6c\x33\x91\xc9\x80\xa4\x9c\x7a\x83\x7c\xf7\xc5\x90\xfa\x43\x8a\x94\x93\x45\x81\x1a\x41\x60\x59\xc3\x99\xdf\xfc\x66\x38\x33\x24\x3f\xdc\x4b\x65\x60\xfe\x85\xef\x14\x33\x5c\x8a\x8f\x52\x18\xc5\x4a\x73\x65\xd8\x8e\x8b\xdd\x7c\x36\xbb\xb8\x80\xdf\xf6\x5c\x43\xd9\xbe\x01\xae\xe9\xaf\xd1\x58\xc1\xcd\x09\xcc\x1e\xe1\xf3\x1f\x5f\xa0\x64\x75\xcd\xc5\xce\x3e\x6f\xca\x3d\x96\x77\x3f\xe1\x3d\x8a\x0a\x45\xc9\x51\x6f\x60\xdb\x88\x92\x0c\xc0\x56\xc9\x03\xb0\xe1\x59\x6e\xed\x1a\xcd\x0e\x08\x82\xfe\x31\x51\x81\xe6\x62\x27\x98\x69\x14\x02\x17\xce\x46\x2d\x1f\xae\x50\x1d\x79\x89\x97\x65\x29\x1b\x61\x7a\x44\x0b\xc2\xc8\x8c\x15\x43\x51\x91\x46\x3c\xa2\x3a\x81\x51\x4c\x68\x66\xcd\x14\xce\x0f\x84\x4d\xe5\xc1\xba\xac\x2a\x85\x5a\x13\x3e\xb2\x1a\xbc\xfb\x85\x1d\xe8\xf7\x07\x5e\xd7\x70\x83\xc0\xea\xda\x1a\xf0\x45\x40\x20\x56\x15\x56\x60\x24\xa8\x86\x70\x12\x8a\xd0\x68\x6f\xf7\x1c\x27\xd6\x88\x15\x00\xbe\x05\x26\x4e\x1d\x2b\x81\x35\xa6\x10\x84\x34\xa0\x0d\xdb\x61\xd5\x11\x33\x15\xba\x9e\x1e\xeb\xfa\xcf\x2f\x55\xbb\xb0\x02\x21\x32\x3c\x70\x03\x4c\x10\xab\xc2\xc0\x03\x37\x7b\x2b\xd4\x88\x16\x89\xaf\x6e\x01\x52\xc1\x3d\x13\xbc\x24\x57\x36\xf6\xdb\xaf\xe2\xf7\x56\x74\x43\xa9\xa3\xd1\x10\x63\x46\x35\x58\xcc\x58\x59\xa2\xd6\x19\xab\xeb\x7c\x48\xb1\x9e\xa6\xd3\x65\x53\x71\x03\x8f\xb3\x19\x00\x80\x2f\x5b\xa3\x81\xcb\xea\xc0\x05\xd7\x46\x31\x23\xd5\x95\x91\x8a\xed\xf0\x2b\x33\xfb\x25\x78\x0f\x6e\x69\x1b\x05\x7d\xd2\x06\x0f\xc0\xba\xb8\xc3\x9e\x1d\xb1\xb7\xab\x5d\x04\xad\xcf\xc4\xc8\x0d\x3a\x52\x34\x1c\x39\xb3\x2e\x1f\x3a\xb2\x07\xac\x5a\xc2\x03\x02\x7e\x2b\xeb\xa6\x42\x12\x3a\xb8\x14\x0f\x78\x3e\x51\x74\xef\x4a\xed\xbb\xa1\xb1\xde\xe6\x70\x64\xaa\x5b\x5c\xf5\xe9\xb8\x84\xc7\xf6\xfb\x12\xfe\x2f\x65\xfd\x14\xfb\x4f\xeb\x46\xe4\x3a\xd9\x58\xd4\x85\xad\x93\xf2\x53\x30\xf3\x23\xb7\x84\xf5\xc0\xfb\x75\x3e\xa5\xe7\x6b\x68\xd4\x57\xf7\x71\xcf\xc4\x0e\xab\x4c\xef\x65\x53\x57\x56\xd0\x61\xca\xfb\x20\x44\xbb\x80\x12\x82\x6a\x07\x56\x03\x6d\x67\xf6\x7a\x4c\xe0\xb6\x11\xb1\xd6\xec\x4f\x48\xee\xf3\x25\xac\xdb\xef\xd7\x0b\x08\x65\xec\x7e\x5f\xc2\xfa\xca\x28\x2e\x76\xf6\x35\x6b\xcc\x5e\x2a\xfe\x17\x2a\x7f\x61\x0e\x8f\x16\x05\x7d\x28\x0a\x4d\x82\x89\x90\x4b\x58\xc1\xfa\x7a\x16\x2c\x12\xcd\x21\x60\x61\x95\xc6\x5b\xd4\x28\x76\x66\x1f\x2c\xe5\xb0\x82\xd7\xfd\x2f\x0f\x7b\x5e\x23\x70\x78\x1f\xa9\x1c\x50\xd2\x87\xf6\x0b\xd7\x9f\xda\x4c\x83\xd5\x78\x8f\x15\x51\x12\xae\x93\x88\xd6\xfc\xfa\x1a\x3e\x7c\x80\x2d\xab\x35\x06\x16\xf8\xd6\x37\x10\x5a\xb7\xef\x61\x05\x1c\xfe\x0d\x6f\xa2\x37\x14\x5c\x2e\x9a\x50\xdd\xd3\x2c\xc2\xdf\x96\x9b\xd5\x64\xcd\x2b\xb8\xbe\xb2\x32\x19\xeb\xb6\xcf\x94\x13\x0b\xdb\x6c\x96\x71\x0a\xac\xf9\x75\x3e\xf6\xeb\x5f\xad\xe5\xd8\xa9\x54\xf0\x0b\x76\x4f\x0f\xd9\xc0\xf0\x77\xc2\xc9\xcf\x11\x13\xd3\xea\x09\xf0\x6d\x1a\xa1\x4b\x2b\xf8\x1f\xbc\x1e\xf9\xc4\xb7\x51\x62\x8c\xaa\x4c\x82\x04\xd7\x5f\x9e\xab\xf5\xae\xb3\x78\xed\xd1\x15\xda\xbe\x57\x98\x3d\x2a\xb4\xdd\x88\x3a\x55\xb2\xb9\xa4\x2c\x93\x52\xa7\xe3\x80\x5a\xb3\x1d\x3a\xb5\x5c\xf4\x05\xf9\x85\xba\xa6\xf6\xb2\x2b\x08\xb0\x82\xf9\x3c\xb9\x46\x34\x87\x54\x31\x84\xd5\x39\xea\x93\x9a\x6e\x83\x9d\xdd\x7d\xdc\x0e\xbf\x75\x3b\x3c\x69\x29\x8e\x48\x1b\xca\xdb\x44\x84\xfd\xcf\x59\x77\xa7\x5f\x16\xa5\x14\x25\x33\xd9\x7c\x01\xf3\x3c\xa9\xfc\x29\xf9\xeb\x77\x9a\x4b\x49\xac\x6f\xaf\x0b\x23\x9d\x5c\x96\xe7\xb3\xa4\x5d\xe2\xf5\x36\x59\x79\x9e\xe2\x05\x6d\x4a\x79\x79\xaa\x5d\x46\x6d\x19\xaf\xdd\xf0\xc3\xfa\x54\xb3\xf3\x42\x2d\xe5\x9d\x86\x9a\xdf\xd1\x33\xd7\x4b\xd8\xa0\x52\x52\x2d\x5d\x5a\x2e\xe1\xb3\x6c\x44\x95\x4e\xc2\x25\x5c\x16\xaf\xbf\xfd\xa7\x44\x86\xef\xfe\xfb\x0e\xab\x37\xec\x2d\xbe\x65\xc5\x54\x7d\x5b\xa4\xc5\x47\x3b\x76\x13\xf9\x64\x81\x64\xf3\xb3\x40\xe6\xe7\x68\x76\x04\x8f\x0b\x11\x60\xad\x31\x91\x5e\x76\x5e\x7c\xc1\xbc\x91\xb2\x34\xae\x75\xe1\xb7\xa7\x60\x9a\x0b\xe6\x3f\x50\xa8\xa5\x2a\x11\x4a\x26\x68\x72\xb3\x07\x14\x23\x69\xd6\x03\xfb\xf6\x20\x8f\xe8\x4d\x7e\xfd\xb4\x11\x35\x3e\xa8\xb8\x8d\x3b\x53\xa7\xd6\x5a\x34\x0a\x91\xad\x86\x8c\x85\x10\x06\x2a\xe8\x44\x52\x55\x9f\x22\xd5\x84\x86\x8c\x0e\x38\xa8\x3a\xbe\x04\xc5\x18\x02\xcd\x3d\x29\x13\x19\x4b\x0c\x3b\xf9\x28\x4a\x5b\xa9\x3a\x08\x74\x8e\x18\xd0\xc4\xc1\x7c\x7e\x4e\x68\x57\xd3\x98\x43\x75\x7e\x32\x80\x3e\x39\x2e\x1c\x31\x3f\x6d\x98\x42\x8a\x5e\x1e\xaa\x14\x49\x13\xa6\x7e\x38\x4f\x85\x03\x92\xdd\xe1\x69\xd9\x69\x9a\xce\x76\x9f\x2c\x8d\xe6\xcc\xd4\x4d\xaf\xb5\x3b\x77\x47\x1d\xf8\xc8\x14\x67\x37\x35\x76\x59\x76\x64\x75\x83\x74\x0a\xdc\x78\x33\xfa\x66\x92\xba\xf3\x86\x13\x73\xfe\x88\x97\xe7\x46\x89\x15\x78\x2a\x82\x95\xb6\x84\xfc\xd3\xa3\x86\xf7\x90\x4f\x50\x69\x50\x9b\x8f\xa9\x33\x88\x2d\x17\x14\x6e\x92\xa0\x8e\x74\xdf\xa8\x7b\xa9\xbd\x39\x81\xa6\x9c\xf6\x70\x58\x76\xb7\x01\xcf\x9c\xea\xdb\x83\xf2\xbd\x92\x47\x5e\x4d\xcd\x1f\x17\x17\x49\x35\x5c\x83\xa4\x91\xe8\x81\x6b\x77\x3e\x27\xa3\x36\x96\xfd\x76\x90\x8d\xd1\xbc\xc2\xc9\xf0\x25\x9d\xfd\x51\x47\x23\xfa\x28\x34\x8d\x12\x51\x1a\xc4\xc7\xb5\x24\xa2\x45\x0c\x62\xe1\x1b\xce\xd3\xcd\xc1\x67\x41\x1b\xd5\x04\xf7\x09\x1e\xc0\xf1\x6d\x42\x3f\xa3\xb7\x00\x26\x05\xdd\xa4\xee\xc8\xf0\x46\x6d\xc1\x4d\x36\xd6\xb1\x08\x84\xc7\xf4\xd0\x01\xb6\xe8\xca\xcb\xaa\x03\x10\x8b\xd8\x6b\xb1\x95\x55\x95\x4a\xeb\x28\xec\xfd\x3c\xd4\x19\x4e\x87\x65\x7e\x59\xf4\x4d\xdf\x87\xe2\x0f\x54\xfd\xa8\x57\xcc\xf3\x40\x96\xc0\x4c\x04\xa0\xed\xce\x8c\x5a\xe3\xd0\x29\xe9\x30\xc0\x8e\xae\x27\xdb\x0b\x3f\x77\x45\x03\x5a\xb6\xf7\x66\xfd\x92\xb6\x81\x3b\xb7\x86\x5b\x46\xed\x6e\x04\xe8\x77\xd9\x08\xe3\x9b\xda\x44\xc5\x76\xb8\xb8\x0b\x5b\x49\xbf\x27\xdb\x9b\xa0\xf6\x5e\xc1\xde\xfe\x14\xb3\x3e\x8e\x89\x1b\x99\x64\x92\x5b\x2a\xe2\xae\xb4\x82\xc7\xa7\x50\x26\xae\x7c\xee\x00\x1d\x4a\x4d\x5d\x68\xc1\x0a\x2e\x5a\xbe\x2e\xb6\xb5\x7c\x18\x6d\x28\xbb\x6c\x50\x35\x6a\x5a\x31\xbc\x44\x16\xbe\xbc\xab\x7b\x89\xe7\x76\x0d\x85\xec\xfd\x2b\x28\x15\x32\x33\x1a\x88\xb2\x3c\xf4\xaf\x0d\x5d\x41\x89\x90\xbd\x7f\x65\xd7\x2e\xc0\xc8\xe5\x79\xf7\xf3\x36\xbb\x9e\x66\x7f\x07\x00\x00\xff\xff\xac\xc5\x56\x51\xb0\x16\x00\x00" +var _dependencyauditCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x58\x51\x6f\xdb\xb6\x13\x7f\xf7\xa7\xb8\xbf\x9f\x2c\xfc\x5d\xa5\x2d\x30\x14\x15\xea\x15\x59\xd7\x02\x7b\xe8\x56\x20\xdd\x5e\x8c\x60\x66\xa4\xb3\xcd\x44\x26\x0d\x92\x72\xea\x05\xf9\xee\xc3\x91\x92\x4c\x8a\x94\x93\xa1\x40\x8d\x20\x90\xc4\xe3\xdd\xf1\x77\xc7\xbb\x1f\xc9\x77\x7b\xa9\x0c\x4c\x3f\xf3\x8d\x62\x86\x4b\xf1\x41\x0a\xa3\x58\x69\xae\x0c\xdb\x70\xb1\x99\x4e\x26\x17\x17\xf0\x75\xcb\x35\x94\xed\x08\x70\x4d\x7f\x8d\xc6\x0a\x6e\x8e\x60\xb6\x08\x9f\xfe\xfa\x0c\x25\xab\x6b\x2e\x36\xf6\x7d\x55\x6e\xb1\xbc\xfb\x15\xf7\x28\x2a\x14\x25\x47\xbd\x82\x75\x23\x4a\x32\x00\x6b\x25\x77\xc0\x4e\xef\x72\x6d\xe7\x68\xb6\x43\x10\xf4\x8f\x89\x0a\x34\x17\x1b\xc1\x4c\xa3\x10\xb8\x70\x36\x6a\x79\x7f\x85\xea\xc0\x4b\xbc\x2c\x4b\xd9\x08\xd3\x7b\x34\x27\x1f\x99\xb1\x62\x28\x2a\xd2\x88\x07\x54\x47\x30\x8a\x09\xcd\xac\x99\xdc\xad\x03\x61\x55\x79\x6e\x5d\x56\x95\x42\xad\xc9\x3f\xb2\x1a\x8c\xfd\xce\x76\xf4\xfd\x9e\xd7\x35\xdc\x20\xb0\xba\xb6\x06\x7c\x11\x10\x88\x55\x85\x15\x18\x09\xaa\x21\x3f\xc9\x8b\xd0\x68\x6f\xf7\x1c\x26\xd6\x88\x15\x00\xbe\x06\x26\x8e\x1d\x2a\x81\x35\xa6\x10\x84\x34\xa0\x0d\xdb\x60\xd5\x01\x33\x16\xba\x1e\x1e\xbb\xf4\xdf\x9e\xab\x76\x6e\x05\x42\xcf\x70\xc7\x0d\x30\x41\xa8\x0a\x03\xf7\xdc\x6c\xad\x50\x23\x5a\x4f\x7c\x75\x73\x90\x0a\xf6\x4c\xf0\x92\x96\xb2\xb2\x4f\x7f\x88\x3f\x5b\xd1\x15\xa5\x8e\x46\x43\x88\x19\xd5\x60\x3e\x61\x65\x89\x5a\xcf\x58\x5d\x67\xa7\x14\xeb\x61\x3a\x5e\x36\x15\x37\xf0\x30\x99\x00\x00\xf8\xb2\x35\x1a\xb8\xac\x76\x5c\x70\x6d\x14\x33\x52\x5d\x19\xa9\xd8\x06\xbf\x30\xb3\x2d\xc0\x7b\x71\x53\xdb\x28\xe8\xa3\x36\xb8\x03\xd6\xc5\x1d\xb6\xec\x80\xbd\x5d\xed\x22\x68\xd7\x4c\x88\xdc\xa0\x03\x45\xc3\x81\x33\xbb\xe4\x5d\x07\xf6\xc9\x57\x2d\xe1\x1e\x01\xbf\x95\x75\x53\x21\x09\xed\x5c\x8a\x07\x38\x1f\x29\xba\x77\xa5\xf6\x97\xa1\xb1\x5e\x67\x70\x60\xaa\x9b\x5c\xf5\xe9\x58\xc0\x43\xfb\x5c\xc0\x2f\x52\xd6\x8f\xf1\xfa\x69\xde\x00\x5c\x27\x1b\x8b\xba\xb0\x75\x52\x7e\x0a\xce\xfc\xc8\x15\xb0\x3c\xe1\x7e\x9d\x8d\xe9\xf9\x12\x1a\xf5\xd5\x7d\xd8\x32\xb1\xc1\x6a\xa6\xb7\xb2\xa9\x2b\x2b\xe8\x7c\xca\xfa\x20\x44\xbb\x80\x12\x82\x6a\x07\x56\x27\xd8\xce\xec\x75\xdf\xa9\xee\x5b\x46\xe9\x1a\x6b\x9e\xfd\x0d\xc9\xbd\x5e\xc0\xb2\x7d\xbe\x9e\x43\x28\x63\xf7\x7c\x01\xcb\x2b\xa3\xb8\xd8\xd8\x61\xd6\x98\xad\x54\xfc\x1f\x54\xfe\xc4\x0c\x1e\xac\x27\xf4\xa3\x48\x34\x09\x34\x42\x3c\x61\x01\xcb\xeb\x49\x30\x49\x34\xbb\x00\x89\x45\xda\xdf\xbc\x46\xb1\x31\xdb\x60\x2a\x87\x05\xbc\xec\xbf\xdc\x6f\x79\x8d\xc0\xe1\x5d\xa4\xf2\xe4\x25\xfd\x68\xcf\x70\xfd\xb1\xcd\x36\x58\x0c\xf7\x59\x1e\x25\xe2\x32\xe9\xd1\x92\x5f\x5f\xc3\xfb\xf7\xb0\x66\xb5\xc6\xc0\x02\x5f\xfb\x06\x42\xeb\x76\x1c\x16\xc0\xe1\xff\xf0\x2a\x1a\xa1\x60\x72\xd1\x84\xea\x1e\x27\x91\xff\x6d\xc9\x59\x8c\xd6\xbd\x9c\xeb\x2b\x2b\x33\x63\xdd\x16\x1a\x5b\xc4\xdc\x36\x9c\x22\x4e\x81\x25\xbf\xce\x86\xeb\xfa\x5f\x6b\x39\x5e\x54\x2a\xf8\x39\xdb\xd3\xcb\xec\x84\xf0\x77\xba\x93\x9d\x03\x26\x86\xd5\x13\xe0\xeb\xb4\x87\x2e\xad\xe0\x67\x78\x39\x58\x13\x5f\x47\x89\x31\xa8\x34\x09\x10\x5c\x8f\x79\xaa\xde\xbb\xee\xe2\xb5\x48\x57\x6c\xfb\x7e\x61\xb6\xa8\xd0\x76\x24\xea\x56\xc9\x06\x93\xb2\x4c\x4a\x9d\x8e\x1d\x6a\xcd\x36\xe8\xd4\x72\xd1\x17\xe5\x67\xea\x1a\xdb\xcb\xae\x20\xc0\x02\xa6\xd3\xe4\x1c\xd1\xec\x52\x05\x11\x16\xe7\xa0\x4f\x6a\xba\x0d\x76\x76\xf7\x73\x3b\xfc\xd6\xed\xf0\xa4\xa5\x38\x22\x6d\x28\x6f\x13\x11\xf6\x7f\x67\x97\x3b\x3e\x98\x97\x52\x94\xcc\xcc\xa6\x73\x98\x66\x49\xe5\x8f\xc9\xaf\xdf\x69\x2e\x25\xb1\xbc\xbd\xce\x8d\x74\x72\xb3\x2c\x9b\x24\xed\x12\xae\xb7\xc9\xca\xf3\x18\x4f\x68\x53\xca\xcb\x53\xed\x32\x6a\xcd\x78\xed\x08\x10\xeb\x53\xcd\x72\x86\x5a\xca\x3b\x0d\x35\xbf\xa3\x77\xae\x0b\x58\xa1\x52\x52\x15\x2e\x2d\x0b\xf8\x24\x1b\x51\xa5\x93\xb0\x80\xcb\xfc\x75\x89\x0c\xdf\xfe\xf4\x16\xab\x57\xec\x0d\xbe\x61\xf9\x58\x75\x9b\xa7\x84\x07\xbb\x75\x15\xad\xc7\x3a\x31\x9b\x9e\x75\x62\x7a\x0e\x62\x07\xee\xb0\x08\x01\xd6\x1a\x13\xa9\x65\xf9\xe2\x33\xf8\x46\xca\xd2\xb0\xce\x85\x4f\x8f\x01\x9b\x0b\xf8\x1f\x28\xd4\x52\x95\x08\x25\x13\xc4\xdc\xec\x01\xc5\x48\xe2\x7a\x60\x47\x77\xf2\x80\x1e\xf3\xeb\xd9\x46\xd4\xf4\xa0\xe2\x36\xe6\x4c\x1d\x5b\x6b\x11\x15\x22\x5b\x0d\x19\x0b\x5d\x38\x41\x41\x27\x92\xaa\xfa\x18\xa9\x26\x6f\xc8\xe8\xc9\x0f\xaa\x8c\xcf\xf1\x62\xe8\x02\x71\x9e\x94\x89\x19\x4b\x10\x9d\x6c\x10\xa5\xb5\x54\x9d\x0b\x74\x8e\x38\x79\x13\x07\xf3\x69\x8e\xd0\xce\x26\x8a\x43\x35\x7e\x34\x80\x3e\x38\x2e\x1c\x31\x3e\x6d\x98\x42\x88\x9e\x1f\xaa\x14\x48\x23\xa6\x7e\x38\x4e\xb9\x73\x64\x76\x87\xc7\xa2\xd3\x34\x9e\xed\x3e\x58\x1a\xcd\x19\xd6\x4d\xc3\xda\x9d\xbb\xa3\xee\x7b\x60\x8a\xb3\x9b\x1a\xbb\x2c\x3b\xb0\xba\x41\x3a\x05\xae\x3c\x8e\xbe\x1a\x85\xee\xbc\xe1\x04\xcf\x1f\xe0\xf2\x14\x8d\x58\x80\xa7\x22\x98\x69\x4b\xc8\x7f\x3d\x6a\x78\x2f\xd9\x08\x94\x06\xb5\xf9\x90\x3a\x83\xd8\x72\x41\xe1\x26\x09\xea\x46\xfb\x46\xed\xa5\xf6\x38\x02\x31\x9c\xf6\x70\x58\x76\xb7\x01\x4f\x9c\xea\xdb\x83\xf2\x5e\xc9\x03\xaf\xc6\xb8\xc7\xc5\x45\x52\x0d\xd7\x20\x89\x0e\xdd\x73\xed\xce\xe7\x64\xd4\xc6\xb2\xdf\x0e\xb2\x31\x9a\x57\x38\x1a\xbe\xe4\x62\x7f\xd4\xb1\x88\x7e\x0a\x4d\xa3\x44\x94\x06\xf1\x51\x2d\xe9\xd1\x3c\x76\x62\xee\x1b\xce\xd2\xcd\xc1\x47\x41\x1b\xd5\x04\xf7\x09\x9e\x83\xc3\xdb\x84\x9e\x9f\xb7\x0e\x8c\x0a\x3a\x96\xee\xc0\xf0\x68\xb6\xe0\x66\x36\xd4\x31\x0f\x84\x87\xf0\x68\xac\xd7\x79\x57\x5e\x16\x9d\x03\xb1\x88\xbd\x16\x5b\x58\x55\xa9\xb4\x8e\xc2\xde\x73\xa1\xce\xf0\xc0\x2e\xf1\xcc\xd6\x58\x4f\xbd\x7c\x5f\x3c\x36\x15\xcc\xeb\xeb\x36\xbc\xfc\x06\x7b\x85\x6b\xfe\x2d\x18\x1f\xea\x0c\xde\x73\x5d\xf3\x12\x67\x94\xbc\x05\xbc\x9e\x43\xb3\xff\x2a\x8b\x81\x88\xe3\xc5\x59\x2a\x87\xa6\x97\x79\xcf\x50\x82\x49\x59\xcf\x44\xf3\x69\xff\xdc\xc3\x36\x92\x23\x2d\x81\x60\xd4\xbd\x4f\xcd\x9c\xce\x2a\xec\xe0\x68\x83\xbd\x93\x74\xb7\x48\xa0\x65\x7b\xb5\xd7\x4f\x69\x39\x86\x43\xfe\x74\x11\xaa\xdd\xa5\x05\x7d\x97\x8d\x30\xbe\xa9\x55\xd4\x0f\x4e\x77\x8b\x61\xb7\xeb\xcb\x46\x7b\x59\xd5\xdf\x4e\xe5\x93\x3e\xcf\x12\x37\x46\xc9\x4d\x68\x71\x88\xbb\xe6\x02\x1e\x1e\x43\x99\xb8\x32\xbb\xc3\x7d\x28\x35\x76\xe1\x06\x0b\xb8\x68\xc1\xba\x58\xd7\xf2\x7e\xb0\xe1\xed\xb4\x93\xaa\x41\x53\x8d\xdd\x4b\xec\x92\xe7\xb3\x0e\x6f\x63\xb8\x5d\x4d\xf1\x7a\xf7\x02\x4a\x85\xcc\x0c\x08\x9b\x97\xdf\x2e\xff\x5d\xdc\x72\xca\x82\xd9\xbb\x17\x76\xee\x1c\x8c\x2c\xce\x2f\x3f\x6b\x53\xeb\x71\xf2\x6f\x00\x00\x00\xff\xff\xcd\x64\xc2\xd1\x50\x17\x00\x00" func dependencyauditCdcBytes() ([]byte, error) { return bindataRead( @@ -86,7 +86,7 @@ func dependencyauditCdc() (*asset, error) { } info := bindataFileInfo{name: "DependencyAudit.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x41, 0xc2, 0x63, 0x5c, 0x48, 0xdc, 0x67, 0xbb, 0x4b, 0x59, 0xea, 0xcd, 0xf0, 0x53, 0x36, 0x6a, 0x27, 0xf1, 0xf2, 0x6c, 0xdf, 0x87, 0xd4, 0xea, 0xc0, 0xb8, 0x4b, 0x6, 0xfa, 0xdf, 0xca, 0x5f}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc5, 0xe8, 0xd8, 0x74, 0x31, 0x6b, 0x70, 0x66, 0xa8, 0x2d, 0x1d, 0x3d, 0x59, 0x5c, 0xb1, 0xa7, 0xe4, 0xd2, 0x47, 0x33, 0xd3, 0xf1, 0xc5, 0x83, 0xc3, 0x1a, 0xa, 0xc8, 0x2b, 0x5, 0xa7, 0xb0}} return a, nil } diff --git a/tests/dependency_audit_tests.cdc b/tests/dependency_audit_tests.cdc index e75c2be..b34e5e9 100644 --- a/tests/dependency_audit_tests.cdc +++ b/tests/dependency_audit_tests.cdc @@ -213,5 +213,5 @@ access(all) fun testChekDependenciesWithUnstagedEntriesPanics() { ) Test.expect(commitResult, Test.beFailed()) // not sure how to test this: - // Test.expect(commitResult.error!.message, Test.contain("panic: Found unstaged dependencies: A.0x0000000000000008.Foo") ) + // Test.expect(commitResult.error!.message, Test.contain("panic: Found unstaged dependencies: A.0000000000000008.Foo") ) }