DAWN-291 ⁃ Hacked Account Recovery / Lost Password Recovery

The purpose of this ticket is to outline the use case relative to simple multi-sig:
Recovering from Hacked Accounts
User has an active private key they use for day-to-day signing of transactions, this key is likely to be compromised at some point in time. In this event they should use their owner permission to reset their active key. Sensitive transactions should be delayed for enough time after being published that they can be canceled after resetting active key.
Assuming the owner key is kept secure, a user should never lose funds. In practice, the owner key should be a multi-sig with a 3rd party who verifies all transfers of ownership. Ideally the 3rd party should not be able to prevent the transfer of ownership. This could imply that the active authority can trigger a change in the owner authority with a 30 day delay.
If owner key is same as active key but with the added requirement of a 3rd party, then the 3rd party will always be required but the user would only have to remember 1 password.
Recovering from Lost Password
A lost password implies the account holder no longer controls their active or owner key and therefore has lost control of their account. Ideally the owner key could be reset by a 3rd party assuming no account activity for 30 days prior to attempt to reset and after a 1 week notice period during which the account active/owner key can become active.
Recovery permission enables:

create deferred transaction to change owner permission if account has been in active for 30 days. The deferred transaction will only validate when applied if the account is still inactive for 30 days + 1 week at time applied.

To implement these features the blockchain needs the ability to:

track the last time active or owner was used
demand that a transaction has seasoned for a period of time before being applied
verify the permission level (active or owner) used to take particular actions and to change the behavior based upon the permission level used.

ATC:

Ensure tests/chain_test runs successfully.

To run the specific multi-sig recovery test:
cd build
./tests/chain_test --run_test=recovery_tests/test_recovery_multisig_owner

Adding some more info here:
Ciju added a new test (recovery_tests/test_recovery_multisig_owner) that tested this scenario as part of the commit 75dedbbd1e8f8bc219b861fd3269ddd26e9a81e6 (https://github.com/EOSIO/eos/commit/75dedbbd1e8f8bc219b861fd3269ddd26e9a81e6#diff-43389902c0fc8805343eeaf9aa00994f).

This issue is beleived complete and just in need of more tests.

ATC passes

if account has been in active for 30 days -> if account has been inactive for 30 days


Bug: date format on update entity

Actual behaviour

Expected behaviour
DOB format should be YYYY-MM-DD as per the spec
Also Use Case 3: Update entity

Success scenario extension 3a  If the date of birth is not in the correct format (YYYY-MM-DD) notify the user with an error popup. (This is probably not possible as the field is a date picker)

Tested and confirmed fixed


Support programatic navigation from viewModel

Is there a way to hook into the history object in a ViewModel so we can navigate programmatically?
I think the only way right now is to do so from a view using the useHistory()-hook from the component, which kinda breaks the flow when we're reacting to changes from within a ViewModel that are not trigger by a user interaction.
Some context: We have a viewmodel set up with a subscription to changes from the portal search. On each change we want to navigate to the search page within the microservice with the search query.
 constructor(private readonly _messenger: IMessenger) {
        _messenger.subscribeTo(
            SearchRequest,
            (request) => { //Navigate using history.push('/search/querystring')} // <---how to access the history object?
        );
    }

There is, but lacks documentation. I’ll register an issue for the documentation of it.
But basically you can use a dependency called INavigator:
import { INavigator } from ‘@dolittle/vanir-web/dist/routing’;
import { injectable } from ‘tsyringe’;

@injectable()
export class MyViewModel {
   constructor(private readonly _navigator: INavigator) {
   }

   doStuff() {
      this._.navigator.navigateTo(‘...route’);
   }
}
```

This will publish a message called [`NavigatedTo`](https://github.com/dolittle-entropy/vanir/blob/main/Source/web/routing/NavigatedTo.ts). This could be leveraged in other parts of your system if you need to know that navigation has occurred.

Closing this as it is covered by other issues.


Invalid transitions now raise NoTransition instead of

NotImplementedError.
see discussion in #15.
@moshez - does this seem ok?  note that it doesn't inherit from ValueError.
@glyph - while writing this it occurred to me that NoTransition might be a better name than InvalidStateForInput.  what do you think?  also, i've never written epytext so look out for weirdness in the docstrings!

Coverage increased (+0.05%) to 98.655% when pulling 62641b7cc9038e0e1ba5a4d6d5414a5f86a8b549 on markrwilliams:invalid-transition-exception into 95198be9a3512a03c9271ed2a10d169b6e4df9c3 on glyph:master.

Looks good to me. Thanks!


Refer to Gatsby functions via included files rather than copying

Instead of copying the generated Gatsby functions into the Netlify functions dir, we can now use config mutation to add the compiled Gatsby functions dir to the function bundle.

Draft PR here: https://github.com/netlify/netlify-plugin-gatsby/pull/55
Currently blocked until ntl deploy can handle config mutated in build plugins


VectorMemtableFactory broken on 5.3.6

On 5.3.6, opts.memtable_factory = rocksdb.VectorMemtableFactory() doesn't seem to work. It gives the error: Invalid argument: Memtable doesn't concurrent writes (allow_concurrent_memtable_write). But allow_concurrent_memtable_write doesn't seem to be exposed in the API, so it can't be changed.

@EliFinkelshteyn
I have not tested the code on 5.3.6, but  it's ok on 5.4.6 .
Here is my test code
import rocksdb
opts = rocksdb.Options()
opts.memtable_factory = rocksdb.VectorMemtableFactory()

I've confirmed this does not work on either 5.3.6 or 5.4.6. Your test code works fine, but if you then attempt to create a db, I'm guessing you'll see the same error I got.
import rocksdb
opts = rocksdb.Options()
opts.memtable_factory = rocksdb.VectorMemtableFactory()
opts.create_if_missing = True
test_db = rocksdb.DB("my_db", opts)

gives
InvalidArgument: Invalid argument: Memtable doesn't concurrent writes (allow_concurrent_memtable_write)

@EliFinkelshteyn
got it!
this is the bug ( it should not throw such exceptions).
and it seems that allow_concurrent_memtable_write is only implemented in SkipListFactory
so the following code is ok.
import rocksdb
opts = rocksdb.Options()
opts.memtable_factory = rocksdb.SkipListMemtableFactory()
opts.create_if_missing = True
test_db = rocksdb.DB("my_db", opts)

I will fix this in next release.
thanks

@EliFinkelshteyn
I have submit a fix patch to branch dev-issue9
you can try to test whether this can fix your problem.
git clone https://github.com/twmht/python-rocksdb.git -b dev-issue9
python setup.py install

thanks

I can confirm this fixes the issue. Thanks!
Unfortunately, it doesn't seem to change timings at all in my initial bulk data load as this implies should happen, but I guess YMMV.
Anyway, thanks for the quick fix and for taking over maintenance of this library! One last comment is that it might be worthwhile to change the error message InvalidArgument: Invalid argument: Memtable doesn't concurrent writes (allow_concurrent_memtable_write) to something more explicit like the allow_concurrent_memtable_write option must be false to use your desired memtable_factory to give guidance to anyone running into this in the future.

@EliFinkelshteyn
thanks! there are more features are coming.
if this patch fixed the problem, please close this issue.
I will look at the other problem you point out, but if you have other problems, please open a new issue for that.

Happy to. Figured you'd want to do it with the patch merge, but don't mind doing it here. Thanks again for the quick fix!

@EliFinkelshteyn
One more question, what does this mean?
 it doesn't seem to change timings at all in my initial bulk data load
You may show some expected results, so that I can look into that.
thanks!

Sure, what I mean is the tutorial docs state:

For initial bulk loads the Vector-MemtableFactory makes sense.

That led me to believe I'd see faster times for a large initial bulk load by using Vector-MemtableFactory, but in fact I got identical times using this. Some (very simple) test code:
import rocksdb
import ujson
import random
import string
import time

def generate_ascii_str(length=10):
    return ''.join(random.choice(string.letters + string.digits)
                   for _ in range(length))

dummy_datas = list()
for i in range(1000000):
    dummy_data = \
        {"datum1": "this is a data/blah blah blah/" +
                   generate_ascii_str(10),
         "datum2": "this is a other data/blah blah blah/" +
                   generate_ascii_str(10),
         "description": "this is a description/blah blah blah/" +
                        generate_ascii_str(10)}
    dummy_data_str = ujson.dumps(dummy_data).decode('utf8')
    dummy_datas.append(dummy_data_str)

opts = rocksdb.Options()
# set both of these so we don't keep any logs (we never need them)
opts.wal_ttl_seconds = 0
opts.wal_size_limit_mb = 0
opts.db_log_dir = "LOGS"
opts.compression = rocksdb.CompressionType.zlib_compression
opts.write_buffer_size =<PHONE_NUMBER>
opts.allow_concurrent_memtable_write = False
opts.memtable_factory = rocksdb.VectorMemtableFactory()
opts.create_if_missing = True
db = rocksdb.DB("/tmp/test_rocks_db", opts)
begin_time = time.time()
to_write = list()
batch = rocksdb.WriteBatch()
for i, item in enumerate(dummy_datas):
    db.put(bytes(i), bytes(item))
db.write(batch, disable_wal=True)
end_time = time.time()
print "rocksdb creation took:"
print end_time - begin_time


Doc - User roles

Purpose: Anybody new onboarding can find the instructions to run this project.
Documentation

[x] Make a table of contents near the top of our README.md with links to various documentation in our project

User roles

[x] Detail different user roles
[x] How to set roles in SSO app

@AntBush Forgive my naïveté, is Authentication and Authorization convention in referring to User Roles?

The "Authorization" portion would be most related to User Roles, with Authentication being how we determine who belongs to which role


SWDEV-294375 - Adding coalesced_groups HIP tests

Change-Id: I000a402e32d6057bab11829af2b78931fcd67fb5
HIP unit test cases for ROCm cooperative groups sub-feature, coalesced_groups.

@mangupta I will handle it in a separate PR.


Verify url validation using unit test cases

Verify url validation for following test cases

When supplied the url: https://healthweather.us/?mode=Atypical  it should redirect to the url: https://healthweather.us/?date=2020-08-11&mode=RtAtypical&regionId=US and loads page with title 'Near-term COVID outlook improves after illness transmission slows in July'

When supplied the url: https://www.youtube.com/watch?v=zVEapdaTgGc&feature=youtu.be it should redirect to a video with title 'Chronic Care Management: Medicare and Beyond'

@Prathitha as a good learning exercise please either (a) see if you're willing to send me a PR to add these tests or (b) assign a junior dev to do the same.

Please find the attached file for different types of urls and their expectations.
uniform resource.xlsx

Please find attached the file for different types of URLs and their expectations. Please advise if this is the correct way.
Thanks,
Urls and Expectations.xlsx

Yes @Prathitha this is great - please LMK if you all will be updating the code and sending PRs or if I should do it.

Thanks @shah. I will be able to provide you test urls and expectations rather than updating the code.


Mockito should support void static expectations

From<EMAIL_ADDRESS>on September 11, 2009 16:47:38
implement this
Original issue: http://code.google.com/p/powermock/issues/detail?id=164

From<EMAIL_ADDRESS>on September 22, 2009 11:45:10
Status: Fixed


Changes to add missing docker-compose parameters in the exported config

Changes to add missing docker-compose parameters pid, device, memswap_limit on exported config
Also added tests for the parameters
https://github.com/rancher/rancher/issues/4890
https://github.com/rancher/rancher/issues/4232
https://github.com/rancher/rancher/issues/5001

My tests passed [gw0] PASSED core/test_svc_discovery.py::test_export_config
Seems to be some other failure, @alena1108 can you restart the tests


add links to recent pubs, presentations

Hack for a Cause 2019
CSVconf
AIS
RightsCon?

https://www.tandfonline.com/eprint/Eagps7UkB6cxnb3e3Xk3/full?target=10.1080%2F01972243.2019.1574533&


Trying to build with ms studio

ok was able to build

The version i got from this is 0.1
but i see on github it is supposed to be v.2
Is there something oi am mising?
thanks

And ms studiocomplains about this :
I had to mannually install this version to build the exe?
https://www.nuget.org/packages/Fody/2.1.0

I must have a version discrepancy, because 0.1.0 is the correct one. I’ll fix that!
How did you resolve the fody issue? Did nuget install it for you, or were other steps involved?

Sorry for reoppening this now. I had to manualy  download the nugget package .
Will test the plugin next month. Thank you.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Larry Gregory<EMAIL_ADDRESS>Sent: Friday, March 15, 2019 3:00:00 PM
To: legrego/HSPI_TwilioMessaging
Cc: MattL0; Author
Subject: Re: [legrego/HSPI_TwilioMessaging] Trying to build with ms studio (#10)
Closed #10https://github.com/legrego/HSPI_TwilioMessaging/issues/10.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/legrego/HSPI_TwilioMessaging/issues/10#event-2207366084, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaOUWc5zmhPxxnLmwRLjO1Qex6Lvm97sks5vW-2vgaJpZM4bnD6j.


[PLT-7793] [WIP] Adds Personal Access Tokens Page to System Console

Still a work in progress...
Summary
Adds a "Personal Access Tokens" page to the System Console and adds it to the System Console's sidebar.
PR Links

Documentation PR(merged)
Webapp PR
Server PR (merged)
Redux PR (merged)

Ticket Link

Jira
Github

Notes

Personal Access Token is what we call UserAccessToken for the end user. I have taken the liberty to keep calling everything in the code base UserAccessToken since if I start using Personal Access Token then there is going to be inconsistency everywhere (we are using this naming in the backend, redux, and numerous components). It would make this PR even bigger if I change this naming. It can be done in another PR, if necessary.

I generalized SearchableUserList and renamed it to SearchableItemList so it can be used for more use cases such as this one. It now takes a prop called listComponent which can be used to specify how the list should be rendered. For example:

<SearchableItemList listComponet={UserList} /> // this renders a searchable user list
<SearchableItemList listComponet={UserAccessTokenList} /> // this renders a searchable token list

To improve scalability I renamed userAccessTokens to be userAccessTokensByUser which can be used like this userAccessTokensByUser[userId][tokenId] and then there is another object called userAccessTokens which can be used like this: userAccessTokens[tokenId]. They both should stay updated with each other.

Checklist

[x] Back-end: setup Postman to test back-end
[x] Back-end: routes
[x] Back-end: tests
[x] Back-end: documentation
[x] Redux: mapStateToProps to get tokens
[x] Redux: rename userAccessTokens to userAccessTokensByUser
[x] Redux: make userAccessTokens now fetch all the UserAccessTokens
[x] Redux: fix failing tests + new tests
[x] Webapp: Created sidebar link
[x] Webapp: Created route
[x] Webapp: Setup UserAccessTokens component
[x] Webapp: Generalize SearchableUserListContainer
[x] Webapp: Generalize SearchableUserList
[x] Webapp: Rename SearchableUserListContainer and SearchableUserList to SearchableItemList
[x] Webapp: Pass a list component via props for better re-use in SearchableItemList
[ ] Webapp: Write UserAccessTokens tests
[ ] Webapp: Delete token modal
[ ] Webapp: Add UITelemetry
[ ] Webapp: Update custom integrations help text
[ ] Webapp: Localization for filtered_user_list.searchTokens (contact PM)
[ ] Fix failing tests
[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit and component tests passed
[ ] Added or updated unit tests (required for all new features)
[x] Has server changes (please link)
[ ] Has redux changes (please link)
[ ] Has UI changes
[ ] Includes text changes and localization file (.../i18n/en.json) updates
[x] Touches critical sections of the codebase (auth, posting, etc.)

Unfortunately, I have been really busy with work as of late and I'm going to close this PR in case someone else wants to take it over. I have finished the back-end for this and some of the redux stuff, its all in master. I just don't have the time right now to work on this.

Not a problem @watadarkstar, thanks for all your work to get it to this point! We'll probably look at having someone take this over


Using a@href for subpages can scrape content only for one selector

Hello, I am trying to follow links and get content from sub pages.
Big help is this working example from stackoverflow: http://stackoverflow.com/questions/31802903/nodejs-x-ray-web-scraper-how-to-follow-links-and-get-content-from-sub-page
Working pattern is
      var Xray = require('x-ray');
      var x = Xray();
      x('http://stackoverflow.com/questions', '#questions .question-summary .summary', [{
              title: 'h3',
              link: 'h3 a@href',
              details: x('h3 a@href', {
                  title: 'h1',
                  question: '.question .post-text',
              })
          }])
          (function(err, obj) {
              console.log(err);
              console.log(obj);
          })

I am trying to use this on another page with similar structure. But on subpages the are more than one titles as well as post text.
To grab just mulitple titles it works ok. Tu grab just multiple post texts it work as well. But to grab multiple titles as well as post texts it grabs just empty array.
In other words [ .a ] and [ .b ] works for subpages ok but  [{ .a, .b }]  does not work correctly.

Closing as duplicate of https://github.com/lapwinglabs/x-ray/issues/65


fix: update to eye v10.20.7

fix: update to eye v10.20.7

:tada: This issue has been resolved in version 16.22.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v16.22.5

Your semantic-release bot :package::rocket:


[lit-html] Vend a testing utility to strip part markers

Description
I have a template, which uses repeat. Snapshot tests fail now.
Before updating to<EMAIL_ADDRESS>snapshots looked as follows:
<!----> <my-element ....

Now they look as follows:
<!--?lit$936338967$--><!----> <my-element ....

the test:
  it('renders correctly', async () => {
    const element = await fixture(
      html` <my-element></my-element>`
    );
    expect(element.shadowRoot!.innerHTML).toMatchSnapshot();
  });

How can I force lit to not render this comment.

I remove now comments with a regex, that works. Maybe you can give a hint to the utilities in the doc?

Here is my code, just in case, someone has the same problem:
export const cleanHTML = (el: Element): string => {
  const innerHTML = el.shadowRoot!.innerHTML;
  return innerHTML.replace(/<!--([\s\S]*?)-->/g, '');
};

Usage:
  it('renders correctly', async () => {
    const element = await fixture(
      html` <my-element></my-element>`
    );
    expect(cleanHTML(element)).toMatchSnapshot();
  });

I think we should address this by publishing a test utility package that includes functions to strip expression markers.

We have this in @lit-labs/testing now.


"touchid.available()" inside emulator returns false

I'm trying to run the example of code for Android 7.0 emulator. I set up a fingerprint and added the following code the the project
var observableModule = require("data/observable");

function pageLoaded(args) {
    var page = args.object;
    var data = new observableModule.Observable({authenticated: false});
    touchid.available().then(function(avail) {
        if(avail) {
            touchid.verifyFingerprint({
                message: "Scan with your finger",
                fallbackTitle: "Enter PIN"
            }).then(function() {
                data.authenticated = true;
            }, function(error) {
                console.log("Fingerprint NOT OK" + (error.code ? ". Code: " + error.code : ""));
            });
        }
    });
    page.bindingContext = data;
}

exports.pageLoaded = pageLoaded;

However, console displays that Fingerprint is not available:
JS: Avail:  false
JS: Fingerprint NOT OK

I suspect that something is wrong here. I'm using API v.24.
It would be great if you take a look on this issue. Thanks in advance!

Which Android emulator that you're using supports fingerprint? AFAIK it needs the hardware to work..

This is standard emulator from Android studio. It has an opportunity to touch sensor. It looks like

It works great with native login screen, but doesn't work inside NativeScript application. I'm just wondering, whether we can make it work.

Works fine!
You first have to go to phone settings and add a "fingerprint".

@erjdriver, that was my experience, as well.


If we can get by just pointing to github for docs, then this is sufficient

Description
What was changed in this pull request?

If https://github.com/higlass/clodius/pull/70 can be merged, then this would point to the docs there.
If it can't be moved, hold on to this until we know the URL we should point to.

Are there any other links you are aware of, or is would this be enough?
Checklist

[ ] Unit tests added or updated
[ ] Documentation added or updated
[ ] Example added or updated
[ ] Screenshot for visual changes (e.g. new tracks)
[ ] Updated CHANGELOG.md

Yeah I'm on the fence about this one. Let's hold off a little bit.

@manzt / @pkerpedjiev -- I'm closing out old PRs. I really can't remember what problem this was trying to solve. I'll leave the branch, though: if someone wants to start a new PR from it, you're free to do so.


[Question] How does linguist detect the file to use as the grammar?

The contributing guidelines state that

Switching the source of a grammar is really easy:
script/add-grammar --replace MyGrammar https://github.com/PeterPan/MyGrammar
This command will analyze the grammar and, if no problems are found, add it to the repository. If problems are found, please report these problems to the grammar maintainer as you will not be able to add the grammar if problems are found.

I have a slightly different use case: If I were to convert my tmlanguage from xml to json or yaml for the sake of readability and host it in the exact same repository, will linguist automatically pick up the new file? Assume I name it x.tmlanguage.json.

If I were to convert my tmlanguage from xml to json or yaml for the sake of readability and host it in the exact same repository, will linguist automatically pick up the new file?

Yup. When we make a release we often update the submodules for each of the grammars. As part of this, the grammar compiler will run and process the files in the repo as follows: https://github.com/github/linguist/blob/3176166966731806828e4681385424ddcfcf5543/tools/grammars/compiler/loader.go#L119-L128

Assume I name it x.tmlanguage.json.

Almost. You'll need to put the x.tmLanguage.json file into /grammars or /syntaxes (note the lowercase s).
Alternatively, if you use YAML instead, then renaming it to x.YAML-tmLanguage within the same directory will do the trick too.
Off the top of my head, I think you may be able to test this yourself by making your change and then replacing the grammar with itself.

@FreHu The three cases above encode de facto standards for the names and locations of grammars in TextMate, Sublime Text, and Atom modules. I'm closing this issue as I think the question has been answered, but if you run into any problem after making the change, don't hesitate to ping us!


QAOA algorithms not working with IBM's latest update

This issue came up in #44, and it's related to an update made recently by IBM (March 2024): https://docs.quantum.ibm.com/run/primitives-examples

beginning 1 March 2024, Qiskit Runtime will require that circuits and observables are transformed to use only instructions supported by the system (referred to as instruction set architecture (ISA) circuits and observables) before being submitted to the primitives

The issue was created 1 month ago without much track https://github.com/qiskit-community/qiskit-algorithms/issues/164 . I have commented on it and I saw more people complain about the same issue on slack. This happens not only on qiskit-algorithms but also other libraries, such as qiskit-machine-learning and qiskit-optimization.
The problem does not happen when using BackendSampler instead of SamplerV1 of qiskit-ibm-runtime. SamplerV2 is not yet supported by the library. The problem with using BackendSampler is the lack of sessions, making it unfeasible to run the algorithms (check #44 for details).
Based on the announcement and the thread below, I tried transpiling the ansatz and adding a padding to the operator (observable) as to match the number of qubits in the backend. However, I can't find a way to add the padding. Even if I did, I think there would be more problems. I made a fork with that approach, used in feature/qaoa-fork
https://quantumcomputing.stackexchange.com/questions/29332/how-to-avoid-delays-must-be-a-multiple-of-16-samples-error-with-estimator-sa
For now, I'm going to wait for a potential fix on qiskit's part. If that doesn't happen, I will try once again to fix their library

I found quite useful information on slack. One way to possibly fix this:
To the original poster. As QAOA does not allow you to pass an ansatz, which should be a transpiled circuit now, one thing you could use instead is SamplingVQE with the QAOAAnsatz from the Qiskit circuit library (which is what QAOA does as its just a simple sub-class of SamplingVQE). You would need to have the operator - to set number of qubits for the circuit - lets gets to that. To get the operator you would have to create the problem and convert it to_ising yourself so you have the operator you can use directly with the algorithm. Ie you would not be using MinimumEigenOptimizer which does this for you. With the operator you can get its num_qubits and set the QAOAAnsatz up and then transpile it. That gets the circuit part. The next bit would be to make sure the operator (observable) matches the transpiled circuit using apply_layout. If you look at the second link in my post above you will find that in the first Estimator example. Once you have the result of the algorithm you can interpret it in the context of the original problem. You can look at the code in MinimumEigenOptimizer for an example. I knew this ISA requirement for real devices - I was not aware of it being done for simulators though. The other choice would be to install Qiskit Aer and run this locally via an Aer Primitive on your machine as the ISA requirement is for IBM Runtime.
Thanks Steve, that's really useful. Just for others' reference, I found an alternative way which involves converting the QuadraticProgram to an Ising, applying the layout, and converting it back into a QuadraticProgram, which means the MinimumEigenOptimizer can still be used

This slack thread has additional doubts that might arise https://qiskit.slack.com/archives/C7SS31917/p1713377308386869

Something like this is likely necessary hamiltonian_isa = hamiltonian.apply_layout(layout=ansatz_isa.layout)

The problem is solved on my fork https://github.com/BrunoRosendo/qiskit-algorithms, although this only works for minimum eigen value case. The reason for this is the fix only works for SparsePauliOp, while SamplingVQE supports all kinds of BaseOperator
I tested in IBM runtime with and without warm start. The Queue is currently very long so I'll wait a bit to complete #44


Connect P2P Layer to Chain/Sync Manager

Need to determine the required tasks to connect the P2P layer and the local chain manager.

[ ] Implement Chain Manager; see #85
[ ] Implement SyncManager; see #34
[ ] Implement BlockSync; see #101
[ ] Implement Bitswap; see #100
[ ] Implement blockchain sync process #115

Closing this in favor of #223


ValueError: expected 5D input (got 4D input)

Hello,I find you question in 'Torch2CoreML' project,
def _check_input_dim(self, input):
reshape (N,C,H,W) to (N,C,1,H,W)
if input.dim() != 5:
raise ValueError('expected 5D input (got {}D input)'
.format(input.dim()))
But I can't work well, can you help me? Thank you very much!

https://github.com/prisma-ai/torch2coreml/issues/27


[Feature request] Allow auditing all wheels in a given directory

In order to use abi3audit automatically after a wheel has been build, it would be nice to be able to pass a directory instead of the wheel name as sometimes more than a single wheel is generated and the wheel name changes according to the module version

Thanks for filing this issue, @davidelahoz!

In order to use abi3audit automatically after a wheel has been build, it would be nice to be able to pass a directory instead of the wheel name as sometimes more than a single wheel is generated and the wheel name changes according to the module version

Is there a reason you can't use abi3audit some-dir/*.whl? This (multiple input files) should already work, and doesn't require abi3audit to handle a special directory case.
(This is similar to how twine and other distribution-handling tools work: they don't take a directory, they take one or more files.)

That actually would work. I couldn't find how to achieve that

Thanks for filing this issue, @davidelahoz!

In order to use abi3audit automatically after a wheel has been build, it would be nice to be able to pass a directory instead of the wheel name as sometimes more than a single wheel is generated and the wheel name changes according to the module version

Is there a reason you can't use abi3audit some-dir/*.whl? This (multiple input files) should already work, and doesn't require abi3audit to handle a special directory case.
(This is similar to how twine and other distribution-handling tools work: they don't take a directory, they take one or more files.)

I'm trying to use abi3audit ./dist/*.whl, but it is unable to find the wheels. Using ./dist/wheelname.whl works fine. It seems that using *.whl is not supported by abi3audit

I'm trying to use abi3audit ./dist/*.whl, but it is unable to find the wheels. Using ./dist/wheelname.whl works fine. It seems that using *.whl is not supported by abi3audit

Can you share the exact error you're getting, as well as the platform you're on? *.whl is a feature of your shell, not abi3audit. If your shell doesn't support globbing, then there's nothing abi3audit can do (I have no plan to add explicit glob support, since AFAIK it's only Windows' CMD that behaves this way.)

I'm trying to use abi3audit ./dist/*.whl, but it is unable to find the wheels. Using ./dist/wheelname.whl works fine. It seems that using *.whl is not supported by abi3audit

Can you share the exact error you're getting, as well as the platform you're on? *.whl is a feature of your shell, not abi3audit. If your shell doesn't support globbing, then there's nothing abi3audit can do (I have no plan to add explicit glob support, since AFAIK it's only Windows' CMD that behaves this way.)

I don't have access to my computer right now, but it shows an error saying that no files called *.whl could be found. I'm on windows

Thanks!

@davidelahoz could you give the changes in #93 a try? I think that should address the glob issue you're seeing on Windows.

Of course, I'll try it tomorrow (I don't have access to my computer right now)

@davidelahoz could you give the changes in #93 a try? I think that should address the glob issue you're seeing on Windows.

I've just tested it. It works fine on windows

Much appreciated!

Cut with v0.0.11.


CSV Logs don’t display correctly.

CSV Logs don’t display correctly like in the picture.

Fixed.

Fixed.
It’s not fully fixed yet as the errors still persist like in these pics.


eksctl anywhere download images -o image.tar

failed with Error: downloading chart [public.ecr.aws/eks-anywhere/eks-anywhere-packages:0.3.9-eks-a-36] from registry: Error: failed to do request: Head "https://public.ecr.aws/v2/eks-anywhere/eks-anywhere-packages/manifests/0.3.9-eks-a-36": x509: certificate signed by unknown authority
eksctl anywhere version
v0.15.2

I'm unable to replicate.
I've seen errors like that when a proxy or VPN connection is misconfigured however. Maybe double checking both of those is worthwhile.
openssl s_client public.ecr.aws:443 < /dev/null

Verifies that the site has a valid, signed certificate for me.

The server is behind Zscaler proxy, Here is the output.
CONNECTED(00000003)
depth=3 C = US, ST = California, L = San Jose, O = Zscaler Inc., OU = Zscaler Inc., CN = Zscaler Root CA, emailAddress =<EMAIL_ADDRESS>verify return:1
depth=2 C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = Zscaler Intermediate Root CA (zscaler.net), emailAddress =<EMAIL_ADDRESS>verify return:1
depth=1 C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = "Zscaler Intermediate Root CA (zscaler.net) (t) "
verify return:1
depth=0 CN = ecr.aws
verify return:1
Certificate chain
0 s:CN = ecr.aws
i:C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = "Zscaler Intermediate Root CA (zscaler.net) (t) "
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Apr 15 06:30:24 2023 GMT; NotAfter: Apr 29 06:30:24 2023 GMT
1 s:C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = "Zscaler Intermediate Root CA (zscaler.net) (t) "
i:C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = Zscaler Intermediate Root CA (zscaler.net), emailAddress =<EMAIL_ADDRESS>a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Apr 15 06:30:24 2023 GMT; NotAfter: Apr 29 06:30:24 2023 GMT
2 s:C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = Zscaler Intermediate Root CA (zscaler.net), emailAddress =<EMAIL_ADDRESS>i:C = US, ST = California, L = San Jose, O = Zscaler Inc., OU = Zscaler Inc., CN = Zscaler Root CA, emailAddress =<EMAIL_ADDRESS>a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Jun  5 05:33:02 2020 GMT; NotAfter: Jun 23 05:33:02 2041 GMT
Server certificate
-----BEGIN CERTIFICATE-----
MIIFUzCCBDugAwIBAgIQfP9b9pNgD4Qy9UHsmkR58zANBgkqhkiG9w0BAQsFADCB
ijELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFTATBgNVBAoMDFpz
Y2FsZXIgSW5jLjEVMBMGA1UECwwMWnNjYWxlciBJbmMuMTgwNgYDVQQDDC9ac2Nh
bGVyIEludGVybWVkaWF0ZSBSb290IENBICh6c2NhbGVyLm5ldCkgKHQpIDAeFw0y
MzA0MTUwNjMwMjRaFw0yMzA0MjkwNjMwMjRaMBIxEDAOBgNVBAMTB2Vjci5hd3Mw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+rrBG9/k9NDGxyJ2H3dU9
qHTmf4VeKF/rqDcWq0bs9KVMCMcEUF/XMyAcL2eRz693zeQ75ak4muOLR1UzJLDz
i4e0vpJ047whz5rD/nag6ydkCcYGQyV5fAJCP1FCmvLf0yUlA++ioEJwMP0HZ15D
v4fifQoiDhyvlBDa5zDFwZl7N/dMNE0CnLI3+RbTobYO5FbEhZFtw5CWBSeDsUaa
bfG5g6hCYmc1G9q2YzUWy/miHTca1GUNGEwizPxd7u1zJYxJeWjTsh/hoAug+NAf
ZMjmBnCqGHtaClxLnkbIEbA/67VCxg73RkDKnvdCy235ls/UlvKdf5dzuBCwFkub
AgMBAAGjggIqMIICJjAiBgNVHREEGzAZggdlY3IuYXdzgg5wdWJsaWMuZWNyLmF3
czAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC
MAwGA1UdEwEB/wQCMAAwggF9BgorBgEEAdZ5AgQCBIIBbQSCAWkBZwB1AOg+0No+
9QY1MudXKLyJa8kD08vREWvs62nhd31tBr1uAAABhnEm1F8AAAQDAEYwRAIgYEUs
xdX+FBgW4q3q7RXi78mG38ktydPlKWa8qw8HxhMCIGBFzQPurIFsIN/0ZRf+w9UP
vIjsD2L83ntNx3RFTXCCAHYAs3N3B+GEUPhjhtYFqdwRCUp5LbFnDAuH3PADDnk2
pZoAAAGGcSbUrgAABAMARzBFAiBraMg8fOm3csAeRxo+g99guNaMT8DPzDgNukCQ
ebGXZAIhAJZ+XE3vQPQnTG0mDanpV6EpJ+Vf0sbU2vm0w9Yn8AocAHYAtz77JN+c
Tbp18jnFulj0bF38Qs96nzXEnh0JgSXttJkAAAGGcSbUZAAABAMARzBFAiEAhLGx
iGGJ6VD6uvzSp7PFa7wulcYfLEB9Jd2297oRkFYCIFft/r//He4j+65q7gKHwj+g
O/L2jrGGKkkzME7Pl2+CMEIGA1UdHwQ7MDkwN6A1oDOGMWh0dHA6Ly9nYXRld2F5
LnpzY2FsZXIubmV0L3pzY2FsZXItenNjcmwtLTQtMS5jcmwwDQYJKoZIhvcNAQEL
BQADggEBAJHjhx/IFeb01m4e9NPu7d0zPQMRcy0bfpiA1Wz5w9wiwtetZYySaDJO
tgvmVe9BxSVSAseFlvsuUjn7wiNla7plGJPTckdBTOOCUH4ti0q650bPQzSSI1NG
NcgZ7DikEa+lMQZ2psejfrO4NCsgPrl/angSsqFFvkOlLrH5YnHJlDdAxb7y3Z2j
irvpcJpnql/8zL4W6Zu7gOum+e6P0wIu9dJzNZqM5LgNvOJHRAjt2+mw+F6AfdJr
LexnbCoyTrORt2D5gSa9ZMoKRCgfOxr1R30wkcXmdhx8VMWoCsZg/LIs3m+Zmj3f
VIEJs307HiQAs1H6Q1CTj/pHJXa2Klk=
-----END CERTIFICATE-----
subject=CN = ecr.aws
issuer=C = US, ST = California, O = Zscaler Inc., OU = Zscaler Inc., CN = "Zscaler Intermediate Root CA (zscaler.net) (t) "
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: ECDH, prime256v1, 256 bits
SSL handshake has read 4302 bytes and written 814 bytes
Verification: OK
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
DONE

Have you configured your proxy server via the environment variables mentioned in the docs?

Hi
The proxy environment variables are set both at the command line prompt as well as the Docker services.  I could see docker was pulling images down and other things,  last one i saw was "docker save -o tmp-eks-a-artifacts-download/images.tar ......."
And it did produce two tar files under  ~/tmp-eks-a-artifacts-download
$ ls -ltr
total 13508340
-rw------- 1 eksa eksa   379776512 Apr 24 01:13 tools-image.tar
-rw------- 1 eksa eksa<PHONE_NUMBER>2 Apr 24 01:29 images.tar
-rw-r----- 1 eksa eksa       60640 Apr 24 01:29 eks-anywhere-packages-bundles-v1-22-latest.yaml
-rw-r----- 1 eksa eksa       60636 Apr 24 01:29 eks-anywhere-packages-bundles-v1-23-latest.yaml
-rw-r----- 1 eksa eksa       60636 Apr 24 01:29 eks-anywhere-packages-bundles-v1-24-latest.yaml
-rw-r----- 1 eksa eksa       60647 Apr 24 01:29 eks-anywhere-packages-bundles-v1-25-latest.yaml
-rw-r----- 1 eksa eksa       60635 Apr 24 01:29 eks-anywhere-packages-bundles-v1-26-latest.yaml
then it failed at " Error: downloading chart [public.ecr.aws/eks-anywhere/eks-anywhere-packages:0.3.9-eks-a-36] from registry:"

That cert is issued by zscaler. It would help me to understand how you are trusting that cert.

Also, what environment are you running these commands? Linux distro? Mac?

Linux, Ubuntu.  The certificate of the proxy server is installed in the trust store


Pre-rendering to improve SEO

Before just congrats for your project, its great!

After some time running this spa, I am trying to get a pre-render html or SSR  to improve seo. I have tried but I can't get it yet. I have used this package:

        new HtmlWebpackPlugin({
            title: 'PRODUCTION prerender-spa-plugin',
            template: path.resolve(__dirname, './public/index.html'),
            filename: path.resolve(__dirname, './public/dist/index.html'),
        }),
        new PrerenderSPAPlugin({
            staticDir: path.join(__dirname, './public/dist'),
            routes: [ '/', '/prices', '/faqs' ],

            renderer: new Renderer({
                inject: {
                    foo: 'bar'
                },
                headless: true,
                renderAfterDocumentEvent: 'render-event'
            })
        })

But doesn't work because I guess it generates an index.html and we use index.php?
Is there some approach that you can give us to sort this? Thanks.

When it comes to SEO you have to go with Nuxt.js (https://github.com/cretueusebiu/laravel-nuxt).
Not sure how you'd go with prerendering though...

better way is livewire

@ezequiel9 I've put together an example with Puppeteer:
https://github.com/cretueusebiu/laravel-vue-spa/tree/ssr
npm run build
npm run ssr-server

It creates a browser instance and then for each http request it makes a call with puppeteer to render that page and serve it back.
https://developers.google.com/web/tools/puppeteer/articles/ssr

@cretueusebiu Awesome! I'll try this and let you know, thank you!


Mlperf layers

New Layers for VX_NN

This pull request introduces 2 alerts and fixes 1 when merging 0a9c9eab01cfb479dacfa44a288b8e7fa503e3fd into c2188b28ce9bd4e1a0bfb4b8646e4bf1a50e2183 - view on LGTM.com
new alerts:

2 for Unreachable code

fixed alerts:

1 for Unused local variable

This project has automated code review enabled, but doesn't use the LGTM GitHub App. Migrate over by installing the app. Read about the benefits of migrating to GitHub Apps in the blog.

Comment posted by LGTM.com

@hansely the readme in model compiler needs to be updated with the new operations and model supported.

Okay will work on it.

@hansely is this branch ready to be merged?

Not yet. Will do some extra testing.

Ready to be merged

Passed the profile script for caffe/onnx/nnef


FAIMS was not working for MS2 data

SureQuant + FAIMS seems to have been the first seen use of MS2 data with FAIMS, and we weren't handling it properly.
Also noticed a bug in Share Minimized which would leave .imsdb file empty.

not a perfect match because the number of digits of precision in a modification mass is different

That actually was the issue, now it uses a LibraryKey so the comparison should be tolerant, yes?

That actually was the issue, now it uses a LibraryKey so the comparison should be tolerant, yes?

Unfortunately, no. The fuzzy comparison happens in "LibKeyIndex.ItemsMatching".
If you put all the entries into a Dictionary, then they get looked up using LibraryKey.Equals, which is an exact match.
If you want to find the entries that are being used by the document, you should call "_database.DictLibrary.KeyPairsMatching" for each of the TransitionGroupDocNodes. I will make this change and push it to this pull request.

Excellent, thanks!

NB: automatic cherry pick won't work if there are any of those "Merge branch 'master' into PR" commits. You have to slash-squash or slash-rebase first. (I can't remember whether putting that in the middle of a comment will trigger it or not). But it's too late after it's been merged. You'll have to CP this one manually.

No worries, thanks for the heads up.


Ability to toggle visibility of ArcGIS layers in ArcGisImageryProvider

Requested on the forum: https://groups.google.com/forum/#!topic/cesium-dev/Y6PBcx3eB1Y

ArcGisMapServerImageryProvider constructor needs a object which contains a property 'layer'. If I assign the layer attribute to '[0,1,2,4]', then I will get the correspoding layers in this arcgis server map service. Now I want to control the '0,1,2,4' layer individualy rather than controlling the visibility of this whole map service.
After I create a ArcGisMapServerImageryProvider instance, I can only read layers property and cannot assign it to a new array to change the layer visibility(not the mapserver visibility).

Requested again: https://groups.google.com/forum/#!topic/cesium-dev/8aLDMJ9eMt4


fix: improve Switch Account render performance

Try out this version of the Hiro Wallet - download extension builds.

This PR builds on top of https://github.com/hirosystems/stacks-wallet-web/pull/2073, which adds a handling case when there are no accounts (an improvement, but doesn't address issue).
The problem described https://github.com/hirosystems/stacks-wallet-web/issues/2000 is caused by slow render performance. The AccountListItem component is reliant on a handful of hooks, some of which chain atoms back to synchronous localstorage reads. Even without, the components have quite a lot of DOM for a list item, generate avatars etc.
There's a lot to render, and this problem grows the more accounts you have.
In most testing, I've not encountered the no accounts shown issue, as the problem manifests itself earlier, with a ~3s delay between click of Switch accounts and the list displaying.
The solution I've gone for is to virtualise the list, whereby we only render the list items in view. This drastically speeds up the initial render in cases of many accounts. It does somewhat move the problem, as the slow renders now happen on list scroll, but its still quite an improvement.
I had a look at a few libraries. react-virtualized is largely deprecated, by the same author of react-window. I went for react-virtuoso. It has better documentation and has more recent releases.
Before
https://user-images.githubusercontent.com/1618764/146165589-3fdb344a-2162-4ca4-b358-b5a8d21bdf69.mp4
After
https://user-images.githubusercontent.com/1618764/146165620-15b89115-2f8b-489f-8e23-a7eedca7c475.mp4

No, it's a relatively small library<EMAIL_ADDRESS>


Documentation Parser: Fix lists parsing, changes to HTML file rendering

Pull Request Description
In this Pull Request i've fixed parsing of lists, an error i've noticed just a while ago.
Thanks to that i've also got rid of any hardcoded values in parser.
I've also applied a quick change to html rendering process, now the file displays properly what it should display - first module name, then module documentation, and lastly module functions with theirs documentations.
Here you can see how an example file is rendered, please note that style isn't ready, i'll continue working on it in the next PR, as we're trying to keep pushing many small pr's.

Important Notes
Nothing important. quick fix.
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, Rust or Haskell style guides as appropriate.
[x] All code has been tested where possible.

Nice job! It looks nicer and nicer with every release! ❤
You probably know that, just a note - in the header there is gray background behind "Option a", it should not be there, right?

@wdanilo fixed it, thanks for review ! And yes, i do remember, but as i've said i'll concentrate on stylesheet in the next PR, because as i know, i can spend months on polishing ~CSS~ Sass, and this fix is fast, and should be implemented asap

Maciek, your code fails the test suite on CI!


BUILD FAILED (Mac OS X 10.12.6 using ruby-build 20211109)

Very much a newbie trying to install ruby following instructions on AppAcademy to set up an environment.
Trying to run rbenv install 2.5.1 however I am getting the below errors:
Last 10 log lines:
/usr/include/CommonCrypto/CommonRandom.h:35:9: error: unknown type name 'CCCryptorStatus'
typedef CCCryptorStatus CCRNGStatus;
^
crypto/rand/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess'
if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess)
^
2 errors generated.
make[1]: *** [crypto/rand/rand_unix.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
I know this is not much information but could anyone point me in the right direction? I can't find anything online for this specific Mac OS build so at a standstill here.
Thanks for any help.

Did you manage to fix it? I have the exact same issue.

Z


Fix initialRegion when using RN 0.54

See https://github.com/react-community/react-native-maps/issues/2100 for discussion.

@lachenmayer how does this influence the lower versions of RN ?

AFAIK, this'll work fine in previous versions too. I tested it with RN 0.52 and 0.54, both worked fine.


feat: feature toggles for thorchain swapper

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #5131   👈

This comment was auto-generated by Graphite.

Nice, get 'er in.


Webkit error #102

I am currently using Splash Lua Script in Scrapy to download a mortgage document from https://i2a.uslandrecords.com/ME/Cumberland/D/Default.aspx. I am attaching my LUA script below for your reference. Splash works great up until the very last step. Basically, I am clicking on the link in an src attribute of an img element and I am receiving an error that says:
Failed loading page (Frame load interrupted by policy change) – WebKit error #102
I noticed that this error is only present when I have the same cookies. Without those cookies, I get a Bad Data error message.
As a comparison, in a regular browser, if I follow the link, I can easily see the image. If I follow the link without cookies in a regular browser, I get the “Bad Data” error message as before.
I think it has something to do with the following stack exchange issue that is resolved:
https://stackoverflow.com/questions/16278747/error-downloading
I don’t know how to reproduce the solution. Thanks for any help!

ISSUE RESOLVED:
Here is the solution. The GET request was breaking down because it didn't know how to render the image in html given the webkit settings. If you execute the GET request without rendering the page, the response.body has the image.
CODE:
local response = splash:http_get(var)
return {
body = response.body
}


Moksh Twitter Account

https://twitter.com/ExperienceMoksh

Hi, @akshitagupta15june  Can you please elaborate more on this issue like for example we have to add this twitter moksh account in which page section.
Thank you.!

Please assign this issue to me under GSSoC'23


configurationDefaults contribution changes JSON auto-complete behavior

Reported originally by @JacksonKearl where GitLens seemed to be breaking JSON auto-complete behavior -- causing an extra " being added at the end.

I tracked it down to this contribution causing the issue
"configurationDefaults": {
	"[json]": {
		"gitlens.codeLens.scopes": [
			"document"
		]
	}
}

I was able to reproduce this with a clean vscode user-dir/extensions-dir and a simple extension with that contribution

That JSON extension has [json] configurationDefault for the editor.suggest.insertMode setting:
https://github.com/microsoft/vscode/blob/master/extensions/json-language-features/package.json#L109
That configurationDefault is lost when the gitlens extension also makes a  [json] configurationDefault
The bug is that all default overrides for the same language need to be merged, not set.
https://github.com/microsoft/vscode/blob/master/src/vs/platform/configuration/common/configurationRegistry.ts#L240


Swap Texture cause exception in examples 23

/examples/example\ 23\ -\ Texture\ Swap/index.html
In the demo when i click to swap texture, encounter error from Texture.js PIXI.Texture.prototype.setFrame method
if (!this.trim && (frame.x + frame.width > this.baseTexture.width || frame.y + frame.height > this.baseTexture.height))
{
    throw new Error('Texture Error: frame does not fit inside the base Texture dimensions ' + this);
}

We are rewriting the examples and will make sure this is fixed in the new ones.


Private key lost after wallet restore

Hello,
I re-installed my computer and now wanted to restore my DeFi wallet.

I installed DeFi App 2.1.4 and restored my wallet with my mnemonic seed (24 words) (working fine)
I waited until the wallet was fully synchronized  (working fine)
My ETH (-Token) are all there
Now it shows only 13 DFI instead of ~1600.
The 1600 DFI are on this address 8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns

If I type getaddressinfo 8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns it shows: "ismine": false
The private key for the address  8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns has not been generated while restoring the wallet.
Any idea what I can do?

I already re-installed DeFi App 2.1.4 and tried again, and also installed 2.1.3 and tried there, also no success.
I did not make any backup of the old DeFi wallet as only the mnemonic seed is needed to generate all private keys.
Windows 10 Pro 2004
app.log
binary.log

Hi @guiphil , thanks for your feedback. Could you check your balance using the following command via the CLI:
getbalance — utxo DFI

getokenbalances — DFI

The sum of utxo DFI & DFI would be total DFI

I would suggest that's it's a good habit to backup wallet often. Please let me know the result of getting your balance.

Hi @guiphil , thanks for your feedback. Could you check your balance using the following command via the CLI:
getbalance — utxo DFI

getokenbalances — DFI

The sum of utxo DFI & DFI would be total DFI

I would suggest that's it's a good habit to backup wallet often. Please let me know the result of getting your balance.

Hello @izzycsy,
thanks for your reply! You are doing a great job replying to all comments and posts here and on reddit.
Keep up the good work 💯 🥇
For getbalance I get 8.07 DFI and for gettokenbalances I get 5.26 DFI which together is ~13 DFI.
Why is there a need to backup your wallet.dat file if you have the recovery words?  (mnemonic seed)
I thought that's what recovery word are there for. All child private keys should be generated via the master private key in the HD wallet. Please correct me if I'm wrong.
Thanks in advance 👍

Hello @izzycsy,
thanks for your reply! You are doing a great job replying to all comments and posts here and on reddit.
Keep up the good work 💯 🥇
For getbalance I get 8.07 DFI and for gettokenbalances I get 5.26 DFI which together is ~13 DFI.
Why is there a need to backup your wallet.dat file if you have the recovery words?  (mnemonic seed)
I thought that's what recovery word are there for. All child private keys should be generated via the master private key in the HD wallet. Please correct me if I'm wrong.
Thanks in advance 👍

@guiphil thank you for your kind words. Do you have the transaction id (txid) for the above mentioned 1600 DFI? You sent it to your DeFi app?
Well, backup wallet is not a requirement, but sometimes you'll never know what kind of bugs might happen, so I feel it's sort of a safety net to do backups every now and then. Personally, I do so before I updating the app (eg. to v2.1.5).

@guiphil thank you for your kind words. Do you have the transaction id (txid) for the above mentioned 1600 DFI? You sent it to your DeFi app?
Well, backup wallet is not a requirement, but sometimes you'll never know what kind of bugs might happen, so I feel it's sort of a safety net to do backups every now and then. Personally, I do so before I updating the app (eg. to v2.1.5).

Hi @izzycsy,
doing regular backup actually makes sense then, you are right.
I sent 139 DFI from CAKE to my wallet and converted 500 USDT via the DEX to ~1481 DFI. That was all working fine. I don't have any specific txid, only the txids which can be found at https://explorer.defichain.io for the address 8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns.
I'm actually trying to find out which way addresses and private keys are generated in the DeFi HD wallet. I already checked out the wiki documentation but it's quite slim.
To me it seems like the hdkeypaths which are used for DeFi is

m/0'/0'/0' to m/0'/0'/999' and
m/0'/1'/0' to m/0'/1'/999',

Is this true? So the DeFi wallet only uses private keys / addresses generated from those hdkeypaths?
If I click "New Address" for my DeFi wallet, in which way is a address selected of those? Is there a specific order or is it a random address and private key from the hdkeypaths range mentioned above?

Hi @izzycsy,
doing regular backup actually makes sense then, you are right.
I sent 139 DFI from CAKE to my wallet and converted 500 USDT via the DEX to ~1481 DFI. That was all working fine. I don't have any specific txid, only the txids which can be found at https://explorer.defichain.io for the address 8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns.
I'm actually trying to find out which way addresses and private keys are generated in the DeFi HD wallet. I already checked out the wiki documentation but it's quite slim.
To me it seems like the hdkeypaths which are used for DeFi is

m/0'/0'/0' to m/0'/0'/999' and
m/0'/1'/0' to m/0'/1'/999',

Is this true? So the DeFi wallet only uses private keys / addresses generated from those hdkeypaths?
If I click "New Address" for my DeFi wallet, in which way is a address selected of those? Is there a specific order or is it a random address and private key from the hdkeypaths range mentioned above?

@guiphil  indeed, with the wallet backup, in the event when you Restore Wallet via mnemonic seed and your balance displayed is incorrect, you can import wallet backup and it should be displayed correctly.
I'll need to get back to you in the hdkeypaths question.
To answer the 2nd half, when you click on New Address, I believe it's a randomly generated address that's unique to you only.

@guiphil  indeed, with the wallet backup, in the event when you Restore Wallet via mnemonic seed and your balance displayed is incorrect, you can import wallet backup and it should be displayed correctly.
I'll need to get back to you in the hdkeypaths question.
To answer the 2nd half, when you click on New Address, I believe it's a randomly generated address that's unique to you only.

Thanks!
Regarding the "New Address" button, but where is the address generated from? One random child private key from the extended privated key? (mnemonic seed)
In the new version 2.1.5 when I generate a new legacy address (just for fun) it shows "Warning: Not secured by seed phrase". This is new! So my address 8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns starts with 8, so it's a legacy address. I never generated a legacy address intentionally.
Also when generating a standard address is also shows a warning "Warning: Not secured by seed phrase" even though I can see the address in the wallet backup + private key. I even deleted the wallet again and the address which said "Warning: Not secured by seed phrase" was again in the backup.

Thanks!
Regarding the "New Address" button, but where is the address generated from? One random child private key from the extended privated key? (mnemonic seed)
In the new version 2.1.5 when I generate a new legacy address (just for fun) it shows "Warning: Not secured by seed phrase". This is new! So my address 8F6jenzMBEsiogBmgB9AMDcQJ4EAvCRCns starts with 8, so it's a legacy address. I never generated a legacy address intentionally.
Also when generating a standard address is also shows a warning "Warning: Not secured by seed phrase" even though I can see the address in the wallet backup + private key. I even deleted the wallet again and the address which said "Warning: Not secured by seed phrase" was again in the backup.

I am having the same issue with a standard address, when I initially created it it showed the warning. After a while though the warning went away (maybe after version update). Now after restoring from seed and manually adding the address, the walled does not show balances from that address.
Can we please get more clarification on this matter, from what I read here the key should be restorable from seed. Is it possible that if I add the address manually, it uses a wrong key?
Also the warning in the UI does not indicate whether it only refers to the address / name or also the private key.

I am having the same issue with a standard address, when I initially created it it showed the warning. After a while though the warning went away (maybe after version update). Now after restoring from seed and manually adding the address, the walled does not show balances from that address.
Can we please get more clarification on this matter, from what I read here the key should be restorable from seed. Is it possible that if I add the address manually, it uses a wrong key?
Also the warning in the UI does not indicate whether it only refers to the address / name or also the private key.

Hi @nappy , thanks for your feedback & update. Kindly send your app logs. If possible, do attach screenshots / screen recordings. This will provide more insight for the investigation. Thank you.

Hi @nappy , thanks for your feedback & update. Kindly send your app logs. If possible, do attach screenshots / screen recordings. This will provide more insight for the investigation. Thank you.

Hello all,
after I restarted the app also it was already running, everything was stuck. Therefore I wnated to recreate the wallet, usung mnemoric key with the 24 words saved. After doing so, every asset was not displayed and instead of several ten thousand DFI, only 0,0005 something was displayed. Then I found an wallet-bax-xxxxx.dat file in C:\Users\User\AppData\Roaming\DeFi Blockchain\wallets . So I replaced this file with the wallet.dat . Now I see my balances but all  the previous receiving addresses are gone. Now I tried to go back to old version reinstalling etc. reputting the key again... Same issue. Main  problem now is, I seem to still see my assets but the master key / private key seems not be connected to the new generated addresses. Same problem as above. So I cannot move balances tokenized version to the coin version. Please help urgently as all my coins and not view are stuck now on the wallet.
08012021LogfileWallet.log

Hello all,
after I restarted the app also it was already running, everything was stuck. Therefore I wnated to recreate the wallet, usung mnemoric key with the 24 words saved. After doing so, every asset was not displayed and instead of several ten thousand DFI, only 0,0005 something was displayed. Then I found an wallet-bax-xxxxx.dat file in C:\Users\User\AppData\Roaming\DeFi Blockchain\wallets . So I replaced this file with the wallet.dat . Now I see my balances but all  the previous receiving addresses are gone. Now I tried to go back to old version reinstalling etc. reputting the key again... Same issue. Main  problem now is, I seem to still see my assets but the master key / private key seems not be connected to the new generated addresses. Same problem as above. So I cannot move balances tokenized version to the coin version. Please help urgently as all my coins and not view are stuck now on the wallet.
08012021LogfileWallet.log

Hi @salomonkarsten , thanks for your feedback, are you getting Warning: address not saved by seed phrase? Could you send a screenshot for your error please?
If the above is true, it seems like the addresses is not secured by seed phrase, I would suggest:

save the address externally (eg. copy & paste in Notes)
do backup wallet often

You should be able to continue using the features.

Hi @salomonkarsten , thanks for your feedback, are you getting Warning: address not saved by seed phrase? Could you send a screenshot for your error please?
If the above is true, it seems like the addresses is not secured by seed phrase, I would suggest:

save the address externally (eg. copy & paste in Notes)
do backup wallet often

You should be able to continue using the features.

@izzycsy Thanks but this is not a good way as when it still was working, it was no linger possible to move the tokens to coin side to add to liquidity or transfer anywhere. Actually as stated in issue 235, I try to redcover all from scratch. unfortunately fully stuck at syncing. Nothing is moving... 0% since hours.

@izzycsy Thanks but this is not a good way as when it still was working, it was no linger possible to move the tokens to coin side to add to liquidity or transfer anywhere. Actually as stated in issue 235, I try to redcover all from scratch. unfortunately fully stuck at syncing. Nothing is moving... 0% since hours.

What can help to increase the syncing process speed is to disable your Anti-Virus or add an exception to your Firewall. This prevents the defid.exe (Windows) process from being scanned. This increased my syncing speed from 3 hours+ to 20-30 min.

What can help to increase the syncing process speed is to disable your Anti-Virus or add an exception to your Firewall. This prevents the defid.exe (Windows) process from being scanned. This increased my syncing speed from 3 hours+ to 20-30 min.

After 8.5 hours it is now synced. As the balance showed only 0.0005 DFI but no tokens and getbalances as well as listaccounts also showed virtually nothing. I found you can reload UTXO in the new Wallet 2.1.6 I started this now and it is already running for 9 hours day.  What exactly does it do? Rescan the whole blockchain and try if it fits with your private 24 keywords (private key)? Please help how to recover the wallet if you only have the 24 key words. I am lacking several thausand USD.

After 8.5 hours it is now synced. As the balance showed only 0.0005 DFI but no tokens and getbalances as well as listaccounts also showed virtually nothing. I found you can reload UTXO in the new Wallet 2.1.6 I started this now and it is already running for 9 hours day.  What exactly does it do? Rescan the whole blockchain and try if it fits with your private 24 keywords (private key)? Please help how to recover the wallet if you only have the 24 key words. I am lacking several thausand USD.

Do you know the address on which your coins are on?
If so, type getaddressinfo <your-address> in the CLI for each of your addresses and check if it says "ismine": false or "ismine": true.

If it says true, you still do have access to the coins on that address, and it just doesn't display your funds correctly in the app
If it says false, you do not have the private key to the address anymore, thus you are not able to access funds on that address

It is not 100% clear yet if you are able to restore all private keys in the wallet.dat file with your 24 word seed.
Your 24 word seed is pretty much just one large private key, from which you are able to generate lots of child private keys (millions). For more info google Bitcoin HD-Wallet (BIP-32).
24 words -> extended private key -> lots of child private keys -> public key -> address (legacy or standard format, see DeFi wiki)
To me it seems like that not all private keys (addresses used) are generated via the extended private key.
Private keys which are not generated via the extended private key (24 words) are only stored locally in the wallet.dat file.
That's why that file currently more important than the 24 words.
With the extended private key you are able to restore some private keys (access to addresses).
What the wallet restore progress does is, it generated ~2000 private keys + address (m/0'/0'/0' to m/0'/0'/999' and
m/0'/1'/0' to m/0'/1'/999') from your extended private key (24 words), and stores them in your wallet.dat file. The wallet should then use only address from those that have been generated via the ext. priv. key.
It currently seems like  that some addresses used by the app are not part of the 2000 generated ones from the ext. priv. key.
That means, once you lose the wallet.dat file you won't be able to restore the private keys for those addresses again.
I have no proof that my claim is true! I'm still testing and trying to replicate the problem

Do you know the address on which your coins are on?
If so, type getaddressinfo <your-address> in the CLI for each of your addresses and check if it says "ismine": false or "ismine": true.

If it says true, you still do have access to the coins on that address, and it just doesn't display your funds correctly in the app
If it says false, you do not have the private key to the address anymore, thus you are not able to access funds on that address

It is not 100% clear yet if you are able to restore all private keys in the wallet.dat file with your 24 word seed.
Your 24 word seed is pretty much just one large private key, from which you are able to generate lots of child private keys (millions). For more info google Bitcoin HD-Wallet (BIP-32).
24 words -> extended private key -> lots of child private keys -> public key -> address (legacy or standard format, see DeFi wiki)
To me it seems like that not all private keys (addresses used) are generated via the extended private key.
Private keys which are not generated via the extended private key (24 words) are only stored locally in the wallet.dat file.
That's why that file currently more important than the 24 words.
With the extended private key you are able to restore some private keys (access to addresses).
What the wallet restore progress does is, it generated ~2000 private keys + address (m/0'/0'/0' to m/0'/0'/999' and
m/0'/1'/0' to m/0'/1'/999') from your extended private key (24 words), and stores them in your wallet.dat file. The wallet should then use only address from those that have been generated via the ext. priv. key.
It currently seems like  that some addresses used by the app are not part of the 2000 generated ones from the ext. priv. key.
That means, once you lose the wallet.dat file you won't be able to restore the private keys for those addresses again.
I have no proof that my claim is true! I'm still testing and trying to replicate the problem

This explanation sounds like a nihhtmare but give some hope as I should have an old wallet.dat
But actually before to try to just replace the wallet.dat with an old one, I would like to wait for UTXO reload. It is still processing something since more than 12 hour...
What does this UTXO actually do. My hope it crosscheck all transactions of all blocks if my mnemonic key fits????
In that way would be able to recover the wallet in full?
Sorry this is totally nuts to tell it is needed to safe the 24 words and indeed you need to safe much more.
So for future purpose would the backup file be sufficient or is the .dat file needed?
I mean I still struggle to recover a lot of coins.

This explanation sounds like a nihhtmare but give some hope as I should have an old wallet.dat
But actually before to try to just replace the wallet.dat with an old one, I would like to wait for UTXO reload. It is still processing something since more than 12 hour...
What does this UTXO actually do. My hope it crosscheck all transactions of all blocks if my mnemonic key fits????
In that way would be able to recover the wallet in full?
Sorry this is totally nuts to tell it is needed to safe the 24 words and indeed you need to safe much more.
So for future purpose would the backup file be sufficient or is the .dat file needed?
I mean I still struggle to recover a lot of coins.

I can't answer all your questions, but UTXO rescans/rebuilds the blockchain and searches for any transactions that contain addresses you own, so it can show you your full balance (Is this correct?).
As @izzycsy mentioned, it's good practice to backup the seed  + the do backup wallet as there could always be bugs in the code

Well, backup wallet is not a requirement, but sometimes you'll never know what kind of bugs might happen, so I feel it's sort of a safety net to do backups every now and then. Personally, I do so before I updating the app (eg. to v2.1.5).

The 24 words should be enough to backup, if the wallet works correctly.
@salomonkarsten
I still recommend to do the getaddressinfo <your-address> "is mine": true/false check. This can always be done, even with a not fully synced blockchain. If it says true for all addresses, just wait until it's fully synced and check with listaccounts {} true true true and gettokenbalances {} true true and getbalance your token/coin balances.

I can't answer all your questions, but UTXO rescans/rebuilds the blockchain and searches for any transactions that contain addresses you own, so it can show you your full balance (Is this correct?).
As @izzycsy mentioned, it's good practice to backup the seed  + the do backup wallet as there could always be bugs in the code

Well, backup wallet is not a requirement, but sometimes you'll never know what kind of bugs might happen, so I feel it's sort of a safety net to do backups every now and then. Personally, I do so before I updating the app (eg. to v2.1.5).

The 24 words should be enough to backup, if the wallet works correctly.
@salomonkarsten
I still recommend to do the getaddressinfo <your-address> "is mine": true/false check. This can always be done, even with a not fully synced blockchain. If it says true for all addresses, just wait until it's fully synced and check with listaccounts {} true true true and gettokenbalances {} true true and getbalance your token/coin balances.

@guiphil update, The scan indeed found all my adresses also in one of the 2 computers, where i try to recover the chain, i stopped the scan before finish by restarting the app. Now all tokens show up. The public addresses originally created are no longer visible. Now I face the issue, i cannot transfer token to DFI anymore. The Address stated has enough funds and is stated as "is mine": true on the command you asked for. Please advice why accounttoutxos cannot be used anymore to shift token to coins.

@guiphil update, The scan indeed found all my adresses also in one of the 2 computers, where i try to recover the chain, i stopped the scan before finish by restarting the app. Now all tokens show up. The public addresses originally created are no longer visible. Now I face the issue, i cannot transfer token to DFI anymore. The Address stated has enough funds and is stated as "is mine": true on the command you asked for. Please advice why accounttoutxos cannot be used anymore to shift token to coins.

Attached the label, that the new address was generated without seed passphrase... To add before and after generation of a new address the accounttoutxos command does not work due to "insufficient funds" also at the adddress stated should be enough funds.

Attached the label, that the new address was generated without seed passphrase... To add before and after generation of a new address the accounttoutxos command does not work due to "insufficient funds" also at the adddress stated should be enough funds.

Your issue might be related to issue "Can't transfer BTC from defi-app on defichain"#195
I recommend to remove the screenshot showing your funds.

Your issue might be related to issue "Can't transfer BTC from defi-app on defichain"#195
I recommend to remove the screenshot showing your funds.

@guiphil Just to get some more evidence here, the working hypothesis is that the rescan progress just found you the address, but the private key was already restored by the seed. Thus the warning only means that you have to store the address too.
Or did you restore the old wallet.dat, and by doing so also restored the private key and the scan progress only added the address?
Because in my case I added the address manually, and balances where not showing up still. Only I imported the seed into an older version I was able to restore my balance.
Additional things that are still in question here:

Why does the "not saved by seed phrase" warning does disappear after a while
When and why does that warning appear at all? is it true that there are private keys unrestorable from seed

@guiphil Just to get some more evidence here, the working hypothesis is that the rescan progress just found you the address, but the private key was already restored by the seed. Thus the warning only means that you have to store the address too.
Or did you restore the old wallet.dat, and by doing so also restored the private key and the scan progress only added the address?
Because in my case I added the address manually, and balances where not showing up still. Only I imported the seed into an older version I was able to restore my balance.
Additional things that are still in question here:

Why does the "not saved by seed phrase" warning does disappear after a while
When and why does that warning appear at all? is it true that there are private keys unrestorable from seed

@guiphil thanks for the reminder to not show balances. I erased the topic. The topic you state is not the same, as i do not want to move to another wallet, but stay in the same one. On top on both getbalance as well getbalances there are no sufficient funds but on the token side there are.  Further thanks for explaining why the old public addresses are no longer listed. Also it would be easy after an 12 hour search of the blockchain to also extract the public keys when a wallet is restored. Actually i am still stuck to move any funds. either to the Liquidity or to an external wallet. All worked soper smooth before the blockchain got corrupted.

@guiphil thanks for the reminder to not show balances. I erased the topic. The topic you state is not the same, as i do not want to move to another wallet, but stay in the same one. On top on both getbalance as well getbalances there are no sufficient funds but on the token side there are.  Further thanks for explaining why the old public addresses are no longer listed. Also it would be easy after an 12 hour search of the blockchain to also extract the public keys when a wallet is restored. Actually i am still stuck to move any funds. either to the Liquidity or to an external wallet. All worked soper smooth before the blockchain got corrupted.

@salomonkarsten For the latter issue maybe just fund an additional DFI from another wallet? I think under normal circumstances, the wallet should make sure you have always 1 or more DFI left

@salomonkarsten For the latter issue maybe just fund an additional DFI from another wallet? I think under normal circumstances, the wallet should make sure you have always 1 or more DFI left

If you are able to add the address manually in the DeFi app means that you do have the private key to address. The wallet prevents you from adding address which you do not have to private key to.

If you are able to add the address manually in the DeFi app means that you do have the private key to address. The wallet prevents you from adding address which you do not have to private key to.

If you are able to add the address manually in the DeFi app means that you do have the private key to address. The wallet prevents you from adding address which you do not have to private key to.

This confuses me even more, because as I described when I restored from seed all my balances showed up again but I was not able to add the address. Then after the blockchain had to be resynced I did the same during the synchronizing I could add my addresses back and everything worked fine.
Maybe there are other strange bugs in play here which makes every observation kind of fuzzy, but I am pretty certain that what I described is true.

If you are able to add the address manually in the DeFi app means that you do have the private key to address. The wallet prevents you from adding address which you do not have to private key to.

This confuses me even more, because as I described when I restored from seed all my balances showed up again but I was not able to add the address. Then after the blockchain had to be resynced I did the same during the synchronizing I could add my addresses back and everything worked fine.
Maybe there are other strange bugs in play here which makes every observation kind of fuzzy, but I am pretty certain that what I described is true.

@nappy Thanks add 1 DFI from external helped to move from token to coins. I agree with you it is very confusing. On top if you do a full scan of the chain, it should be easy to also recover all new addresses. On top Now I only see transactions that i put in liquidity in the history of the wallet itself, Swaps are no longer listed.
For me if you do a full scan after syncing the blockchain, it should be easy to also save all transactions (they are listed) and also to recover all your addresses used. Fully linked. Now it is not clear as you stated, if in case one needs to recover again just from mnemoric key after a scan of UTXO one will be able to recover all funds.
After a while the new addresses generated (for me these are public adresses and I do not understand, how and where a second layer of private keys comes into play) are no longer tagged as not generaed from seed. Might it be the case as soon as an mercke tree is stored on the BTC chain, they are connected properly?
For me also a book with 7 signs hihihi

@nappy Thanks add 1 DFI from external helped to move from token to coins. I agree with you it is very confusing. On top if you do a full scan of the chain, it should be easy to also recover all new addresses. On top Now I only see transactions that i put in liquidity in the history of the wallet itself, Swaps are no longer listed.
For me if you do a full scan after syncing the blockchain, it should be easy to also save all transactions (they are listed) and also to recover all your addresses used. Fully linked. Now it is not clear as you stated, if in case one needs to recover again just from mnemoric key after a scan of UTXO one will be able to recover all funds.
After a while the new addresses generated (for me these are public adresses and I do not understand, how and where a second layer of private keys comes into play) are no longer tagged as not generaed from seed. Might it be the case as soon as an mercke tree is stored on the BTC chain, they are connected properly?
For me also a book with 7 signs hihihi

This is what I still get for my address. This pretty much just means "is mine": false for this address.

This is what I still get for my address. This pretty much just means "is mine": false for this address.

For ne resync after plan reinstall (Meiningen also erase manual the blockchain as this is still presents in %appdata% folder after uninstall.
And subsequent rescan UTXO I was able to add exusting addresses.
But unfortunately I did not save the old ones used before...
Be aware it took 2 days to sync and Scanner UTXOs

For ne resync after plan reinstall (Meiningen also erase manual the blockchain as this is still presents in %appdata% folder after uninstall.
And subsequent rescan UTXO I was able to add exusting addresses.
But unfortunately I did not save the old ones used before...
Be aware it took 2 days to sync and Scanner UTXOs

For me resync after plain reinstall (Means also erase manual the blockchain as this is still presents in %appdata% folder after uninstall).
Then subsequent rescan UTXO I was able to add previously known addresses.
But unfortunately I did not save all the old ones used before...
Be aware it took 2 days to sync and Scan UTXOs ( where I cancelled the latter scan after waiting very long)
On top I had to move 1 DFI coin on a new generated address to be able to use the wallet again.

For me resync after plain reinstall (Means also erase manual the blockchain as this is still presents in %appdata% folder after uninstall).
Then subsequent rescan UTXO I was able to add previously known addresses.
But unfortunately I did not save all the old ones used before...
Be aware it took 2 days to sync and Scan UTXOs ( where I cancelled the latter scan after waiting very long)
On top I had to move 1 DFI coin on a new generated address to be able to use the wallet again.

Hi @guiphil @salomonkarsten @nappy , update v2.1.7 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, may reopen this issue with new information (include screenshots) and your app logs. Thank you for your patience on this!

Hi @guiphil @salomonkarsten @nappy , update v2.1.7 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, may reopen this issue with new information (include screenshots) and your app logs. Thank you for your patience on this!


Device registration should be allowed only for client authenticated as user, admin or key roles

At the moment device could register itself without authorization, we are going to require authentication by key to process self-registration process, or this could be done via UI and authentication as user or admin with specific permission set.

merged into development, closing defect

merged into development, closing defect


New refgenconf requires python 3.8

refgenconf/recipe.py:3: in <module>
    from functools import cached_property
E   ImportError: cannot import name 'cached_property' from 'functools' (/opt/hostedtoolcache/Python/3.7.14/x64/lib/python3.7/functools.py)

https://github.com/refgenie/refgenconf/blob/3f2ea03840b4e17b14dd57f0ae56109f40edf65f/refgenconf/recipe.py#L3
@stolarczyk Were you intending to make refgenconf depend on Python 3.8?
Or do you think of this as an optional thing that we should take out until 3.7 is deprecated?

hmmm.. I don't remember what my intention was. But what you can do is:

drop py3.7 support
remove cached_property decorators to keep py3.7 support
use @property with in conjunction with @functools.lru_cache to keep py3.7 support

Since memoization is "nice to have" feature I'd likely go for 2. option


Docker update trt onnx

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.06%. Comparing base (0a80dff) to head (7eac4f7).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (0a80dff) and HEAD (7eac4f7). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (0a80dff)
HEAD (7eac4f7)

2
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #432      +/-   ##
==========================================
- Coverage   79.27%   73.06%   -6.21%
==========================================
  Files          41       41
  Lines        3242     3245       +3
==========================================
- Hits         2570     2371     -199
- Misses        672      874     +202

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Making it available for SQS

Making Existing functionality available for SQS

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Admin LTE Laravel config:clear not working

hi. me to have the problem with new adminLTE v3. config:clear don't work . i should run php artisan adminlte:install --only=config in order to take effect. what did i miss.?

Hi @konoha-lab

have the problem with new adminLTE v3

Could you provide more details of your problem? Actually config:clear is used to remove the Laravel cache file generated by config:cache, if you don't have a cached file, then Laravel framework will search into the config/ folder in order to get configuration values.
On the other hand the adminlte:install --only=config command, will install/update with the latest configuration file provided with this package, this means that if you have changed some values, after executing this command and confirm the overwrite warning, you will get the default package config installed on config/adminlte.php file.
Now, having this clear, what is the problem you are facing?

hi @Shidersz ,
Thank for your response, actually i have change adminlte config to change menu on admin LTE. i always using Config:Clear, Cache:Clear when the menu hasn't been changed, to apply with my change. and it works fine when i use the previous version.
but after i using latest AdminLTE V3. i dont know using Config:Clear, Cache:Clear did not take effect. i still face cache menu. not my latest change.
i should type adminlte:install --only=config to make it work.

There was a similar issue some time ago, take a look to ISSUE #601. The issue was related to some conflicting packages, but the user did not explain what packages, maybe you can ask there what packages was generating the conflict. If that do not help, I will give a better review to the problem.

ok thanks, i will take a look to isse #601 .


No Size property on customized SharePoint form

Not sure if this works differently for SharePoint forms customized in PowerApps, but I am looking to make a form responsive to different sized devices and don't see the Size property on the form screen.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 73233c3d-8bfe-eadc-5b8a-264742ec7045
Version Independent ID: a34dc40d-9d6e-33b2-7e61-0c46a71d3608
Content: Create responsive layouts in canvas apps - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/create-responsive-layout.md
Service: powerapps
GitHub Login: @emcoope-msft
Microsoft Alias: emcoope

Is it not planned to make SharePoint Forms Canvas Apps Responsive. There are no Screen-Properties für SharePoint Canvas Apps?

Thank you for reaching out. Scale to fit and Size property are not yet available for SharePoint forms using canvas app. For future updates, refer to What's new in Power Apps that includes weekly releases and release notes. You can also submit and vote for feature ideas at Power Apps Ideas.


service: use default.target on Linux

[x] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Should fix https://github.com/Homebrew/homebrew-services/issues/508

Review period will end on 2022-09-22 at 13:21:19 UTC.

Review period ended.

I allowed myself to fix the tests to get this PR merged faster as the issue just hit me.

Tested locally, works alright but needs to first stop the service, reinstall a formula and start the service back up.

Those test failures seem to be unrelated?

I can confirm that this works perfectly fine for me, great job! :pinata:


Unknown props message appears in log on 0.5.1

Hello,
After upgrade to 0.5.1 i realised that react prints this error in log:
Warning: Unknown props autoOpen, loadNodes, noDataText, onSelectNode, rowRenderer, selectable, shouldSelectNode on  tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
in div (created by _class2)
in _class2 (created by TreeComponent)
in TreeComponent (created by EntityTreeComponent)
in EntityTreeComponent (created by EntityPanelComponent)
in div (created by EntityPanelComponent)
in EntityPanelComponent (created by Connect(EntityPanelComponent))
in Connect(EntityPanelComponent) (created by ExplorerLayout)
in section (created by ExplorerLayout)
in div (created by Pane)
in Pane (created by SplitPane)
in div (created by SplitPane)
.....
Functionality works, but error is annoying.
This is how i define my tree:
import InfiniteTree from 'react-infinite-tree';

....
<InfiniteTree
                autoOpen={this.props.autoOpen}
                className={this.props.className}
                loadNodes={this.loadNodes}
                noDataText={this.props.noDataText}
                onDoubleClick={this.handleDoubleClick}
                onSelectNode={this.props.onNodeSelected}
                ref={this.assignTree}
                rowRenderer={this.rowRenderer}
                selectable={true}
                shouldSelectNode={this.isNodeSelected}
            />

So definition looks similar to one in examples. Is it a bug or i'm doing something wrong?

Ooops. That's my fault. I shouldn't pass all props to the container div, only "className" and "style" are necessary for the container. Thank you for reporting this issue, I will fix it soon.
render() {
    return (
        <div {...this.props} />
    );
}

Fixed in v0.5.2


Question about new release

Is Proxy being always turned on? I notice it was added as a requirement.  We can't use proxies here at work, if so I will have to make sure I don't update anymore.


Failed Monzo Transactions

Today I accidentally tried to pay for something with my Monzo card, but didn't have enough balance, so caused a failed transaction, as expected.
It did however still fire a webhook, hit my Heroku box, create an entry in YNAB, and mark it as cleared.
I'll try and re-simulate one with more logging, although it may just be that I'm on an outdated copy of this repo as I haven't re-deployed for a few weeks.

to be honest one of the best things you can do is capture the webhook using https://requestb.in.
This way we can see what the call looks like.
Maybe we need an enhanced logging mode the spits out the data received from the webhook call as is?

This seems like an issue on Monzo's end. They should not be firing transaction.created webhooks for failed transactions.

If this isn't temporary we can filter these transactions out via the property "include_in_spending" Managed to find one in my logs, but I can't tell if it got transaction.created. Possibly worth adding this filter anyway...


Update Composer dependencies (2020-07-01-00-11)

Visual regression test passed!
View the visual regression test report


Fix generic typo

This was an error found by my IDE

Actually, this is probably a false negative on my IDE's part, lol...

Yeah, probably.


Image图片——大图预览功能的关闭button颜色过黑不易察觉，建议改成白色

[<!--](url

)
重要: 请使用以下链接创建新 issue
https://elementui.github.io/issue-generator
未通过以上链接创建的 issue 会被机器人直接关闭。
########
IMPORTANT: Please use the following link to create a new issue:
https://elementui.github.io/issue-generator
If your issue was not created using the app above, it will be closed immediately.
-->

Duplicate of #19330

Duplicate of #19330

Already fixed in version 2.15.0

Already fixed in version 2.15.0