good morning!!!!

Skip to content
Snippets Groups Projects
  1. Mar 18, 2020
    • Gary Rong's avatar
      core/rawdb: improve table database (#20703) · 6283391c
      Gary Rong authored
      This PR fixes issues in TableDatabase.
      
      TableDatabase is a wrapper of underlying ethdb.Database with an additional prefix.
      The prefix is applied to all entries it maintains. However when we try to retrieve entries
      from it we don't handle the key properly. In theory the prefix should be truncated and
      only user key is returned. But we don't do it in some cases, e.g. the iterator and batch
      replayer created from it. So this PR is the fix to these issues.
      6283391c
    • Alex Willmer's avatar
      go.mod: update duktape to fix sprintf warnings (#20777) · 5dd0cd12
      Alex Willmer authored
      This revision of go-duktype fixes the following warning
      
      ```
      duk_logging.c: In function ‘duk__logger_prototype_log_shared’:
      duk_logging.c:184:64: warning: ‘Z’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
        184 |  sprintf((char *) date_buf, "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ",
            |                                                                ^
      In file included from /usr/include/stdio.h:867,
                       from duk_logging.c:5:
      /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 25 and 85 bytes into a destination of size 32
         36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         37 |       __bos (__s), __fmt, __va_arg_pack ());
            |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ```
      5dd0cd12
    • Gary Rong's avatar
      efd92d81
  2. Mar 16, 2020
  3. Mar 14, 2020
  4. Mar 13, 2020
  5. Mar 12, 2020
  6. Mar 10, 2020
  7. Mar 02, 2020
  8. Feb 28, 2020
  9. Feb 27, 2020
  10. Feb 26, 2020
  11. Feb 25, 2020
  12. Feb 24, 2020
  13. Feb 21, 2020
  14. Feb 20, 2020
  15. Feb 18, 2020
  16. Feb 17, 2020
Loading